#2E7DC7#2E7DC7
#2E7DC7 is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 57.8% C 0.137 H 250.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7DC7 |
|---|---|
| RGB | rgb(46, 125, 199) |
| HSL | hsl(209, 62%, 48%) |
| HSV | hsv(209, 77%, 78%) |
| CMYK | cmyk(76.9%, 37.2%, 0%, 22%) |
| CIE-LAB | lab(51.12, 1.85, -45.25) |
| CIE-LCH | lch(51.12, 45.29, 272.34°) |
| OKLab | oklab(57.82% -0.0461 -0.129) |
| OKLCH | oklch(57.82% 0.137 250.3) |
| XYZ | xyz(18.7652, 19.3694, 56.7714) |
| Luminance | 0.1937 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 2.27
Bluish
#2976BB
ΔE00 2.88
Steel Blue
#4682B4
ΔE00 3.17
Cool Blue
#4984B8
ΔE00 3.39
Cerulean (survey)
#0485D1
ΔE00 3.86
Water Blue
#0E87CC
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7DC7 #C7782E
analogous
#2EC7C5 #2E7DC7 #2E30C7
triadic
#2E7DC7 #C72E7D #7DC72E
tetradic
#2E7DC7 #C52EC7 #C7782E #30C72E
square
#2E7DC7 #C52EC7 #C7782E #30C72E
split-complementary
#2E7DC7 #C72E30 #C7C52E
monochromatic
#173F64 #235E95 #2E7DC7 #599BD9 #8BB9E4
Accessibility & contrast
On white
4.31
#2E7DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#2E7DC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2E7DC7
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7DC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2E7DC7 | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A81CA
Deuteranopia (green-blind)
#4373C6
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2e7dc7; /* rgb */ color: rgb(46, 125, 199); /* oklch */ color: oklch(57.8% 0.137 250.3);
Tailwind
colors: {
custom: {
50: '#7ca2d8',
500: '#2e7dc7',
950: '#000000',
},
}SCSS
$custom: #2e7dc7; $custom-light: #7ca2d8; $custom-dark: #000000;
JSON
{
"hex": "#2e7dc7",
"rgb": {
"r": 46,
"g": 125,
"b": 199
},
"hsl": {
"h": 209.02,
"s": 62.449,
"l": 48.039
},
"oklch": {
"l": 0.57818,
"c": 0.13697,
"h": 250.3
},
"luminance": 0.19372
}Semantic roles & 50–950 ramp
primary
#2E7DC7
secondary
#CEA783
accent
#9142E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83