#302F89#302F89
#302F89 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.146 H 277.0°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).
Color values
| HEX | #302F89 |
|---|---|
| RGB | rgb(48, 47, 137) |
| HSL | hsl(241, 49%, 36%) |
| HSV | hsv(241, 66%, 54%) |
| CMYK | cmyk(65%, 65.7%, 0%, 46.3%) |
| CIE-LAB | lab(25.16, 29.64, -50.13) |
| CIE-LCH | lch(25.16, 58.24, 300.60°) |
| OKLab | oklab(36.7% 0.0176 -0.1445) |
| OKLCH | oklch(36.7% 0.146 277) |
| XYZ | xyz(6.7493, 4.4670, 24.1686) |
| Luminance | 0.0447 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.18
Sapphire (survey)
#2138AB
ΔE00 5.64
Blueberry
#464196
ΔE00 5.71
Royal
#0C1793
ΔE00 6.55
Midnight Blue
#191970
ΔE00 6.62
Indigo Blue
#3A18B1
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302F89 #88892F
analogous
#2F5B89 #302F89 #5D2F89
triadic
#302F89 #89302F #2F8930
tetradic
#302F89 #892F5B #88892F #2F895D
square
#302F89 #892F5B #88892F #2F895D
split-complementary
#302F89 #895D2F #5B892F
monochromatic
#10102E #201F5B #302F89 #403FB7 #6967CB
Accessibility & contrast
On white
11.09
#302F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#302F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302F89
11.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302F89 | 1.00 | 11.09 | 1.89 | 11.09 |
| #FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #302f89; /* rgb */ color: rgb(48, 47, 137); /* oklch */ color: oklch(36.7% 0.146 277.0);
Tailwind
colors: {
custom: {
50: '#7368ac',
500: '#302f89',
950: '#000000',
},
}SCSS
$custom: #302f89; $custom-light: #7368ac; $custom-dark: #000000;
JSON
{
"hex": "#302f89",
"rgb": {
"r": 48,
"g": 47,
"b": 137
},
"hsl": {
"h": 240.667,
"s": 48.913,
"l": 36.078
},
"oklch": {
"l": 0.36703,
"c": 0.14553,
"h": 277
},
"luminance": 0.04468
}Semantic roles & 50–950 ramp
primary
#302F89
secondary
#B1B262
accent
#D84FD7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F