#2E4078#2E4078
#2E4078 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.7% C 0.098 H 268.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4078 |
|---|---|
| RGB | rgb(46, 64, 120) |
| HSL | hsl(225, 45%, 33%) |
| HSV | hsv(225, 62%, 47%) |
| CMYK | cmyk(61.7%, 46.7%, 0%, 52.9%) |
| CIE-LAB | lab(28.39, 11.55, -34.27) |
| CIE-LCH | lch(28.39, 36.16, 288.62°) |
| OKLab | oklab(38.68% -0.0031 -0.0977) |
| OKLCH | oklch(38.68% 0.098 268.2) |
| XYZ | xyz(6.3491, 5.6032, 18.5126) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 5.12
Darkish Blue
#014182
ΔE00 5.30
Twilight Blue
#0A437A
ΔE00 5.65
Marine Blue
#01386A
ΔE00 5.91
Marine
#042E60
ΔE00 6.89
Blueberry
#464196
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4078 #78662E
analogous
#2E6578 #2E4078 #412E78
triadic
#2E4078 #782E40 #40782E
tetradic
#2E4078 #782E65 #78662E #2E7841
square
#2E4078 #782E65 #78662E #2E7841
split-complementary
#2E4078 #78412E #65782E
monochromatic
#0C1120 #1D284C #2E4078 #3F58A4 #5F77C2
Accessibility & contrast
On white
9.90
#2E4078 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2E4078 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4078
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4078 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4078 | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26467A
Deuteranopia (green-blind)
#1C4077
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2e4078; /* rgb */ color: rgb(46, 64, 120); /* oklch */ color: oklch(38.7% 0.098 268.2);
Tailwind
colors: {
custom: {
50: '#6e749f',
500: '#2e4078',
950: '#000000',
},
}SCSS
$custom: #2e4078; $custom-light: #6e749f; $custom-dark: #000000;
JSON
{
"hex": "#2e4078",
"rgb": {
"r": 46,
"g": 64,
"b": 120
},
"hsl": {
"h": 225.405,
"s": 44.578,
"l": 32.549
},
"oklch": {
"l": 0.38679,
"c": 0.09773,
"h": 268.2
},
"luminance": 0.05604
}Semantic roles & 50–950 ramp
primary
#2E4078
secondary
#A8955A
accent
#B554D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08080E
muted
#7B7B7E