#2E87AB#2E87AB
#2E87AB is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 58.7% C 0.099 H 229.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2E87AB |
|---|---|
| RGB | rgb(46, 135, 171) |
| HSL | hsl(197, 58%, 43%) |
| HSV | hsv(197, 73%, 67%) |
| CMYK | cmyk(73.1%, 21.1%, 0%, 32.9%) |
| CIE-LAB | lab(52.78, -14.00, -26.58) |
| CIE-LCH | lch(52.78, 30.04, 242.23°) |
| OKLab | oklab(58.7% -0.0645 -0.0746) |
| OKLCH | oklch(58.7% 0.099 229.1) |
| XYZ | xyz(17.1384, 20.8471, 41.6408) |
| Luminance | 0.2085 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 3.04
Cerulean
#007BA7
ΔE00 5.13
Teal Blue
#01889F
ΔE00 6.10
Nice Blue
#107AB0
ΔE00 6.84
Steel Blue
#4682B4
ΔE00 6.87
Stormy Blue
#507B9C
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E87AB #AB522E
analogous
#2EAB91 #2E87AB #2E48AB
triadic
#2E87AB #AB2E87 #87AB2E
tetradic
#2E87AB #912EAB #AB522E #48AB2E
square
#2E87AB #912EAB #AB522E #48AB2E
split-complementary
#2E87AB #AB2E48 #AB912E
monochromatic
#143B4B #21617B #2E87AB #48A7CE #79BFDB
Accessibility & contrast
On white
4.06
#2E87AB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#2E87AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2E87AB
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E87AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2E87AB | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7485AD
Deuteranopia (green-blind)
#6379AB
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #2e87ab; /* rgb */ color: rgb(46, 135, 171); /* oklch */ color: oklch(58.7% 0.099 229.1);
Tailwind
colors: {
custom: {
50: '#78aac4',
500: '#2e87ab',
950: '#000000',
},
}SCSS
$custom: #2e87ab; $custom-light: #78aac4; $custom-dark: #000000;
JSON
{
"hex": "#2e87ab",
"rgb": {
"r": 46,
"g": 135,
"b": 171
},
"hsl": {
"h": 197.28,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.58698,
"c": 0.09864,
"h": 229.1
},
"luminance": 0.20849
}Semantic roles & 50–950 ramp
primary
#2E87AB
secondary
#C38972
accent
#7347E1
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81