#302E8D#302E8D
#302E8D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.152 H 276.8°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #302E8D |
|---|---|
| RGB | rgb(48, 46, 141) |
| HSL | hsl(241, 51%, 37%) |
| HSV | hsv(241, 67%, 55%) |
| CMYK | cmyk(66%, 67.4%, 0%, 44.7%) |
| CIE-LAB | lab(25.27, 31.70, -52.43) |
| CIE-LCH | lch(25.27, 61.26, 301.15°) |
| OKLab | oklab(36.9% 0.0181 -0.1512) |
| OKLCH | oklch(36.9% 0.152 276.8) |
| XYZ | xyz(7.0021, 4.5049, 25.6947) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.27
Darkslateblue
#483D8B
ΔE00 5.49
Blueberry
#464196
ΔE00 5.85
Royal
#0C1793
ΔE00 6.04
Midnight Blue
#191970
ΔE00 6.71
Indigo Blue
#3A18B1
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302E8D #8B8D2E
analogous
#2E5C8D #302E8D #602E8D
triadic
#302E8D #8D302E #2E8D30
tetradic
#302E8D #8D2E5C #8B8D2E #2E8D60
square
#302E8D #8D2E5C #8B8D2E #2E8D60
split-complementary
#302E8D #8D602E #5C8D2E
monochromatic
#111031 #201F5F #302E8D #403DBB #6A68CE
Accessibility & contrast
On white
11.05
#302E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#302E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302E8D
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302E8D | 1.00 | 11.05 | 1.90 | 11.05 |
| #FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #302e8d; /* rgb */ color: rgb(48, 46, 141); /* oklch */ color: oklch(36.9% 0.152 276.8);
Tailwind
colors: {
custom: {
50: '#7467af',
500: '#302e8d',
950: '#000000',
},
}SCSS
$custom: #302e8d; $custom-light: #7467af; $custom-dark: #000000;
JSON
{
"hex": "#302e8d",
"rgb": {
"r": 48,
"g": 46,
"b": 141
},
"hsl": {
"h": 241.263,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.36898,
"c": 0.15228,
"h": 276.8
},
"luminance": 0.04505
}Semantic roles & 50–950 ramp
primary
#302E8D
secondary
#B3B562
accent
#DA4ED7
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F