#302D9C#302D9C
#302D9C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.173 H 275.6°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #302D9C |
|---|---|
| RGB | rgb(48, 45, 156) |
| HSL | hsl(242, 55%, 39%) |
| HSV | hsv(242, 71%, 61%) |
| CMYK | cmyk(69.2%, 71.2%, 0%, 38.8%) |
| CIE-LAB | lab(26.46, 37.51, -59.71) |
| CIE-LCH | lch(26.46, 70.52, 302.14°) |
| OKLab | oklab(38.19% 0.0168 -0.1725) |
| OKLCH | oklch(38.19% 0.173 275.6) |
| XYZ | xyz(8.1561, 4.9047, 31.9629) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.07
Indigo Blue
#3A18B1
ΔE00 5.34
Royal
#0C1793
ΔE00 5.58
Blueberry
#464196
ΔE00 6.27
Darkslateblue
#483D8B
ΔE00 6.51
Cobalt Blue
#030AA7
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302D9C #999C2D
analogous
#2D619C #302D9C #682D9C
triadic
#302D9C #9C302D #2D9C30
tetradic
#302D9C #9C2D61 #999C2D #2D9C68
square
#302D9C #9C2D61 #999C2D #2D9C68
split-complementary
#302D9C #9C682D #619C2D
monochromatic
#13123D #211F6D #302D9C #423FC8 #716ED5
Accessibility & contrast
On white
10.60
#302D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#302D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302D9C
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302D9C | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #302d9c; /* rgb */ color: rgb(48, 45, 156); /* oklch */ color: oklch(38.2% 0.173 275.6);
Tailwind
colors: {
custom: {
50: '#7867ba',
500: '#302d9c',
950: '#000000',
},
}SCSS
$custom: #302d9c; $custom-light: #7867ba; $custom-dark: #000000;
JSON
{
"hex": "#302d9c",
"rgb": {
"r": 48,
"g": 45,
"b": 156
},
"hsl": {
"h": 241.622,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.38188,
"c": 0.17333,
"h": 275.6
},
"luminance": 0.04905
}Semantic roles & 50–950 ramp
primary
#302D9C
secondary
#BABC68
accent
#DF49DB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81