#2A2E40#2A2E40
#2A2E40 is a dark, muted blue. Relative luminance 0.028; OKLCH L 30.5% C 0.033 H 274.6°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2E40 |
|---|---|
| RGB | rgb(42, 46, 64) |
| HSL | hsl(229, 21%, 21%) |
| HSV | hsv(229, 34%, 25%) |
| CMYK | cmyk(34.4%, 28.1%, 0%, 74.9%) |
| CIE-LAB | lab(19.29, 3.34, -11.91) |
| CIE-LCH | lch(19.29, 12.37, 285.66°) |
| OKLab | oklab(30.54% 0.0026 -0.0329) |
| OKLCH | oklch(30.54% 0.033 274.6) |
| XYZ | xyz(2.8570, 2.8163, 5.2426) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 5.56
Navy Blue
#1B2A4A
ΔE00 6.01
Gunmetal
#2A3439
ΔE00 9.60
Onyx
#353839
ΔE00 10.27
Dark Blue Grey
#1F3B4D
ΔE00 10.40
Dark Grey
#363737
ΔE00 10.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2E40 #403C2A
analogous
#2A3940 #2A2E40 #312A40
triadic
#2A2E40 #402A2E #2E402A
tetradic
#2A2E40 #402A39 #403C2A #2A4031
square
#2A2E40 #402A39 #403C2A #2A4031
split-complementary
#2A2E40 #40312A #39402A
monochromatic
#0C0D12 #12131B #2A2E40 #424965 #5A638A
Accessibility & contrast
On white
13.43
#2A2E40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#2A2E40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2E40
13.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2E40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2E40 | 1.00 | 13.43 | 1.56 | 13.43 |
| #FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#293041
Deuteranopia (green-blind)
#272E40
Tritanopia (blue-blind)
#243134
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2a2e40; /* rgb */ color: rgb(42, 46, 64); /* oklch */ color: oklch(30.5% 0.033 274.6);
Tailwind
colors: {
custom: {
50: '#646674',
500: '#2a2e40',
950: '#000000',
},
}SCSS
$custom: #2a2e40; $custom-light: #646674; $custom-dark: #000000;
JSON
{
"hex": "#2a2e40",
"rgb": {
"r": 42,
"g": 46,
"b": 64
},
"hsl": {
"h": 229.091,
"s": 20.755,
"l": 20.784
},
"oklch": {
"l": 0.30544,
"c": 0.03302,
"h": 274.6
},
"luminance": 0.02816
}Semantic roles & 50–950 ramp
primary
#2A2E40
secondary
#716C55
accent
#AE6ABD
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#050608
muted
#7A7A7B