#302BA9#302BA9
#302BA9 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.192 H 274.7°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #302BA9 |
|---|---|
| RGB | rgb(48, 43, 169) |
| HSL | hsl(242, 59%, 42%) |
| HSV | hsv(242, 75%, 66%) |
| CMYK | cmyk(71.6%, 74.6%, 0%, 33.7%) |
| CIE-LAB | lab(27.35, 43.06, -66.13) |
| CIE-LCH | lch(27.35, 78.91, 303.07°) |
| OKLab | oklab(39.22% 0.0157 -0.1912) |
| OKLCH | oklch(39.22% 0.192 274.7) |
| XYZ | xyz(9.2419, 5.2198, 38.0489) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.94
Sapphire (survey)
#2138AB
ΔE00 4.13
True Blue
#010FCC
ΔE00 5.82
Royal
#0C1793
ΔE00 5.86
Cobalt Blue
#030AA7
ΔE00 6.18
Ultramarine
#2000B1
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302BA9 #A4A92B
analogous
#2B65A9 #302BA9 #6F2BA9
triadic
#302BA9 #A9302B #2BA930
tetradic
#302BA9 #A92B65 #A4A92B #2BA96F
square
#302BA9 #A92B65 #A4A92B #2BA96F
split-complementary
#302BA9 #A96F2B #65A92B
monochromatic
#141247 #221F78 #302BA9 #4842CF #7773DB
Accessibility & contrast
On white
10.27
#302BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#302BA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302BA9
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302BA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302BA9 | 1.00 | 10.27 | 2.04 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #302ba9; /* rgb */ color: rgb(48, 43, 169); /* oklch */ color: oklch(39.2% 0.192 274.7);
Tailwind
colors: {
custom: {
50: '#7b66c4',
500: '#302ba9',
950: '#000000',
},
}SCSS
$custom: #302ba9; $custom-light: #7b66c4; $custom-dark: #000000;
JSON
{
"hex": "#302ba9",
"rgb": {
"r": 48,
"g": 43,
"b": 169
},
"hsl": {
"h": 242.381,
"s": 59.434,
"l": 41.569
},
"oklch": {
"l": 0.39218,
"c": 0.19187,
"h": 274.7
},
"luminance": 0.05221
}Semantic roles & 50–950 ramp
primary
#302BA9
secondary
#BFC36D
accent
#E345DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82