#302CA2#302CA2
#302CA2 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.182 H 275.2°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #302CA2 |
|---|---|
| RGB | rgb(48, 44, 162) |
| HSL | hsl(242, 57%, 40%) |
| HSV | hsv(242, 73%, 64%) |
| CMYK | cmyk(70.4%, 72.8%, 0%, 36.5%) |
| CIE-LAB | lab(26.84, 40.15, -62.74) |
| CIE-LCH | lch(26.84, 74.48, 302.62°) |
| OKLab | oklab(38.64% 0.0165 -0.1813) |
| OKLCH | oklch(38.64% 0.182 275.2) |
| XYZ | xyz(8.6390, 5.0376, 34.6925) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.02
Indigo Blue
#3A18B1
ΔE00 4.60
Royal
#0C1793
ΔE00 5.60
Cobalt Blue
#030AA7
ΔE00 6.43
True Blue
#010FCC
ΔE00 6.69
Blueberry
#464196
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302CA2 #9EA22C
analogous
#2C63A2 #302CA2 #6B2CA2
triadic
#302CA2 #A2302C #2CA230
tetradic
#302CA2 #A22C63 #9EA22C #2CA26B
square
#302CA2 #A22C63 #9EA22C #2CA26B
split-complementary
#302CA2 #A26B2C #63A22C
monochromatic
#131242 #221F72 #302CA2 #4540CB #7470D8
Accessibility & contrast
On white
10.46
#302CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#302CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302CA2
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302CA2 | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #302ca2; /* rgb */ color: rgb(48, 44, 162); /* oklch */ color: oklch(38.6% 0.182 275.2);
Tailwind
colors: {
custom: {
50: '#7966bf',
500: '#302ca2',
950: '#000000',
},
}SCSS
$custom: #302ca2; $custom-light: #7966bf; $custom-dark: #000000;
JSON
{
"hex": "#302ca2",
"rgb": {
"r": 48,
"g": 44,
"b": 162
},
"hsl": {
"h": 242.034,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.3864,
"c": 0.18209,
"h": 275.2
},
"luminance": 0.05038
}Semantic roles & 50–950 ramp
primary
#302CA2
secondary
#BDBF6A
accent
#E147DB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81