#2F87B0#2F87B0
#2F87B0 is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 59.0% C 0.103 H 232.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2F87B0 |
|---|---|
| RGB | rgb(47, 135, 176) |
| HSL | hsl(199, 58%, 44%) |
| HSV | hsv(199, 73%, 69%) |
| CMYK | cmyk(73.3%, 23.3%, 0%, 31%) |
| CIE-LAB | lab(53.02, -12.14, -29.09) |
| CIE-LCH | lch(53.02, 31.52, 247.35°) |
| OKLab | oklab(58.97% -0.0622 -0.0818) |
| OKLCH | oklch(58.97% 0.103 232.8) |
| XYZ | xyz(17.6696, 21.0648, 44.2006) |
| Luminance | 0.2107 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.24
Cerulean
#007BA7
ΔE00 4.89
Steel Blue
#4682B4
ΔE00 5.47
Water Blue
#0E87CC
ΔE00 5.68
Nice Blue
#107AB0
ΔE00 5.80
Cool Blue
#4984B8
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F87B0 #B0582F
analogous
#2FB098 #2F87B0 #2F46B0
triadic
#2F87B0 #B02F87 #87B02F
tetradic
#2F87B0 #982FB0 #B0582F #46B02F
square
#2F87B0 #982FB0 #B0582F #46B02F
split-complementary
#2F87B0 #B02F46 #B0982F
monochromatic
#153D4F #226280 #2F87B0 #4DA6CF #7DBEDC
Accessibility & contrast
On white
4.03
#2F87B0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#2F87B0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F87B0
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F87B0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F87B0 | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7386B2
Deuteranopia (green-blind)
#6179AF
Tritanopia (blue-blind)
#009295
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #2f87b0; /* rgb */ color: rgb(47, 135, 176); /* oklch */ color: oklch(59.0% 0.103 232.8);
Tailwind
colors: {
custom: {
50: '#79aac7',
500: '#2f87b0',
950: '#000000',
},
}SCSS
$custom: #2f87b0; $custom-light: #79aac7; $custom-dark: #000000;
JSON
{
"hex": "#2f87b0",
"rgb": {
"r": 47,
"g": 135,
"b": 176
},
"hsl": {
"h": 199.07,
"s": 57.848,
"l": 43.725
},
"oklch": {
"l": 0.58966,
"c": 0.10274,
"h": 232.8
},
"luminance": 0.21067
}Semantic roles & 50–950 ramp
primary
#2F87B0
secondary
#C58F76
accent
#7847E1
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82