#2A283A#2A283A
#2A283A is a dark, muted blue. Relative luminance 0.023; OKLCH L 28.7% C 0.033 H 289.3°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2A283A |
|---|---|
| RGB | rgb(42, 40, 58) |
| HSL | hsl(247, 18%, 19%) |
| HSV | hsv(247, 31%, 23%) |
| CMYK | cmyk(27.6%, 31%, 0%, 77.3%) |
| CIE-LAB | lab(17.06, 5.74, -11.20) |
| CIE-LCH | lch(17.06, 12.59, 297.11°) |
| OKLab | oklab(28.72% 0.0108 -0.0309) |
| OKLCH | oklch(28.72% 0.033 289.3) |
| XYZ | xyz(2.4772, 2.3153, 4.3185) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 7.45
Navy Blue
#1B2A4A
ΔE00 7.47
Navy (survey)
#01153E
ΔE00 11.42
Dark Grey
#363737
ΔE00 11.75
Onyx
#353839
ΔE00 11.92
Gunmetal
#2A3439
ΔE00 12.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A283A #383A28
analogous
#282F3A #2A283A #33283A
triadic
#2A283A #3A2A28 #283A2A
tetradic
#2A283A #3A282F #383A28 #283A33
square
#2A283A #3A282F #383A28 #283A33
split-complementary
#2A283A #3A3328 #2F3A28
monochromatic
#0D0C12 #100F16 #2A283A #44415E #5E5A82
Accessibility & contrast
On white
14.35
#2A283A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#2A283A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A283A
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A283A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A283A | 1.00 | 14.35 | 1.46 | 14.35 |
| #FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232A3B
Deuteranopia (green-blind)
#232A3A
Tritanopia (blue-blind)
#272B2E
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #2a283a; /* rgb */ color: rgb(42, 40, 58); /* oklch */ color: oklch(28.7% 0.033 289.3);
Tailwind
colors: {
custom: {
50: '#646170',
500: '#2a283a',
950: '#000000',
},
}SCSS
$custom: #2a283a; $custom-light: #646170; $custom-dark: #000000;
JSON
{
"hex": "#2a283a",
"rgb": {
"r": 42,
"g": 40,
"b": 58
},
"hsl": {
"h": 246.667,
"s": 18.367,
"l": 19.216
},
"oklch": {
"l": 0.28719,
"c": 0.0327,
"h": 289.3
},
"luminance": 0.02315
}Semantic roles & 50–950 ramp
primary
#2A283A
secondary
#686B53
accent
#BB6DB2
background
#F5F5F6
surface
#EAE9EC
border
#C6C5C7
text
#050507
muted
#79797A