#2E417A#2E417A
#2E417A is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.099 H 267.8°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2E417A |
|---|---|
| RGB | rgb(46, 65, 122) |
| HSL | hsl(225, 45%, 33%) |
| HSV | hsv(225, 62%, 48%) |
| CMYK | cmyk(62.3%, 46.7%, 0%, 52.2%) |
| CIE-LAB | lab(28.81, 11.61, -34.84) |
| CIE-LCH | lch(28.81, 36.72, 288.42°) |
| OKLab | oklab(39.05% -0.0039 -0.0994) |
| OKLCH | oklch(39.05% 0.099 267.8) |
| XYZ | xyz(6.5287, 5.7660, 19.1775) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.70
Darkish Blue
#014182
ΔE00 5.05
Twilight Blue
#0A437A
ΔE00 5.43
Marine Blue
#01386A
ΔE00 5.96
Blueberry
#464196
ΔE00 6.79
Prussian Blue
#004577
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E417A #7A672E
analogous
#2E677A #2E417A #412E7A
triadic
#2E417A #7A2E41 #417A2E
tetradic
#2E417A #7A2E67 #7A672E #2E7A41
square
#2E417A #7A2E67 #7A672E #2E7A41
split-complementary
#2E417A #7A412E #677A2E
monochromatic
#0C1221 #1D294E #2E417A #3F59A6 #6078C3
Accessibility & contrast
On white
9.75
#2E417A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2E417A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E417A
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E417A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E417A | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27487C
Deuteranopia (green-blind)
#1B4179
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2e417a; /* rgb */ color: rgb(46, 65, 122); /* oklch */ color: oklch(39.0% 0.099 267.8);
Tailwind
colors: {
custom: {
50: '#6e75a1',
500: '#2e417a',
950: '#000000',
},
}SCSS
$custom: #2e417a; $custom-light: #6e75a1; $custom-dark: #000000;
JSON
{
"hex": "#2e417a",
"rgb": {
"r": 46,
"g": 65,
"b": 122
},
"hsl": {
"h": 225,
"s": 45.238,
"l": 32.941
},
"oklch": {
"l": 0.39046,
"c": 0.09945,
"h": 267.8
},
"luminance": 0.05767
}Semantic roles & 50–950 ramp
primary
#2E417A
secondary
#AA965A
accent
#B453D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08080F
muted
#7B7B7E