#2F293F#2F293F
#2F293F is a dark, muted violet. Relative luminance 0.025; OKLCH L 29.8% C 0.040 H 296.4°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2F293F |
|---|---|
| RGB | rgb(47, 41, 63) |
| HSL | hsl(256, 21%, 20%) |
| HSV | hsv(256, 35%, 25%) |
| CMYK | cmyk(25.4%, 34.9%, 0%, 75.3%) |
| CIE-LAB | lab(18.14, 8.41, -12.96) |
| CIE-LCH | lch(18.14, 15.45, 302.96°) |
| OKLab | oklab(29.76% 0.0178 -0.0358) |
| OKLCH | oklch(29.76% 0.04 296.4) |
| XYZ | xyz(2.8622, 2.5491, 5.0429) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 8.18
Dark
#1B2431
ΔE00 10.17
Navy (survey)
#01153E
ΔE00 11.29
Midnight
#03012D
ΔE00 12.46
Dark Navy Blue
#00022E
ΔE00 12.68
Eggplant
#380835
ΔE00 13.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F293F #393F29
analogous
#292E3F #2F293F #3A293F
triadic
#2F293F #3F2F29 #293F2F
tetradic
#2F293F #3F292E #393F29 #293F3A
square
#2F293F #3F292E #393F29 #293F3A
split-complementary
#2F293F #3F3A29 #2E3F29
monochromatic
#0E0C13 #13111A #2F293F #4B4164 #665989
Accessibility & contrast
On white
13.91
#2F293F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#2F293F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F293F
13.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F293F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F293F | 1.00 | 13.91 | 1.51 | 13.91 |
| #FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242C40
Deuteranopia (green-blind)
#252C3E
Tritanopia (blue-blind)
#2C2D31
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #2f293f; /* rgb */ color: rgb(47, 41, 63); /* oklch */ color: oklch(29.8% 0.040 296.4);
Tailwind
colors: {
custom: {
50: '#686274',
500: '#2f293f',
950: '#000000',
},
}SCSS
$custom: #2f293f; $custom-light: #686274; $custom-dark: #000000;
JSON
{
"hex": "#2f293f",
"rgb": {
"r": 47,
"g": 41,
"b": 63
},
"hsl": {
"h": 256.364,
"s": 21.154,
"l": 20.392
},
"oklch": {
"l": 0.29756,
"c": 0.03996,
"h": 296.4
},
"luminance": 0.02549
}Semantic roles & 50–950 ramp
primary
#2F293F
secondary
#687053
accent
#BE6AA7
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#060508
muted
#7A797B