#302C86#302C86
#302C86 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.145 H 278.1°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #302C86 |
|---|---|
| RGB | rgb(48, 44, 134) |
| HSL | hsl(243, 51%, 35%) |
| HSV | hsv(243, 67%, 53%) |
| CMYK | cmyk(64.2%, 67.2%, 0%, 47.5%) |
| CIE-LAB | lab(24.16, 30.52, -49.89) |
| CIE-LCH | lch(24.16, 58.48, 301.46°) |
| OKLab | oklab(35.89% 0.0206 -0.1437) |
| OKLCH | oklch(35.89% 0.145 278.1) |
| XYZ | xyz(6.4213, 4.1505, 23.0124) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.69
Midnight Blue
#191970
ΔE00 5.80
Royal
#0C1793
ΔE00 6.02
Sapphire (survey)
#2138AB
ΔE00 6.41
Blueberry
#464196
ΔE00 6.45
Indigo Blue
#3A18B1
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302C86 #82862C
analogous
#2C5586 #302C86 #5D2C86
triadic
#302C86 #86302C #2C8630
tetradic
#302C86 #862C55 #82862C #2C865D
square
#302C86 #862C55 #82862C #2C865D
split-complementary
#302C86 #865D2C #55862C
monochromatic
#0F0E2A #1F1D58 #302C86 #413BB4 #6661CB
Accessibility & contrast
On white
11.47
#302C86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#302C86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302C86
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302C86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302C86 | 1.00 | 11.47 | 1.83 | 11.47 |
| #FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #302c86; /* rgb */ color: rgb(48, 44, 134); /* oklch */ color: oklch(35.9% 0.145 278.1);
Tailwind
colors: {
custom: {
50: '#7365aa',
500: '#302c86',
950: '#000000',
},
}SCSS
$custom: #302c86; $custom-light: #7365aa; $custom-dark: #000000;
JSON
{
"hex": "#302c86",
"rgb": {
"r": 48,
"g": 44,
"b": 134
},
"hsl": {
"h": 242.667,
"s": 50.562,
"l": 34.902
},
"oklch": {
"l": 0.35895,
"c": 0.14521,
"h": 278.1
},
"luminance": 0.04151
}Semantic roles & 50–950 ramp
primary
#302C86
secondary
#AEB15C
accent
#DA4ED4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F