#302CA8#302CA8
#302CA8 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.190 H 274.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #302CA8 |
|---|---|
| RGB | rgb(48, 44, 168) |
| HSL | hsl(242, 58%, 42%) |
| HSV | hsv(242, 74%, 66%) |
| CMYK | cmyk(71.4%, 73.8%, 0%, 34.1%) |
| CIE-LAB | lab(27.45, 42.16, -65.36) |
| CIE-LCH | lch(27.45, 77.77, 302.82°) |
| OKLab | oklab(39.26% 0.0154 -0.189) |
| OKLCH | oklch(39.26% 0.19 274.6) |
| XYZ | xyz(9.1851, 5.2560, 37.5686) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.91
Indigo Blue
#3A18B1
ΔE00 4.22
Royal
#0C1793
ΔE00 5.96
True Blue
#010FCC
ΔE00 6.08
Cobalt Blue
#030AA7
ΔE00 6.40
Ultramarine
#2000B1
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302CA8 #A4A82C
analogous
#2C66A8 #302CA8 #6E2CA8
triadic
#302CA8 #A8302C #2CA830
tetradic
#302CA8 #A82C66 #A4A82C #2CA86E
square
#302CA8 #A82C66 #A4A82C #2CA86E
split-complementary
#302CA8 #A86E2C #66A82C
monochromatic
#141347 #221F78 #302CA8 #4843CE #7774DB
Accessibility & contrast
On white
10.24
#302CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#302CA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302CA8
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302CA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302CA8 | 1.00 | 10.24 | 2.05 | 10.24 |
| #FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #302ca8; /* rgb */ color: rgb(48, 44, 168); /* oklch */ color: oklch(39.3% 0.190 274.6);
Tailwind
colors: {
custom: {
50: '#7b67c3',
500: '#302ca8',
950: '#000000',
},
}SCSS
$custom: #302ca8; $custom-light: #7b67c3; $custom-dark: #000000;
JSON
{
"hex": "#302ca8",
"rgb": {
"r": 48,
"g": 44,
"b": 168
},
"hsl": {
"h": 241.935,
"s": 58.491,
"l": 41.569
},
"oklch": {
"l": 0.39258,
"c": 0.18961,
"h": 274.6
},
"luminance": 0.05257
}Semantic roles & 50–950 ramp
primary
#302CA8
secondary
#BFC26E
accent
#E246DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82