#2F293C#2F293C
#2F293C is a dark, muted violet. Relative luminance 0.025; OKLCH L 29.6% C 0.035 H 298.8°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F293C |
|---|---|
| RGB | rgb(47, 41, 60) |
| HSL | hsl(259, 19%, 20%) |
| HSV | hsv(259, 32%, 24%) |
| CMYK | cmyk(21.7%, 31.7%, 0%, 76.5%) |
| CIE-LAB | lab(17.99, 7.55, -11.12) |
| CIE-LCH | lch(17.99, 13.44, 304.17°) |
| OKLab | oklab(29.6% 0.0168 -0.0305) |
| OKLCH | oklch(29.6% 0.035 298.8) |
| XYZ | xyz(2.7807, 2.5164, 4.6133) |
| Luminance | 0.0252 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 8.74
Dark
#1B2431
ΔE00 9.57
Navy (survey)
#01153E
ΔE00 12.10
Dark Grey
#363737
ΔE00 12.55
Onyx
#353839
ΔE00 12.91
Midnight
#03012D
ΔE00 13.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F293C #363C29
analogous
#292D3C #2F293C #39293C
triadic
#2F293C #3C2F29 #293C2F
tetradic
#2F293C #3C292D #363C29 #293C39
square
#2F293C #3C292D #363C29 #293C39
split-complementary
#2F293C #3C3929 #2D3C29
monochromatic
#0E0C12 #131018 #2F293C #4B4260 #685B85
Accessibility & contrast
On white
13.97
#2F293C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#2F293C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F293C
13.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F293C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F293C | 1.00 | 13.97 | 1.50 | 13.97 |
| #FFFFFF | 13.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252C3D
Deuteranopia (green-blind)
#262C3B
Tritanopia (blue-blind)
#2D2C30
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #2f293c; /* rgb */ color: rgb(47, 41, 60); /* oklch */ color: oklch(29.6% 0.035 298.8);
Tailwind
colors: {
custom: {
50: '#676271',
500: '#2f293c',
950: '#000000',
},
}SCSS
$custom: #2f293c; $custom-light: #676271; $custom-dark: #000000;
JSON
{
"hex": "#2f293c",
"rgb": {
"r": 47,
"g": 41,
"b": 60
},
"hsl": {
"h": 258.947,
"s": 18.812,
"l": 19.804
},
"oklch": {
"l": 0.29595,
"c": 0.03482,
"h": 298.8
},
"luminance": 0.02516
}Semantic roles & 50–950 ramp
primary
#2F293C
secondary
#656D54
accent
#BB6CA2
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060507
muted
#7A797A