#2D283F#2D283F
#2D283F is a dark, muted violet. Relative luminance 0.024; OKLCH L 29.3% C 0.042 H 293.6°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2D283F |
|---|---|
| RGB | rgb(45, 40, 63) |
| HSL | hsl(253, 22%, 20%) |
| HSV | hsv(253, 37%, 25%) |
| CMYK | cmyk(28.6%, 36.5%, 0%, 75.3%) |
| CIE-LAB | lab(17.62, 8.37, -13.79) |
| CIE-LCH | lch(17.62, 16.13, 301.25°) |
| OKLab | oklab(29.31% 0.0167 -0.0382) |
| OKLCH | oklch(29.31% 0.042 293.6) |
| XYZ | xyz(2.7380, 2.4343, 5.0273) |
| Luminance | 0.0243 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 7.62
Dark
#1B2431
ΔE00 9.94
Navy (survey)
#01153E
ΔE00 10.62
Midnight
#03012D
ΔE00 11.85
Dark Navy Blue
#00022E
ΔE00 12.06
Navy Blue (survey)
#001146
ΔE00 12.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D283F #3A3F28
analogous
#282F3F #2D283F #38283F
triadic
#2D283F #3F2D28 #283F2D
tetradic
#2D283F #3F282F #3A3F28 #283F38
square
#2D283F #3F282F #3A3F28 #283F38
split-complementary
#2D283F #3F3828 #2F3F28
monochromatic
#0D0C13 #12101A #2D283F #484064 #62588A
Accessibility & contrast
On white
14.12
#2D283F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#2D283F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D283F
14.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D283F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D283F | 1.00 | 14.12 | 1.49 | 14.12 |
| #FFFFFF | 14.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#222B40
Deuteranopia (green-blind)
#232B3E
Tritanopia (blue-blind)
#292C30
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #2d283f; /* rgb */ color: rgb(45, 40, 63); /* oklch */ color: oklch(29.3% 0.042 293.6);
Tailwind
colors: {
custom: {
50: '#666174',
500: '#2d283f',
950: '#000000',
},
}SCSS
$custom: #2d283f; $custom-light: #666174; $custom-dark: #000000;
JSON
{
"hex": "#2d283f",
"rgb": {
"r": 45,
"g": 40,
"b": 63
},
"hsl": {
"h": 253.043,
"s": 22.33,
"l": 20.196
},
"oklch": {
"l": 0.29306,
"c": 0.04168,
"h": 293.6
},
"luminance": 0.02434
}Semantic roles & 50–950 ramp
primary
#2D283F
secondary
#6A7152
accent
#BF69AC
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060508
muted
#7A797B