#2E78D5#2E78D5
#2E78D5 is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.6% C 0.160 H 256.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2E78D5 |
|---|---|
| RGB | rgb(46, 120, 213) |
| HSL | hsl(213, 67%, 51%) |
| HSV | hsv(213, 78%, 84%) |
| CMYK | cmyk(78.4%, 43.7%, 0%, 16.5%) |
| CIE-LAB | lab(50.47, 10.13, -54.25) |
| CIE-LCH | lch(50.47, 55.19, 280.58°) |
| OKLab | oklab(57.57% -0.0387 -0.1555) |
| OKLCH | oklch(57.57% 0.16 256) |
| XYZ | xyz(19.8490, 18.8155, 65.5235) |
| Luminance | 0.1882 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 2.28
Bluish
#2976BB
ΔE00 3.69
Deep Sky Blue
#0D75F8
ΔE00 3.76
Cerulean Blue
#056EEE
ΔE00 4.29
Medium Blue
#2C6FBB
ΔE00 4.37
Clear Blue
#247AFD
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E78D5 #D58B2E
analogous
#2ECCD5 #2E78D5 #372ED5
triadic
#2E78D5 #D52E78 #78D52E
tetradic
#2E78D5 #D52ECC #D58B2E #2ED537
square
#2E78D5 #D52ECC #D58B2E #2ED537
split-complementary
#2E78D5 #D5372E #CCD52E
monochromatic
#173F72 #215BA5 #2E78D5 #6199DF #94BAE9
Accessibility & contrast
On white
4.41
#2E78D5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#2E78D5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2E78D5
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E78D5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2E78D5 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4880D9
Deuteranopia (green-blind)
#2771D3
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2e78d5; /* rgb */ color: rgb(46, 120, 213); /* oklch */ color: oklch(57.6% 0.160 256.0);
Tailwind
colors: {
custom: {
50: '#7f9ee2',
500: '#2e78d5',
950: '#000000',
},
}SCSS
$custom: #2e78d5; $custom-light: #7f9ee2; $custom-dark: #000000;
JSON
{
"hex": "#2e78d5",
"rgb": {
"r": 46,
"g": 120,
"b": 213
},
"hsl": {
"h": 213.413,
"s": 66.534,
"l": 50.784
},
"oklch": {
"l": 0.57572,
"c": 0.16021,
"h": 256
},
"luminance": 0.18818
}Semantic roles & 50–950 ramp
primary
#2E78D5
secondary
#D4B48A
accent
#9E3EE9
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83