#2F87C9#2F87C9
#2F87C9 is a mid, vivid cyan. Relative luminance 0.221; OKLCH L 60.3% C 0.130 H 245.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2F87C9 |
|---|---|
| RGB | rgb(47, 135, 201) |
| HSL | hsl(206, 62%, 49%) |
| HSV | hsv(206, 77%, 79%) |
| CMYK | cmyk(76.6%, 32.8%, 0%, 21.2%) |
| CIE-LAB | lab(54.18, -3.27, -41.54) |
| CIE-LCH | lch(54.18, 41.67, 265.50°) |
| OKLab | oklab(60.27% -0.0541 -0.1179) |
| OKLCH | oklch(60.27% 0.13 245.4) |
| XYZ | xyz(20.3748, 22.1469, 58.4480) |
| Luminance | 0.2215 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cerulean (survey)
#0485D1
ΔE00 1.46
Water Blue
#0E87CC
ΔE00 1.58
Cool Blue
#4984B8
ΔE00 2.86
Steel Blue
#4682B4
ΔE00 3.18
Off Blue
#5684AE
ΔE00 4.82
Dark Sky Blue
#448EE4
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F87C9 #C9712F
analogous
#2FC9BE #2F87C9 #2F3AC9
triadic
#2F87C9 #C92F87 #87C92F
tetradic
#2F87C9 #BE2FC9 #C9712F #3AC92F
square
#2F87C9 #BE2FC9 #C9712F #3AC92F
split-complementary
#2F87C9 #C92F3A #C9BE2F
monochromatic
#184466 #236697 #2F87C9 #5CA4D9 #8EBFE5
Accessibility & contrast
On white
3.87
#2F87C9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#2F87C9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F87C9
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F87C9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F87C9 | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6889CC
Deuteranopia (green-blind)
#537BC8
Tritanopia (blue-blind)
#00979F
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #2f87c9; /* rgb */ color: rgb(47, 135, 201); /* oklch */ color: oklch(60.3% 0.130 245.4);
Tailwind
colors: {
custom: {
50: '#7da9da',
500: '#2f87c9',
950: '#000000',
},
}SCSS
$custom: #2f87c9; $custom-light: #7da9da; $custom-dark: #000000;
JSON
{
"hex": "#2f87c9",
"rgb": {
"r": 47,
"g": 135,
"b": 201
},
"hsl": {
"h": 205.714,
"s": 62.097,
"l": 48.627
},
"oklch": {
"l": 0.6027,
"c": 0.12974,
"h": 245.4
},
"luminance": 0.22149
}Semantic roles & 50–950 ramp
primary
#2F87C9
secondary
#CFA585
accent
#8843E5
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B0F15
muted
#7C7F83