#302CA1#302CA1
#302CA1 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.181 H 275.3°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).
Color values
| HEX | #302CA1 |
|---|---|
| RGB | rgb(48, 44, 161) |
| HSL | hsl(242, 57%, 40%) |
| HSV | hsv(242, 73%, 63%) |
| CMYK | cmyk(70.2%, 72.7%, 0%, 36.9%) |
| CIE-LAB | lab(26.74, 39.81, -62.30) |
| CIE-LCH | lch(26.74, 73.93, 302.58°) |
| OKLab | oklab(38.54% 0.0166 -0.1801) |
| OKLCH | oklch(38.54% 0.181 275.3) |
| XYZ | xyz(8.5505, 5.0022, 34.2262) |
| Luminance | 0.0500 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.05
Indigo Blue
#3A18B1
ΔE00 4.68
Royal
#0C1793
ΔE00 5.55
Cobalt Blue
#030AA7
ΔE00 6.45
Blueberry
#464196
ΔE00 6.67
True Blue
#010FCC
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302CA1 #9DA12C
analogous
#2C63A1 #302CA1 #6A2CA1
triadic
#302CA1 #A1302C #2CA130
tetradic
#302CA1 #A12C63 #9DA12C #2CA16A
square
#302CA1 #A12C63 #9DA12C #2CA16A
split-complementary
#302CA1 #A16A2C #63A12C
monochromatic
#131241 #221F71 #302CA1 #4440CB #7370D8
Accessibility & contrast
On white
10.50
#302CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#302CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302CA1
10.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302CA1 | 1.00 | 10.50 | 2.00 | 10.50 |
| #FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#003A9F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #302ca1; /* rgb */ color: rgb(48, 44, 161); /* oklch */ color: oklch(38.5% 0.181 275.3);
Tailwind
colors: {
custom: {
50: '#7966be',
500: '#302ca1',
950: '#000000',
},
}SCSS
$custom: #302ca1; $custom-light: #7966be; $custom-dark: #000000;
JSON
{
"hex": "#302ca1",
"rgb": {
"r": 48,
"g": 44,
"b": 161
},
"hsl": {
"h": 242.051,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.38537,
"c": 0.18083,
"h": 275.3
},
"luminance": 0.05003
}Semantic roles & 50–950 ramp
primary
#302CA1
secondary
#BCBF6A
accent
#E047DB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81