#302F4E#302F4E
#302F4E is a dark, muted blue. Relative luminance 0.032; OKLCH L 32.1% C 0.055 H 284.4°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).
Color values
| HEX | #302F4E |
|---|---|
| RGB | rgb(48, 47, 78) |
| HSL | hsl(242, 25%, 25%) |
| HSV | hsv(242, 40%, 31%) |
| CMYK | cmyk(38.5%, 39.7%, 0%, 69.4%) |
| CIE-LAB | lab(20.87, 9.15, -18.91) |
| CIE-LCH | lch(20.87, 21.00, 295.82°) |
| OKLab | oklab(32.14% 0.0135 -0.0529) |
| OKLCH | oklch(32.14% 0.055 284.4) |
| XYZ | xyz(3.6102, 3.2114, 7.6359) |
| Luminance | 0.0321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 5.74
Marine
#042E60
ΔE00 9.84
Navy (survey)
#01153E
ΔE00 9.99
Dark
#1B2431
ΔE00 11.00
Navy Blue (survey)
#001146
ΔE00 11.50
Marine Blue
#01386A
ΔE00 11.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302F4E #4D4E2F
analogous
#2F3E4E #302F4E #402F4E
triadic
#302F4E #4E302F #2F4E30
tetradic
#302F4E #4E2F3E #4D4E2F #2F4E40
square
#302F4E #4E2F3E #4D4E2F #2F4E40
split-complementary
#302F4E #4E402F #3E4E2F
monochromatic
#0C0C13 #181828 #302F4E #484674 #5F5D9A
Accessibility & contrast
On white
12.79
#302F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#302F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302F4E
12.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302F4E | 1.00 | 12.79 | 1.64 | 12.79 |
| #FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25334F
Deuteranopia (green-blind)
#24314D
Tritanopia (blue-blind)
#28353A
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #302f4e; /* rgb */ color: rgb(48, 47, 78); /* oklch */ color: oklch(32.1% 0.055 284.4);
Tailwind
colors: {
custom: {
50: '#69677f',
500: '#302f4e',
950: '#000000',
},
}SCSS
$custom: #302f4e; $custom-light: #69677f; $custom-dark: #000000;
JSON
{
"hex": "#302f4e",
"rgb": {
"r": 48,
"g": 47,
"b": 78
},
"hsl": {
"h": 241.935,
"s": 24.8,
"l": 24.51
},
"oklch": {
"l": 0.32136,
"c": 0.05459,
"h": 284.4
},
"luminance": 0.03211
}Semantic roles & 50–950 ramp
primary
#302F4E
secondary
#7E7F5A
accent
#C167BE
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C