#302C3E#302C3E
#302C3E is a dark, muted violet. Relative luminance 0.028; OKLCH L 30.5% C 0.032 H 294.6°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).
Color values
| HEX | #302C3E |
|---|---|
| RGB | rgb(48, 44, 62) |
| HSL | hsl(253, 17%, 21%) |
| HSV | hsv(253, 29%, 24%) |
| CMYK | cmyk(22.6%, 29%, 0%, 75.7%) |
| CIE-LAB | lab(19.13, 6.40, -10.74) |
| CIE-LCH | lch(19.13, 12.50, 300.78°) |
| OKLab | oklab(30.53% 0.0135 -0.0295) |
| OKLCH | oklch(30.53% 0.032 294.6) |
| XYZ | xyz(2.9889, 2.7775, 4.9351) |
| Luminance | 0.0278 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 8.29
Dark
#1B2431
ΔE00 8.71
Dark Grey
#363737
ΔE00 11.54
Onyx
#353839
ΔE00 11.80
Gunmetal
#2A3439
ΔE00 12.54
Navy (survey)
#01153E
ΔE00 12.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302C3E #3A3E2C
analogous
#2C313E #302C3E #392C3E
triadic
#302C3E #3E302C #2C3E30
tetradic
#302C3E #3E2C31 #3A3E2C #2C3E39
square
#302C3E #3E2C31 #3A3E2C #2C3E39
split-complementary
#302C3E #3E392C #313E2C
monochromatic
#0E0D12 #14131A #302C3E #4C4562 #675F86
Accessibility & contrast
On white
13.50
#302C3E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#302C3E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302C3E
13.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302C3E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302C3E | 1.00 | 13.50 | 1.56 | 13.50 |
| #FFFFFF | 13.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#282F3F
Deuteranopia (green-blind)
#282E3D
Tritanopia (blue-blind)
#2D2F32
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #302c3e; /* rgb */ color: rgb(48, 44, 62); /* oklch */ color: oklch(30.5% 0.032 294.6);
Tailwind
colors: {
custom: {
50: '#686573',
500: '#302c3e',
950: '#000000',
},
}SCSS
$custom: #302c3e; $custom-light: #686573; $custom-dark: #000000;
JSON
{
"hex": "#302c3e",
"rgb": {
"r": 48,
"g": 44,
"b": 62
},
"hsl": {
"h": 253.333,
"s": 16.981,
"l": 20.784
},
"oklch": {
"l": 0.30529,
"c": 0.03241,
"h": 294.6
},
"luminance": 0.02778
}Semantic roles & 50–950 ramp
primary
#302C3E
secondary
#696F57
accent
#BA6EA9
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060508
muted
#7A7A7B