#2E417E#2E417E
#2E417E is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.3% C 0.106 H 268.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2E417E |
|---|---|
| RGB | rgb(46, 65, 126) |
| HSL | hsl(226, 47%, 34%) |
| HSV | hsv(226, 63%, 49%) |
| CMYK | cmyk(63.5%, 48.4%, 0%, 50.6%) |
| CIE-LAB | lab(29.07, 13.09, -36.93) |
| CIE-LCH | lch(29.07, 39.18, 289.52°) |
| OKLab | oklab(39.33% -0.0032 -0.1055) |
| OKLCH | oklch(39.33% 0.106 268.3) |
| XYZ | xyz(6.7816, 5.8672, 20.5097) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.40
Darkish Blue
#014182
ΔE00 5.00
Twilight Blue
#0A437A
ΔE00 5.53
Marine Blue
#01386A
ΔE00 6.20
Blueberry
#464196
ΔE00 6.27
Darkslateblue
#483D8B
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E417E #7E6B2E
analogous
#2E697E #2E417E #432E7E
triadic
#2E417E #7E2E41 #417E2E
tetradic
#2E417E #7E2E69 #7E6B2E #2E7E43
square
#2E417E #7E2E69 #7E6B2E #2E7E43
split-complementary
#2E417E #7E432E #697E2E
monochromatic
#0D1324 #1E2A51 #2E417E #3E58AB #6179C5
Accessibility & contrast
On white
9.66
#2E417E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2E417E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E417E
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E417E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E417E | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234880
Deuteranopia (green-blind)
#16417D
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2e417e; /* rgb */ color: rgb(46, 65, 126); /* oklch */ color: oklch(39.3% 0.106 268.3);
Tailwind
colors: {
custom: {
50: '#6f75a4',
500: '#2e417e',
950: '#000000',
},
}SCSS
$custom: #2e417e; $custom-light: #6f75a4; $custom-dark: #000000;
JSON
{
"hex": "#2e417e",
"rgb": {
"r": 46,
"g": 65,
"b": 126
},
"hsl": {
"h": 225.75,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.3933,
"c": 0.10555,
"h": 268.3
},
"luminance": 0.05868
}Semantic roles & 50–950 ramp
primary
#2E417E
secondary
#AC995C
accent
#B752D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F