#2E7FAB#2E7FAB
#2E7FAB is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.7% C 0.103 H 236.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7FAB |
|---|---|
| RGB | rgb(46, 127, 171) |
| HSL | hsl(201, 58%, 43%) |
| HSV | hsv(201, 73%, 67%) |
| CMYK | cmyk(73.1%, 25.7%, 0%, 32.9%) |
| CIE-LAB | lab(50.33, -9.47, -30.39) |
| CIE-LCH | lch(50.33, 31.83, 252.69°) |
| OKLab | oklab(56.75% -0.0564 -0.0856) |
| OKLCH | oklch(56.75% 0.103 236.6) |
| XYZ | xyz(16.0639, 18.6980, 41.2826) |
| Luminance | 0.1870 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.76
Cerulean
#007BA7
ΔE00 2.84
Steel Blue
#4682B4
ΔE00 4.22
Stormy Blue
#507B9C
ΔE00 4.65
Cool Blue
#4984B8
ΔE00 5.07
Dirty Blue
#3F829D
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7FAB #AB5A2E
analogous
#2EAB99 #2E7FAB #2E40AB
triadic
#2E7FAB #AB2E7F #7FAB2E
tetradic
#2E7FAB #992EAB #AB5A2E #40AB2E
square
#2E7FAB #992EAB #AB5A2E #40AB2E
split-complementary
#2E7FAB #AB2E40 #AB992E
monochromatic
#14374B #215B7B #2E7FAB #489FCE #79B8DB
Accessibility & contrast
On white
4.43
#2E7FAB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#2E7FAB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2E7FAB
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7FAB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2E7FAB | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A7EAD
Deuteranopia (green-blind)
#5972AA
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2e7fab; /* rgb */ color: rgb(46, 127, 171); /* oklch */ color: oklch(56.7% 0.103 236.6);
Tailwind
colors: {
custom: {
50: '#77a4c4',
500: '#2e7fab',
950: '#000000',
},
}SCSS
$custom: #2e7fab; $custom-light: #77a4c4; $custom-dark: #000000;
JSON
{
"hex": "#2e7fab",
"rgb": {
"r": 46,
"g": 127,
"b": 171
},
"hsl": {
"h": 201.12,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.56746,
"c": 0.10256,
"h": 236.6
},
"luminance": 0.187
}Semantic roles & 50–950 ramp
primary
#2E7FAB
secondary
#C38E72
accent
#7D47E1
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81