#2F87B7#2F87B7
#2F87B7 is a mid, moderate cyan. Relative luminance 0.214; OKLCH L 59.3% C 0.110 H 237.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2F87B7 |
|---|---|
| RGB | rgb(47, 135, 183) |
| HSL | hsl(201, 59%, 45%) |
| HSV | hsv(201, 74%, 72%) |
| CMYK | cmyk(74.3%, 26.2%, 0%, 28.2%) |
| CIE-LAB | lab(53.33, -9.69, -32.62) |
| CIE-LCH | lch(53.33, 34.03, 253.45°) |
| OKLab | oklab(59.31% -0.0597 -0.092) |
| OKLCH | oklch(59.31% 0.11 237) |
| XYZ | xyz(18.3801, 21.3490, 47.9426) |
| Luminance | 0.2135 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Water Blue
#0E87CC
ΔE00 3.57
Steel Blue
#4682B4
ΔE00 4.06
Cool Blue
#4984B8
ΔE00 4.38
Cerulean (survey)
#0485D1
ΔE00 4.58
Nice Blue
#107AB0
ΔE00 5.10
Off Blue
#5684AE
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F87B7 #B75F2F
analogous
#2FB7A3 #2F87B7 #2F43B7
triadic
#2F87B7 #B72F87 #87B72F
tetradic
#2F87B7 #A32FB7 #B75F2F #43B72F
square
#2F87B7 #A32FB7 #B75F2F #43B72F
split-complementary
#2F87B7 #B72F43 #B7A32F
monochromatic
#163F56 #226386 #2F87B7 #51A5D2 #82BEDF
Accessibility & contrast
On white
3.98
#2F87B7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#2F87B7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F87B7
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F87B7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F87B7 | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7087B9
Deuteranopia (green-blind)
#5E7AB6
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #2f87b7; /* rgb */ color: rgb(47, 135, 183); /* oklch */ color: oklch(59.3% 0.110 237.0);
Tailwind
colors: {
custom: {
50: '#7aa9cc',
500: '#2f87b7',
950: '#000000',
},
}SCSS
$custom: #2f87b7; $custom-light: #7aa9cc; $custom-dark: #000000;
JSON
{
"hex": "#2f87b7",
"rgb": {
"r": 47,
"g": 135,
"b": 183
},
"hsl": {
"h": 201.176,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.59314,
"c": 0.10969,
"h": 237
},
"luminance": 0.21351
}Semantic roles & 50–950 ramp
primary
#2F87B7
secondary
#C8957A
accent
#7D45E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82