#302CA9#302CA9
#302CA9 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.191 H 274.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #302CA9 |
|---|---|
| RGB | rgb(48, 44, 169) |
| HSL | hsl(242, 59%, 42%) |
| HSV | hsv(242, 74%, 66%) |
| CMYK | cmyk(71.6%, 74%, 0%, 33.7%) |
| CIE-LAB | lab(27.55, 42.49, -65.79) |
| CIE-LCH | lch(27.55, 78.32, 302.85°) |
| OKLab | oklab(39.36% 0.0152 -0.1902) |
| OKLCH | oklch(39.36% 0.191 274.6) |
| XYZ | xyz(9.2787, 5.2934, 38.0612) |
| Luminance | 0.0529 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.90
Indigo Blue
#3A18B1
ΔE00 4.17
True Blue
#010FCC
ΔE00 5.99
Royal
#0C1793
ΔE00 6.03
Cobalt Blue
#030AA7
ΔE00 6.41
Ultramarine
#2000B1
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302CA9 #A5A92C
analogous
#2C67A9 #302CA9 #6F2CA9
triadic
#302CA9 #A9302C #2CA930
tetradic
#302CA9 #A92C67 #A5A92C #2CA96F
square
#302CA9 #A92C67 #A5A92C #2CA96F
split-complementary
#302CA9 #A96F2C #67A92C
monochromatic
#141348 #221F78 #302CA9 #4844CE #7874DB
Accessibility & contrast
On white
10.20
#302CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#302CA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302CA9
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302CA9 | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #302ca9; /* rgb */ color: rgb(48, 44, 169); /* oklch */ color: oklch(39.4% 0.191 274.6);
Tailwind
colors: {
custom: {
50: '#7b67c4',
500: '#302ca9',
950: '#000000',
},
}SCSS
$custom: #302ca9; $custom-light: #7b67c4; $custom-dark: #000000;
JSON
{
"hex": "#302ca9",
"rgb": {
"r": 48,
"g": 44,
"b": 169
},
"hsl": {
"h": 241.92,
"s": 58.685,
"l": 41.765
},
"oklch": {
"l": 0.39362,
"c": 0.19085,
"h": 274.6
},
"luminance": 0.05294
}Semantic roles & 50–950 ramp
primary
#302CA9
secondary
#C0C36E
accent
#E246DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82