#2E407A#2E407A
#2E407A is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.101 H 268.4°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2E407A |
|---|---|
| RGB | rgb(46, 64, 122) |
| HSL | hsl(226, 45%, 33%) |
| HSV | hsv(226, 62%, 48%) |
| CMYK | cmyk(62.3%, 47.5%, 0%, 52.2%) |
| CIE-LAB | lab(28.52, 12.29, -35.32) |
| CIE-LCH | lch(28.52, 37.39, 289.18°) |
| OKLab | oklab(38.82% -0.0027 -0.1008) |
| OKLCH | oklch(38.82% 0.101 268.4) |
| XYZ | xyz(6.4718, 5.6522, 19.1585) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.95
Darkish Blue
#014182
ΔE00 5.24
Twilight Blue
#0A437A
ΔE00 5.68
Marine Blue
#01386A
ΔE00 6.01
Blueberry
#464196
ΔE00 6.63
Darkslateblue
#483D8B
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E407A #7A682E
analogous
#2E667A #2E407A #422E7A
triadic
#2E407A #7A2E40 #407A2E
tetradic
#2E407A #7A2E66 #7A682E #2E7A42
square
#2E407A #7A2E66 #7A682E #2E7A42
split-complementary
#2E407A #7A422E #667A2E
monochromatic
#0C1121 #1D294E #2E407A #3F57A6 #6077C3
Accessibility & contrast
On white
9.86
#2E407A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2E407A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E407A
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E407A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E407A | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25477C
Deuteranopia (green-blind)
#194079
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2e407a; /* rgb */ color: rgb(46, 64, 122); /* oklch */ color: oklch(38.8% 0.101 268.4);
Tailwind
colors: {
custom: {
50: '#6e74a1',
500: '#2e407a',
950: '#000000',
},
}SCSS
$custom: #2e407a; $custom-light: #6e74a1; $custom-dark: #000000;
JSON
{
"hex": "#2e407a",
"rgb": {
"r": 46,
"g": 64,
"b": 122
},
"hsl": {
"h": 225.789,
"s": 45.238,
"l": 32.941
},
"oklch": {
"l": 0.38819,
"c": 0.10081,
"h": 268.4
},
"luminance": 0.05653
}Semantic roles & 50–950 ramp
primary
#2E407A
secondary
#AA975A
accent
#B653D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08080F
muted
#7B7B7E