#302C8E#302C8E
#302C8E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.156 H 277.2°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).
Color values
| HEX | #302C8E |
|---|---|
| RGB | rgb(48, 44, 142) |
| HSL | hsl(242, 53%, 36%) |
| HSV | hsv(242, 69%, 56%) |
| CMYK | cmyk(66.2%, 69%, 0%, 44.3%) |
| CIE-LAB | lab(24.90, 33.31, -53.67) |
| CIE-LCH | lch(24.90, 63.16, 301.83°) |
| OKLab | oklab(36.65% 0.0196 -0.1548) |
| OKLCH | oklch(36.65% 0.156 277.2) |
| XYZ | xyz(7.0005, 4.3822, 26.0629) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.47
Royal
#0C1793
ΔE00 5.49
Darkslateblue
#483D8B
ΔE00 5.91
Blueberry
#464196
ΔE00 6.30
Midnight Blue
#191970
ΔE00 6.44
Indigo Blue
#3A18B1
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302C8E #8A8E2C
analogous
#2C598E #302C8E #612C8E
triadic
#302C8E #8E302C #2C8E30
tetradic
#302C8E #8E2C59 #8A8E2C #2C8E61
square
#302C8E #8E2C59 #8A8E2C #2C8E61
split-complementary
#302C8E #8E612C #598E2C
monochromatic
#100F31 #201E5F #302C8E #403ABD #6965CF
Accessibility & contrast
On white
11.19
#302C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#302C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302C8E
11.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302C8E | 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)
#003F91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #302c8e; /* rgb */ color: rgb(48, 44, 142); /* oklch */ color: oklch(36.7% 0.156 277.2);
Tailwind
colors: {
custom: {
50: '#7566b0',
500: '#302c8e',
950: '#000000',
},
}SCSS
$custom: #302c8e; $custom-light: #7566b0; $custom-dark: #000000;
JSON
{
"hex": "#302c8e",
"rgb": {
"r": 48,
"g": 44,
"b": 142
},
"hsl": {
"h": 242.449,
"s": 52.688,
"l": 36.471
},
"oklch": {
"l": 0.36653,
"c": 0.15606,
"h": 277.2
},
"luminance": 0.04383
}Semantic roles & 50–950 ramp
primary
#302C8E
secondary
#B2B660
accent
#DC4CD6
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090611
muted
#7B7A80