#2F293B#2F293B
#2F293B is a dark, muted violet. Relative luminance 0.025; OKLCH L 29.5% C 0.033 H 299.6°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2F293B |
|---|---|
| RGB | rgb(47, 41, 59) |
| HSL | hsl(260, 18%, 20%) |
| HSV | hsv(260, 31%, 23%) |
| CMYK | cmyk(20.3%, 30.5%, 0%, 76.9%) |
| CIE-LAB | lab(17.95, 7.26, -10.49) |
| CIE-LCH | lch(17.95, 12.76, 304.69°) |
| OKLab | oklab(29.54% 0.0164 -0.0288) |
| OKLCH | oklch(29.54% 0.033 299.6) |
| XYZ | xyz(2.7545, 2.5060, 4.4754) |
| Luminance | 0.0251 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 8.95
Dark
#1B2431
ΔE00 9.38
Dark Grey
#363737
ΔE00 12.18
Navy (survey)
#01153E
ΔE00 12.39
Onyx
#353839
ΔE00 12.56
Midnight
#03012D
ΔE00 13.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F293B #353B29
analogous
#292C3B #2F293B #38293B
triadic
#2F293B #3B2F29 #293B2F
tetradic
#2F293B #3B292C #353B29 #293B38
square
#2F293B #3B292C #353B29 #293B38
split-complementary
#2F293B #3B3829 #2C3B29
monochromatic
#0E0D12 #121017 #2F293B #4C425F #695B83
Accessibility & contrast
On white
13.99
#2F293B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#2F293B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F293B
13.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F293B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F293B | 1.00 | 13.99 | 1.50 | 13.99 |
| #FFFFFF | 13.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252C3C
Deuteranopia (green-blind)
#262C3A
Tritanopia (blue-blind)
#2D2C2F
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #2f293b; /* rgb */ color: rgb(47, 41, 59); /* oklch */ color: oklch(29.5% 0.033 299.6);
Tailwind
colors: {
custom: {
50: '#676271',
500: '#2f293b',
950: '#000000',
},
}SCSS
$custom: #2f293b; $custom-light: #676271; $custom-dark: #000000;
JSON
{
"hex": "#2f293b",
"rgb": {
"r": 47,
"g": 41,
"b": 59
},
"hsl": {
"h": 260,
"s": 18,
"l": 19.608
},
"oklch": {
"l": 0.29543,
"c": 0.03311,
"h": 299.6
},
"luminance": 0.02506
}Semantic roles & 50–950 ramp
primary
#2F293B
secondary
#646C54
accent
#BB6DA1
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060507
muted
#7A797A