#2E87B6#2E87B6
#2E87B6 is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.2% C 0.109 H 236.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2E87B6 |
|---|---|
| RGB | rgb(46, 135, 182) |
| HSL | hsl(201, 60%, 45%) |
| HSV | hsv(201, 75%, 71%) |
| CMYK | cmyk(74.7%, 25.8%, 0%, 28.6%) |
| CIE-LAB | lab(53.26, -10.18, -32.16) |
| CIE-LCH | lch(53.26, 33.73, 252.44°) |
| OKLab | oklab(59.24% -0.0606 -0.0907) |
| OKLCH | oklch(59.24% 0.109 236.3) |
| XYZ | xyz(18.2308, 21.2841, 47.3943) |
| Luminance | 0.2129 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Water Blue
#0E87CC
ΔE00 3.90
Steel Blue
#4682B4
ΔE00 4.31
Cool Blue
#4984B8
ΔE00 4.66
Cerulean (survey)
#0485D1
ΔE00 4.92
Nice Blue
#107AB0
ΔE00 5.14
Cerulean
#007BA7
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E87B6 #B65D2E
analogous
#2EB6A1 #2E87B6 #2E43B6
triadic
#2E87B6 #B62E87 #87B62E
tetradic
#2E87B6 #A12EB6 #B65D2E #43B62E
square
#2E87B6 #A12EB6 #B65D2E #43B62E
split-complementary
#2E87B6 #B62E43 #B6A12E
monochromatic
#153F54 #226385 #2E87B6 #4FA5D2 #80BEDF
Accessibility & contrast
On white
3.99
#2E87B6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#2E87B6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2E87B6
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E87B6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2E87B6 | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7086B8
Deuteranopia (green-blind)
#5E79B5
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #2e87b6; /* rgb */ color: rgb(46, 135, 182); /* oklch */ color: oklch(59.2% 0.109 236.3);
Tailwind
colors: {
custom: {
50: '#7aa9cc',
500: '#2e87b6',
950: '#000000',
},
}SCSS
$custom: #2e87b6; $custom-light: #7aa9cc; $custom-dark: #000000;
JSON
{
"hex": "#2e87b6",
"rgb": {
"r": 46,
"g": 135,
"b": 182
},
"hsl": {
"h": 200.735,
"s": 59.649,
"l": 44.706
},
"oklch": {
"l": 0.59236,
"c": 0.10906,
"h": 236.3
},
"luminance": 0.21286
}Semantic roles & 50–950 ramp
primary
#2E87B6
secondary
#C89478
accent
#7C45E3
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82