#302E7E#302E7E
#302E7E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.131 H 278.5°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #302E7E |
|---|---|
| RGB | rgb(48, 46, 126) |
| HSL | hsl(242, 47%, 34%) |
| HSV | hsv(242, 63%, 49%) |
| CMYK | cmyk(61.9%, 63.5%, 0%, 50.6%) |
| CIE-LAB | lab(23.96, 26.40, -45.19) |
| CIE-LCH | lch(23.96, 52.33, 300.30°) |
| OKLab | oklab(35.53% 0.0193 -0.1299) |
| OKLCH | oklch(35.53% 0.131 278.5) |
| XYZ | xyz(5.9606, 4.0883, 20.2096) |
| Luminance | 0.0409 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.36
Midnight Blue
#191970
ΔE00 5.95
Blueberry
#464196
ΔE00 6.44
Sapphire (survey)
#2138AB
ΔE00 7.31
Royal
#0C1793
ΔE00 7.33
Marine
#042E60
ΔE00 8.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302E7E #7C7E2E
analogous
#2E547E #302E7E #582E7E
triadic
#302E7E #7E302E #2E7E30
tetradic
#302E7E #7E2E54 #7C7E2E #2E7E58
square
#302E7E #7E2E54 #7C7E2E #2E7E58
split-complementary
#302E7E #7E582E #547E2E
monochromatic
#0E0D24 #1F1E51 #302E7E #413EAB #6461C5
Accessibility & contrast
On white
11.55
#302E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#302E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302E7E
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302E7E | 1.00 | 11.55 | 1.82 | 11.55 |
| #FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #302e7e; /* rgb */ color: rgb(48, 46, 126); /* oklch */ color: oklch(35.5% 0.131 278.5);
Tailwind
colors: {
custom: {
50: '#7167a4',
500: '#302e7e',
950: '#000000',
},
}SCSS
$custom: #302e7e; $custom-light: #7167a4; $custom-dark: #000000;
JSON
{
"hex": "#302e7e",
"rgb": {
"r": 48,
"g": 46,
"b": 126
},
"hsl": {
"h": 241.5,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.35531,
"c": 0.13137,
"h": 278.5
},
"luminance": 0.04089
}Semantic roles & 50–950 ramp
primary
#302E7E
secondary
#AAAC5C
accent
#D652D3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F