#2F87B3#2F87B3
#2F87B3 is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.1% C 0.106 H 234.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2F87B3 |
|---|---|
| RGB | rgb(47, 135, 179) |
| HSL | hsl(200, 58%, 44%) |
| HSV | hsv(200, 74%, 70%) |
| CMYK | cmyk(73.7%, 24.6%, 0%, 29.8%) |
| CIE-LAB | lab(53.15, -11.10, -30.61) |
| CIE-LCH | lch(53.15, 32.55, 250.07°) |
| OKLab | oklab(59.11% -0.0611 -0.0862) |
| OKLCH | oklch(59.11% 0.106 234.7) |
| XYZ | xyz(17.9697, 21.1849, 45.7811) |
| Luminance | 0.2119 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Water Blue
#0E87CC
ΔE00 4.72
Steel Blue
#4682B4
ΔE00 4.79
Dirty Blue
#3F829D
ΔE00 5.00
Cerulean
#007BA7
ΔE00 5.01
Cool Blue
#4984B8
ΔE00 5.19
Nice Blue
#107AB0
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F87B3 #B35B2F
analogous
#2FB39D #2F87B3 #2F45B3
triadic
#2F87B3 #B32F87 #87B32F
tetradic
#2F87B3 #9D2FB3 #B35B2F #45B32F
square
#2F87B3 #9D2FB3 #B35B2F #45B32F
split-complementary
#2F87B3 #B32F45 #B39D2F
monochromatic
#163E52 #226283 #2F87B3 #4FA5D1 #7FBEDD
Accessibility & contrast
On white
4.01
#2F87B3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#2F87B3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F87B3
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F87B3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F87B3 | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7286B5
Deuteranopia (green-blind)
#6079B2
Tritanopia (blue-blind)
#009396
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #2f87b3; /* rgb */ color: rgb(47, 135, 179); /* oklch */ color: oklch(59.1% 0.106 234.7);
Tailwind
colors: {
custom: {
50: '#7aa9ca',
500: '#2f87b3',
950: '#000000',
},
}SCSS
$custom: #2f87b3; $custom-light: #7aa9ca; $custom-dark: #000000;
JSON
{
"hex": "#2f87b3",
"rgb": {
"r": 47,
"g": 135,
"b": 179
},
"hsl": {
"h": 200,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.59114,
"c": 0.10565,
"h": 234.7
},
"luminance": 0.21187
}Semantic roles & 50–950 ramp
primary
#2F87B3
secondary
#C69278
accent
#7A46E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82