#2A2E4C#2A2E4C
#2A2E4C is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.2% C 0.054 H 277.0°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2E4C |
|---|---|
| RGB | rgb(42, 46, 76) |
| HSL | hsl(233, 29%, 23%) |
| HSV | hsv(233, 45%, 30%) |
| CMYK | cmyk(44.7%, 39.5%, 0%, 70.2%) |
| CIE-LAB | lab(19.91, 7.25, -19.10) |
| CIE-LCH | lch(19.91, 20.43, 290.78°) |
| OKLab | oklab(31.23% 0.0066 -0.0536) |
| OKLCH | oklch(31.23% 0.054 277) |
| XYZ | xyz(3.2360, 2.9679, 7.2384) |
| Luminance | 0.0297 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 3.85
Marine
#042E60
ΔE00 8.41
Navy (survey)
#01153E
ΔE00 9.05
Dark
#1B2431
ΔE00 9.49
Marine Blue
#01386A
ΔE00 10.42
Navy Blue (survey)
#001146
ΔE00 10.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2E4C #4C482A
analogous
#2A3F4C #2A2E4C #372A4C
triadic
#2A2E4C #4C2A2E #2E4C2A
tetradic
#2A2E4C #4C2A3F #4C482A #2A4C37
square
#2A2E4C #4C2A3F #4C482A #2A4C37
split-complementary
#2A2E4C #4C372A #3F4C2A
monochromatic
#0B0C14 #141625 #2A2E4C #404673 #565E9B
Accessibility & contrast
On white
13.18
#2A2E4C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#2A2E4C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2E4C
13.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2E4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2E4C | 1.00 | 13.18 | 1.59 | 13.18 |
| #FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24324D
Deuteranopia (green-blind)
#212F4B
Tritanopia (blue-blind)
#1F3439
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2a2e4c; /* rgb */ color: rgb(42, 46, 76); /* oklch */ color: oklch(31.2% 0.054 277.0);
Tailwind
colors: {
custom: {
50: '#65667e',
500: '#2a2e4c',
950: '#000000',
},
}SCSS
$custom: #2a2e4c; $custom-light: #65667e; $custom-dark: #000000;
JSON
{
"hex": "#2a2e4c",
"rgb": {
"r": 42,
"g": 46,
"b": 76
},
"hsl": {
"h": 232.941,
"s": 28.814,
"l": 23.137
},
"oklch": {
"l": 0.31231,
"c": 0.05398,
"h": 277
},
"luminance": 0.02968
}Semantic roles & 50–950 ramp
primary
#2A2E4C
secondary
#7E7954
accent
#BA63C5
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C