#302F86#302F86
#302F86 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.141 H 277.3°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).
Color values
| HEX | #302F86 |
|---|---|
| RGB | rgb(48, 47, 134) |
| HSL | hsl(241, 48%, 35%) |
| HSV | hsv(241, 65%, 53%) |
| CMYK | cmyk(64.2%, 64.9%, 0%, 47.5%) |
| CIE-LAB | lab(24.90, 28.58, -48.69) |
| CIE-LCH | lch(24.90, 56.46, 300.41°) |
| OKLab | oklab(36.43% 0.0179 -0.1402) |
| OKLCH | oklch(36.43% 0.141 277.3) |
| XYZ | xyz(6.5371, 4.3821, 23.0510) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.13
Blueberry
#464196
ΔE00 5.81
Sapphire (survey)
#2138AB
ΔE00 6.05
Midnight Blue
#191970
ΔE00 6.45
Royal
#0C1793
ΔE00 6.78
Indigo Blue
#3A18B1
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302F86 #85862F
analogous
#2F5986 #302F86 #5B2F86
triadic
#302F86 #86302F #2F8630
tetradic
#302F86 #862F59 #85862F #2F865B
square
#302F86 #862F59 #85862F #2F865B
split-complementary
#302F86 #865B2F #59862F
monochromatic
#100F2B #201F59 #302F86 #403FB3 #6766C9
Accessibility & contrast
On white
11.19
#302F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#302F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302F86
11.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302F86 | 1.00 | 11.19 | 1.88 | 11.19 |
| #FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #302f86; /* rgb */ color: rgb(48, 47, 134); /* oklch */ color: oklch(36.4% 0.141 277.3);
Tailwind
colors: {
custom: {
50: '#7368aa',
500: '#302f86',
950: '#000000',
},
}SCSS
$custom: #302f86; $custom-light: #7368aa; $custom-dark: #000000;
JSON
{
"hex": "#302f86",
"rgb": {
"r": 48,
"g": 47,
"b": 134
},
"hsl": {
"h": 240.69,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.3643,
"c": 0.14135,
"h": 277.3
},
"luminance": 0.04383
}Semantic roles & 50–950 ramp
primary
#302F86
secondary
#AFB060
accent
#D850D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F