#2E407E#2E407E
#2E407E is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.1% C 0.107 H 268.9°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2E407E |
|---|---|
| RGB | rgb(46, 64, 126) |
| HSL | hsl(227, 47%, 34%) |
| HSV | hsv(227, 63%, 49%) |
| CMYK | cmyk(63.5%, 49.2%, 0%, 50.6%) |
| CIE-LAB | lab(28.78, 13.77, -37.40) |
| CIE-LCH | lch(28.78, 39.86, 290.22°) |
| OKLab | oklab(39.11% -0.0021 -0.1069) |
| OKLCH | oklch(39.11% 0.107 268.9) |
| XYZ | xyz(6.7247, 5.7534, 20.4908) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.66
Darkish Blue
#014182
ΔE00 5.19
Twilight Blue
#0A437A
ΔE00 5.77
Blueberry
#464196
ΔE00 6.10
Marine Blue
#01386A
ΔE00 6.26
Darkslateblue
#483D8B
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E407E #7E6C2E
analogous
#2E687E #2E407E #442E7E
triadic
#2E407E #7E2E40 #407E2E
tetradic
#2E407E #7E2E68 #7E6C2E #2E7E44
square
#2E407E #7E2E68 #7E6C2E #2E7E44
split-complementary
#2E407E #7E442E #687E2E
monochromatic
#0D1224 #1E2951 #2E407E #3E57AB #6178C5
Accessibility & contrast
On white
9.76
#2E407E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2E407E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E407E
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E407E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E407E | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214880
Deuteranopia (green-blind)
#13407D
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2e407e; /* rgb */ color: rgb(46, 64, 126); /* oklch */ color: oklch(39.1% 0.107 268.9);
Tailwind
colors: {
custom: {
50: '#6f74a4',
500: '#2e407e',
950: '#000000',
},
}SCSS
$custom: #2e407e; $custom-light: #6f74a4; $custom-dark: #000000;
JSON
{
"hex": "#2e407e",
"rgb": {
"r": 46,
"g": 64,
"b": 126
},
"hsl": {
"h": 226.5,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.39106,
"c": 0.10692,
"h": 268.9
},
"luminance": 0.05754
}Semantic roles & 50–950 ramp
primary
#2E407E
secondary
#AC9A5C
accent
#B852D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F