#302C94#302C94
#302C94 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.164 H 276.6°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).
Color values
| HEX | #302C94 |
|---|---|
| RGB | rgb(48, 44, 148) |
| HSL | hsl(242, 54%, 38%) |
| HSV | hsv(242, 70%, 58%) |
| CMYK | cmyk(67.6%, 70.3%, 0%, 42%) |
| CIE-LAB | lab(25.46, 35.38, -56.44) |
| CIE-LCH | lch(25.46, 66.62, 302.08°) |
| OKLab | oklab(37.24% 0.0188 -0.163) |
| OKLCH | oklch(37.24% 0.164 276.6) |
| XYZ | xyz(7.4632, 4.5672, 28.4995) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.88
Royal
#0C1793
ΔE00 5.31
Indigo Blue
#3A18B1
ΔE00 5.98
Darkslateblue
#483D8B
ΔE00 6.19
Blueberry
#464196
ΔE00 6.32
Midnight Blue
#191970
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302C94 #90942C
analogous
#2C5C94 #302C94 #642C94
triadic
#302C94 #94302C #2C9430
tetradic
#302C94 #942C5C #90942C #2C9464
square
#302C94 #942C5C #90942C #2C9464
split-complementary
#302C94 #94642C #5C942C
monochromatic
#111036 #211E65 #302C94 #3F3AC3 #6C68D2
Accessibility & contrast
On white
10.97
#302C94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#302C94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302C94
10.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302C94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302C94 | 1.00 | 10.97 | 1.91 | 10.97 |
| #FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #302c94; /* rgb */ color: rgb(48, 44, 148); /* oklch */ color: oklch(37.2% 0.164 276.6);
Tailwind
colors: {
custom: {
50: '#7666b4',
500: '#302c94',
950: '#000000',
},
}SCSS
$custom: #302c94; $custom-light: #7666b4; $custom-dark: #000000;
JSON
{
"hex": "#302c94",
"rgb": {
"r": 48,
"g": 44,
"b": 148
},
"hsl": {
"h": 242.308,
"s": 54.167,
"l": 37.647
},
"oklch": {
"l": 0.37236,
"c": 0.16404,
"h": 276.6
},
"luminance": 0.04568
}Semantic roles & 50–950 ramp
primary
#302C94
secondary
#B5B963
accent
#DE4AD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80