#2E4579#2E4579
#2E4579 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.9% C 0.093 H 264.6°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4579 |
|---|---|
| RGB | rgb(46, 69, 121) |
| HSL | hsl(222, 45%, 33%) |
| HSV | hsv(222, 62%, 47%) |
| CMYK | cmyk(62%, 43%, 0%, 52.5%) |
| CIE-LAB | lab(29.95, 8.52, -32.40) |
| CIE-LCH | lch(29.95, 33.50, 284.73°) |
| OKLab | oklab(39.9% -0.0087 -0.0921) |
| OKLCH | oklch(39.9% 0.093 264.6) |
| XYZ | xyz(6.7048, 6.2170, 18.9321) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.98
Darkish Blue
#014182
ΔE00 4.54
Twilight Blue
#0A437A
ΔE00 4.58
Marine Blue
#01386A
ΔE00 5.92
Prussian Blue
#004577
ΔE00 5.94
Dusk Blue
#26538D
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4579 #79622E
analogous
#2E6A79 #2E4579 #3C2E79
triadic
#2E4579 #792E45 #45792E
tetradic
#2E4579 #792E6A #79622E #2E793C
square
#2E4579 #792E6A #79622E #2E793C
split-complementary
#2E4579 #793C2E #6A792E
monochromatic
#0C1220 #1D2C4D #2E4579 #3F5EA5 #5F7EC2
Accessibility & contrast
On white
9.36
#2E4579 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2E4579 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4579
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4579 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4579 | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4A7B
Deuteranopia (green-blind)
#244378
Tritanopia (blue-blind)
#005159
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2e4579; /* rgb */ color: rgb(46, 69, 121); /* oklch */ color: oklch(39.9% 0.093 264.6);
Tailwind
colors: {
custom: {
50: '#6e78a0',
500: '#2e4579',
950: '#000000',
},
}SCSS
$custom: #2e4579; $custom-light: #6e78a0; $custom-dark: #000000;
JSON
{
"hex": "#2e4579",
"rgb": {
"r": 46,
"g": 69,
"b": 121
},
"hsl": {
"h": 221.6,
"s": 44.91,
"l": 32.745
},
"oklch": {
"l": 0.39901,
"c": 0.09255,
"h": 264.6
},
"luminance": 0.06218
}Semantic roles & 50–950 ramp
primary
#2E4579
secondary
#A9915A
accent
#AD53D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08080E
muted
#7B7B7E