#302FA2#302FA2
#302FA2 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.179 H 274.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #302FA2 |
|---|---|
| RGB | rgb(48, 47, 162) |
| HSL | hsl(241, 55%, 41%) |
| HSV | hsv(241, 71%, 64%) |
| CMYK | cmyk(70.4%, 71%, 0%, 36.5%) |
| CIE-LAB | lab(27.49, 38.36, -61.67) |
| CIE-LCH | lch(27.49, 72.63, 301.88°) |
| OKLab | oklab(39.1% 0.0146 -0.1782) |
| OKLCH | oklch(39.1% 0.179 274.7) |
| XYZ | xyz(8.7549, 5.2692, 34.7311) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.33
Indigo Blue
#3A18B1
ΔE00 5.30
Blueberry
#464196
ΔE00 6.08
Royal
#0C1793
ΔE00 6.22
Ocean Blue
#4F42B5
ΔE00 6.59
Darkslateblue
#483D8B
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302FA2 #A1A22F
analogous
#2F67A2 #302FA2 #692FA2
triadic
#302FA2 #A2302F #2FA230
tetradic
#302FA2 #A22F67 #A1A22F #2FA269
square
#302FA2 #A22F67 #A1A22F #2FA269
split-complementary
#302FA2 #A2692F #67A22F
monochromatic
#141343 #222173 #302FA2 #4645C9 #7575D7
Accessibility & contrast
On white
10.22
#302FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#302FA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302FA2
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302FA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302FA2 | 1.00 | 10.22 | 2.05 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #302fa2; /* rgb */ color: rgb(48, 47, 162); /* oklch */ color: oklch(39.1% 0.179 274.7);
Tailwind
colors: {
custom: {
50: '#7968bf',
500: '#302fa2',
950: '#000000',
},
}SCSS
$custom: #302fa2; $custom-light: #7968bf; $custom-dark: #000000;
JSON
{
"hex": "#302fa2",
"rgb": {
"r": 48,
"g": 47,
"b": 162
},
"hsl": {
"h": 240.522,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.39103,
"c": 0.17884,
"h": 274.7
},
"luminance": 0.0527
}Semantic roles & 50–950 ramp
primary
#302FA2
secondary
#BEBF6E
accent
#DE49DD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81