#2A283F#2A283F
#2A283F is a dark, muted blue. Relative luminance 0.024; OKLCH L 29.0% C 0.042 H 287.5°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2A283F |
|---|---|
| RGB | rgb(42, 40, 63) |
| HSL | hsl(245, 22%, 20%) |
| HSV | hsv(245, 37%, 25%) |
| CMYK | cmyk(33.3%, 36.5%, 0%, 75.3%) |
| CIE-LAB | lab(17.31, 7.27, -14.28) |
| CIE-LCH | lch(17.31, 16.03, 296.96°) |
| OKLab | oklab(29% 0.0125 -0.0397) |
| OKLCH | oklch(29% 0.042 287.5) |
| XYZ | xyz(2.6106, 2.3686, 5.0213) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 6.45
Dark
#1B2431
ΔE00 8.82
Navy (survey)
#01153E
ΔE00 9.97
Midnight
#03012D
ΔE00 11.49
Dark Navy Blue
#00022E
ΔE00 11.61
Marine
#042E60
ΔE00 11.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A283F #3D3F28
analogous
#28313F #2A283F #35283F
triadic
#2A283F #3F2A28 #283F2A
tetradic
#2A283F #3F2831 #3D3F28 #283F35
square
#2A283F #3F2831 #3D3F28 #283F35
split-complementary
#2A283F #3F3528 #313F28
monochromatic
#0C0C13 #11101A #2A283F #434064 #5C588A
Accessibility & contrast
On white
14.25
#2A283F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#2A283F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A283F
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A283F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A283F | 1.00 | 14.25 | 1.47 | 14.25 |
| #FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#222B40
Deuteranopia (green-blind)
#212A3E
Tritanopia (blue-blind)
#252C30
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #2a283f; /* rgb */ color: rgb(42, 40, 63); /* oklch */ color: oklch(29.0% 0.042 287.5);
Tailwind
colors: {
custom: {
50: '#646174',
500: '#2a283f',
950: '#000000',
},
}SCSS
$custom: #2a283f; $custom-light: #646174; $custom-dark: #000000;
JSON
{
"hex": "#2a283f",
"rgb": {
"r": 42,
"g": 40,
"b": 63
},
"hsl": {
"h": 245.217,
"s": 22.33,
"l": 20.196
},
"oklch": {
"l": 0.28997,
"c": 0.0416,
"h": 287.5
},
"luminance": 0.02369
}Semantic roles & 50–950 ramp
primary
#2A283F
secondary
#6E7152
accent
#BF69B7
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#050508
muted
#7A797B