#2E87B5#2E87B5
#2E87B5 is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.2% C 0.108 H 235.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2E87B5 |
|---|---|
| RGB | rgb(46, 135, 181) |
| HSL | hsl(200, 59%, 45%) |
| HSV | hsv(200, 75%, 71%) |
| CMYK | cmyk(74.6%, 25.4%, 0%, 29%) |
| CIE-LAB | lab(53.21, -10.53, -31.66) |
| CIE-LCH | lch(53.21, 33.36, 251.61°) |
| OKLab | oklab(59.19% -0.0609 -0.0892) |
| OKLCH | oklch(59.19% 0.108 235.7) |
| XYZ | xyz(18.1279, 21.2429, 46.8520) |
| Luminance | 0.2124 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Water Blue
#0E87CC
ΔE00 4.19
Steel Blue
#4682B4
ΔE00 4.48
Cool Blue
#4984B8
ΔE00 4.86
Cerulean
#007BA7
ΔE00 5.13
Nice Blue
#107AB0
ΔE00 5.21
Cerulean (survey)
#0485D1
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E87B5 #B55C2E
analogous
#2EB59F #2E87B5 #2E44B5
triadic
#2E87B5 #B52E87 #87B52E
tetradic
#2E87B5 #9F2EB5 #B55C2E #44B52E
square
#2E87B5 #9F2EB5 #B55C2E #44B52E
split-complementary
#2E87B5 #B52E44 #B59F2E
monochromatic
#153E53 #226384 #2E87B5 #4EA5D2 #7FBEDE
Accessibility & contrast
On white
4.00
#2E87B5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#2E87B5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2E87B5
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E87B5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2E87B5 | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7186B7
Deuteranopia (green-blind)
#5F79B4
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #2e87b5; /* rgb */ color: rgb(46, 135, 181); /* oklch */ color: oklch(59.2% 0.108 235.7);
Tailwind
colors: {
custom: {
50: '#7aa9cb',
500: '#2e87b5',
950: '#000000',
},
}SCSS
$custom: #2e87b5; $custom-light: #7aa9cb; $custom-dark: #000000;
JSON
{
"hex": "#2e87b5",
"rgb": {
"r": 46,
"g": 135,
"b": 181
},
"hsl": {
"h": 200.444,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.59186,
"c": 0.10804,
"h": 235.7
},
"luminance": 0.21245
}Semantic roles & 50–950 ramp
primary
#2E87B5
secondary
#C79378
accent
#7B45E3
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82