#2D293B#2D293B
#2D293B is a dark, muted violet. Relative luminance 0.025; OKLCH L 29.3% C 0.033 H 294.5°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2D293B |
|---|---|
| RGB | rgb(45, 41, 59) |
| HSL | hsl(253, 18%, 20%) |
| HSV | hsv(253, 31%, 23%) |
| CMYK | cmyk(23.7%, 30.5%, 0%, 76.9%) |
| CIE-LAB | lab(17.73, 6.48, -10.84) |
| CIE-LCH | lch(17.73, 12.63, 300.88°) |
| OKLab | oklab(29.33% 0.0136 -0.0298) |
| OKLCH | oklch(29.33% 0.033 294.5) |
| XYZ | xyz(2.6644, 2.4595, 4.4712) |
| Luminance | 0.0246 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 8.20
Dark
#1B2431
ΔE00 8.45
Dark Grey
#363737
ΔE00 11.88
Navy (survey)
#01153E
ΔE00 11.98
Onyx
#353839
ΔE00 12.15
Gunmetal
#2A3439
ΔE00 12.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D293B #373B29
analogous
#292E3B #2D293B #36293B
triadic
#2D293B #3B2D29 #293B2D
tetradic
#2D293B #3B292E #373B29 #293B36
square
#2D293B #3B292E #373B29 #293B36
split-complementary
#2D293B #3B3629 #2E3B29
monochromatic
#0E0D12 #111017 #2D293B #49425F #645B83
Accessibility & contrast
On white
14.08
#2D293B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#2D293B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D293B
14.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D293B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D293B | 1.00 | 14.08 | 1.49 | 14.08 |
| #FFFFFF | 14.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252C3C
Deuteranopia (green-blind)
#252B3A
Tritanopia (blue-blind)
#2A2C2F
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #2d293b; /* rgb */ color: rgb(45, 41, 59); /* oklch */ color: oklch(29.3% 0.033 294.5);
Tailwind
colors: {
custom: {
50: '#666271',
500: '#2d293b',
950: '#000000',
},
}SCSS
$custom: #2d293b; $custom-light: #666271; $custom-dark: #000000;
JSON
{
"hex": "#2d293b",
"rgb": {
"r": 45,
"g": 41,
"b": 59
},
"hsl": {
"h": 253.333,
"s": 18,
"l": 19.608
},
"oklch": {
"l": 0.2933,
"c": 0.03273,
"h": 294.5
},
"luminance": 0.0246
}Semantic roles & 50–950 ramp
primary
#2D293B
secondary
#676C54
accent
#BB6DA9
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060507
muted
#7A797A