#302CA4#302CA4
#302CA4 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.185 H 275.0°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #302CA4 |
|---|---|
| RGB | rgb(48, 44, 164) |
| HSL | hsl(242, 58%, 41%) |
| HSV | hsv(242, 73%, 64%) |
| CMYK | cmyk(70.7%, 73.2%, 0%, 35.7%) |
| CIE-LAB | lab(27.04, 40.82, -63.62) |
| CIE-LCH | lch(27.04, 75.59, 302.69°) |
| OKLab | oklab(38.85% 0.0161 -0.1839) |
| OKLCH | oklch(38.85% 0.185 275) |
| XYZ | xyz(8.8182, 5.1092, 35.6362) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.96
Indigo Blue
#3A18B1
ΔE00 4.46
Royal
#0C1793
ΔE00 5.70
Cobalt Blue
#030AA7
ΔE00 6.41
True Blue
#010FCC
ΔE00 6.48
Ultramarine
#2000B1
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302CA4 #A0A42C
analogous
#2C64A4 #302CA4 #6C2CA4
triadic
#302CA4 #A4302C #2CA430
tetradic
#302CA4 #A42C64 #A0A42C #2CA46C
square
#302CA4 #A42C64 #A0A42C #2CA46C
split-complementary
#302CA4 #A46C2C #64A42C
monochromatic
#141243 #221F74 #302CA4 #4641CC #7571D9
Accessibility & contrast
On white
10.39
#302CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#302CA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302CA4
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302CA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302CA4 | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #302ca4; /* rgb */ color: rgb(48, 44, 164); /* oklch */ color: oklch(38.8% 0.185 275.0);
Tailwind
colors: {
custom: {
50: '#7a67c0',
500: '#302ca4',
950: '#000000',
},
}SCSS
$custom: #302ca4; $custom-light: #7a67c0; $custom-dark: #000000;
JSON
{
"hex": "#302ca4",
"rgb": {
"r": 48,
"g": 44,
"b": 164
},
"hsl": {
"h": 242,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.38845,
"c": 0.18461,
"h": 275
},
"luminance": 0.0511
}Semantic roles & 50–950 ramp
primary
#302CA4
secondary
#BEC06B
accent
#E147DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81