#2A2E4E#2A2E4E
#2A2E4E is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.4% C 0.057 H 277.1°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2E4E |
|---|---|
| RGB | rgb(42, 46, 78) |
| HSL | hsl(233, 30%, 24%) |
| HSV | hsv(233, 46%, 31%) |
| CMYK | cmyk(46.2%, 41%, 0%, 69.4%) |
| CIE-LAB | lab(20.03, 7.93, -20.27) |
| CIE-LCH | lch(20.03, 21.76, 291.37°) |
| OKLab | oklab(31.36% 0.0071 -0.057) |
| OKLCH | oklch(31.36% 0.057 277.1) |
| XYZ | xyz(3.3066, 2.9961, 7.6103) |
| Luminance | 0.0300 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 3.85
Marine
#042E60
ΔE00 8.06
Navy (survey)
#01153E
ΔE00 8.82
Dark
#1B2431
ΔE00 10.02
Marine Blue
#01386A
ΔE00 10.16
Navy Blue (survey)
#001146
ΔE00 10.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2E4E #4E4A2A
analogous
#2A404E #2A2E4E #382A4E
triadic
#2A2E4E #4E2A2E #2E4E2A
tetradic
#2A2E4E #4E2A40 #4E4A2A #2A4E38
square
#2A2E4E #4E2A40 #4E4A2A #2A4E38
split-complementary
#2A2E4E #4E382A #404E2A
monochromatic
#0B0C14 #151726 #2A2E4E #3F4576 #555D9E
Accessibility & contrast
On white
13.13
#2A2E4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#2A2E4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2E4E
13.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2E4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2E4E | 1.00 | 13.13 | 1.60 | 13.13 |
| #FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23324F
Deuteranopia (green-blind)
#202F4D
Tritanopia (blue-blind)
#1F343A
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2a2e4e; /* rgb */ color: rgb(42, 46, 78); /* oklch */ color: oklch(31.4% 0.057 277.1);
Tailwind
colors: {
custom: {
50: '#65667f',
500: '#2a2e4e',
950: '#000000',
},
}SCSS
$custom: #2a2e4e; $custom-light: #65667f; $custom-dark: #000000;
JSON
{
"hex": "#2a2e4e",
"rgb": {
"r": 42,
"g": 46,
"b": 78
},
"hsl": {
"h": 233.333,
"s": 30,
"l": 23.529
},
"oklch": {
"l": 0.31355,
"c": 0.05742,
"h": 277.1
},
"luminance": 0.02996
}Semantic roles & 50–950 ramp
primary
#2A2E4E
secondary
#807B54
accent
#BB62C6
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C