#2E87B7#2E87B7
#2E87B7 is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.3% C 0.110 H 236.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2E87B7 |
|---|---|
| RGB | rgb(46, 135, 183) |
| HSL | hsl(201, 60%, 45%) |
| HSV | hsv(201, 75%, 72%) |
| CMYK | cmyk(74.9%, 26.2%, 0%, 28.2%) |
| CIE-LAB | lab(53.30, -9.82, -32.66) |
| CIE-LCH | lch(53.30, 34.11, 253.26°) |
| OKLab | oklab(59.29% -0.0602 -0.0921) |
| OKLCH | oklch(59.29% 0.11 236.8) |
| XYZ | xyz(18.3345, 21.3255, 47.9405) |
| Luminance | 0.2133 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Water Blue
#0E87CC
ΔE00 3.62
Steel Blue
#4682B4
ΔE00 4.14
Cool Blue
#4984B8
ΔE00 4.47
Cerulean (survey)
#0485D1
ΔE00 4.64
Nice Blue
#107AB0
ΔE00 5.09
Cerulean
#007BA7
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E87B7 #B75E2E
analogous
#2EB7A3 #2E87B7 #2E43B7
triadic
#2E87B7 #B72E87 #87B72E
tetradic
#2E87B7 #A32EB7 #B75E2E #43B72E
square
#2E87B7 #A32EB7 #B75E2E #43B72E
split-complementary
#2E87B7 #B72E43 #B7A32E
monochromatic
#153F55 #226386 #2E87B7 #4FA5D3 #80BEDF
Accessibility & contrast
On white
3.99
#2E87B7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#2E87B7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2E87B7
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E87B7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2E87B7 | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 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)
#5D7AB6
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #2e87b7; /* rgb */ color: rgb(46, 135, 183); /* oklch */ color: oklch(59.3% 0.110 236.8);
Tailwind
colors: {
custom: {
50: '#7aa9cc',
500: '#2e87b7',
950: '#000000',
},
}SCSS
$custom: #2e87b7; $custom-light: #7aa9cc; $custom-dark: #000000;
JSON
{
"hex": "#2e87b7",
"rgb": {
"r": 46,
"g": 135,
"b": 183
},
"hsl": {
"h": 201.022,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.59287,
"c": 0.11008,
"h": 236.8
},
"luminance": 0.21328
}Semantic roles & 50–950 ramp
primary
#2E87B7
secondary
#C89579
accent
#7C45E3
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A1013
muted
#7C7F82