#F8FAFC
Tailwind slate-50
#F8FAFC is a blue colour. In RGB it is 248 red, 250 green and 252 blue, which converts to a hue of 210 degrees, 40% saturation and 98% lightness. It is Tailwind slate-50 in that design system's palette.
Color values
| HEX | #F8FAFC |
|---|---|
| RGB | rgb(248, 250, 252) |
| HSL | hsl(210, 40%, 98%) |
| HSV | hsv(210, 2%, 99%) |
| CMYK | cmyk(2%, 1%, 0%, 1%) |
Contrast and accessibility
Against white the contrast ratio is 1.05:1, and against black it is 20.07:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
| Background | Ratio | Normal text | Large text |
|---|---|---|---|
| White | 1.05:1 | Fail | Fail |
| Black | 20.07:1 | AAA | AAA |
Tints and shades
Lighter tints move #F8FAFC toward white, and darker shades move it toward black.
Tints
Shades
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Code
| CSS | color: #F8FAFC; |
|---|---|
| CSS rgb() | color: rgb(248 250 252); |
| Tailwind | bg-[#f8fafc] |
| SwiftUI | Color(red: 0.973, green: 0.980, blue: 0.988) |
| Android | Color.parseColor("#F8FAFC") |
Closest named color
The nearest CSS colour keyword to #F8FAFC is ghostwhite (#F8F8FF).