#2F87B5#2F87B5
#2F87B5 is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.2% C 0.108 H 235.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2F87B5 |
|---|---|
| RGB | rgb(47, 135, 181) |
| HSL | hsl(201, 59%, 45%) |
| HSV | hsv(201, 74%, 71%) |
| CMYK | cmyk(74%, 25.4%, 0%, 29%) |
| CIE-LAB | lab(53.24, -10.40, -31.61) |
| CIE-LCH | lch(53.24, 33.28, 251.80°) |
| OKLab | oklab(59.21% -0.0604 -0.0891) |
| OKLCH | oklch(59.21% 0.108 235.9) |
| XYZ | xyz(18.1734, 21.2664, 46.8541) |
| Luminance | 0.2127 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Water Blue
#0E87CC
ΔE00 4.13
Steel Blue
#4682B4
ΔE00 4.40
Cool Blue
#4984B8
ΔE00 4.77
Cerulean (survey)
#0485D1
ΔE00 5.15
Cerulean
#007BA7
ΔE00 5.18
Nice Blue
#107AB0
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F87B5 #B55D2F
analogous
#2FB5A0 #2F87B5 #2F44B5
triadic
#2F87B5 #B52F87 #87B52F
tetradic
#2F87B5 #A02FB5 #B55D2F #44B52F
square
#2F87B5 #A02FB5 #B55D2F #44B52F
split-complementary
#2F87B5 #B52F44 #B5A02F
monochromatic
#163F54 #226384 #2F87B5 #50A5D1 #80BEDE
Accessibility & contrast
On white
4.00
#2F87B5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#2F87B5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F87B5
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F87B5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F87B5 | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7186B7
Deuteranopia (green-blind)
#5F79B4
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #2f87b5; /* rgb */ color: rgb(47, 135, 181); /* oklch */ color: oklch(59.2% 0.108 235.9);
Tailwind
colors: {
custom: {
50: '#7aa9cb',
500: '#2f87b5',
950: '#000000',
},
}SCSS
$custom: #2f87b5; $custom-light: #7aa9cb; $custom-dark: #000000;
JSON
{
"hex": "#2f87b5",
"rgb": {
"r": 47,
"g": 135,
"b": 181
},
"hsl": {
"h": 200.597,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.59213,
"c": 0.10765,
"h": 235.9
},
"luminance": 0.21268
}Semantic roles & 50–950 ramp
primary
#2F87B5
secondary
#C79479
accent
#7B46E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82