#302C9E#302C9E
#302C9E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.177 H 275.6°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #302C9E |
|---|---|
| RGB | rgb(48, 44, 158) |
| HSL | hsl(242, 56%, 40%) |
| HSV | hsv(242, 72%, 62%) |
| CMYK | cmyk(69.6%, 72.2%, 0%, 38%) |
| CIE-LAB | lab(26.44, 38.80, -60.96) |
| CIE-LCH | lch(26.44, 72.26, 302.47°) |
| OKLab | oklab(38.23% 0.0172 -0.1762) |
| OKLCH | oklch(38.23% 0.177 275.6) |
| XYZ | xyz(8.2891, 4.8976, 32.8496) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.18
Indigo Blue
#3A18B1
ΔE00 4.94
Royal
#0C1793
ΔE00 5.43
Cobalt Blue
#030AA7
ΔE00 6.53
Blueberry
#464196
ΔE00 6.56
Darkslateblue
#483D8B
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302C9E #9A9E2C
analogous
#2C619E #302C9E #692C9E
triadic
#302C9E #9E302C #2C9E30
tetradic
#302C9E #9E2C61 #9A9E2C #2C9E69
square
#302C9E #9E2C61 #9A9E2C #2C9E69
split-complementary
#302C9E #9E692C #619E2C
monochromatic
#13113E #211F6E #302C9E #433EC9 #726ED7
Accessibility & contrast
On white
10.61
#302C9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#302C9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302C9E
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302C9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302C9E | 1.00 | 10.61 | 1.98 | 10.61 |
| #FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #302c9e; /* rgb */ color: rgb(48, 44, 158); /* oklch */ color: oklch(38.2% 0.177 275.6);
Tailwind
colors: {
custom: {
50: '#7866bc',
500: '#302c9e',
950: '#000000',
},
}SCSS
$custom: #302c9e; $custom-light: #7866bc; $custom-dark: #000000;
JSON
{
"hex": "#302c9e",
"rgb": {
"r": 48,
"g": 44,
"b": 158
},
"hsl": {
"h": 242.105,
"s": 56.436,
"l": 39.608
},
"oklch": {
"l": 0.38233,
"c": 0.177,
"h": 275.6
},
"luminance": 0.04898
}Semantic roles & 50–950 ramp
primary
#302C9E
secondary
#BBBE68
accent
#E048DA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81