#2F263F#2F263F
#2F263F is a dark, muted violet. Relative luminance 0.023; OKLCH L 29.1% C 0.046 H 300.1°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2F263F |
|---|---|
| RGB | rgb(47, 38, 63) |
| HSL | hsl(262, 25%, 20%) |
| HSV | hsv(262, 40%, 25%) |
| CMYK | cmyk(25.4%, 39.7%, 0%, 75.3%) |
| CIE-LAB | lab(17.22, 10.52, -14.38) |
| CIE-LCH | lch(17.22, 17.82, 306.19°) |
| OKLab | oklab(29.05% 0.0231 -0.0398) |
| OKLCH | oklch(29.05% 0.046 300.1) |
| XYZ | xyz(2.7624, 2.3494, 5.0096) |
| Luminance | 0.0235 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 8.91
Navy (survey)
#01153E
ΔE00 10.77
Eggplant
#380835
ΔE00 11.58
Midnight
#03012D
ΔE00 11.63
Dark
#1B2431
ΔE00 11.70
Dark Purple
#35063E
ΔE00 11.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F263F #363F26
analogous
#262A3F #2F263F #3C263F
triadic
#2F263F #3F2F26 #263F2F
tetradic
#2F263F #3F262A #363F26 #263F3C
square
#2F263F #3F262A #363F26 #263F3C
split-complementary
#2F263F #3F3C26 #2A3F26
monochromatic
#0E0C13 #130F19 #2F263F #4B3D65 #68548B
Accessibility & contrast
On white
14.29
#2F263F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#2F263F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F263F
14.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F263F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F263F | 1.00 | 14.29 | 1.47 | 14.29 |
| #FFFFFF | 14.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202A40
Deuteranopia (green-blind)
#222A3E
Tritanopia (blue-blind)
#2C2A2F
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #2f263f; /* rgb */ color: rgb(47, 38, 63); /* oklch */ color: oklch(29.1% 0.046 300.1);
Tailwind
colors: {
custom: {
50: '#686074',
500: '#2f263f',
950: '#000000',
},
}SCSS
$custom: #2f263f; $custom-light: #686074; $custom-dark: #000000;
JSON
{
"hex": "#2f263f",
"rgb": {
"r": 47,
"g": 38,
"b": 63
},
"hsl": {
"h": 261.6,
"s": 24.752,
"l": 19.804
},
"oklch": {
"l": 0.29055,
"c": 0.04605,
"h": 300.1
},
"luminance": 0.02349
}Semantic roles & 50–950 ramp
primary
#2F263F
secondary
#657150
accent
#C167A1
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B