#302FA9#302FA9
#302FA9 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.188 H 274.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #302FA9 |
|---|---|
| RGB | rgb(48, 47, 169) |
| HSL | hsl(240, 56%, 42%) |
| HSV | hsv(240, 72%, 66%) |
| CMYK | cmyk(71.6%, 72.2%, 0%, 33.7%) |
| CIE-LAB | lab(28.18, 40.74, -64.76) |
| CIE-LCH | lch(28.18, 76.51, 302.18°) |
| OKLab | oklab(39.81% 0.0135 -0.1873) |
| OKLCH | oklch(39.81% 0.188 274.1) |
| XYZ | xyz(9.3945, 5.5251, 38.0998) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.21
Indigo Blue
#3A18B1
ΔE00 4.89
Ocean Blue
#4F42B5
ΔE00 6.21
Blueberry
#464196
ΔE00 6.47
True Blue
#010FCC
ΔE00 6.53
Royal
#0C1793
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302FA9 #A8A92F
analogous
#2F6BA9 #302FA9 #6D2FA9
triadic
#302FA9 #A9302F #2FA930
tetradic
#302FA9 #A92F6B #A8A92F #2FA96D
square
#302FA9 #A92F6B #A8A92F #2FA96D
split-complementary
#302FA9 #A96D2F #6BA92F
monochromatic
#151449 #222279 #302FA9 #4A49CC #7A79DA
Accessibility & contrast
On white
9.98
#302FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#302FA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302FA9
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302FA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302FA9 | 1.00 | 9.98 | 2.11 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003DA7
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #302fa9; /* rgb */ color: rgb(48, 47, 169); /* oklch */ color: oklch(39.8% 0.188 274.1);
Tailwind
colors: {
custom: {
50: '#7b69c4',
500: '#302fa9',
950: '#000000',
},
}SCSS
$custom: #302fa9; $custom-light: #7b69c4; $custom-dark: #000000;
JSON
{
"hex": "#302fa9",
"rgb": {
"r": 48,
"g": 47,
"b": 169
},
"hsl": {
"h": 240.492,
"s": 56.481,
"l": 42.353
},
"oklch": {
"l": 0.39808,
"c": 0.18775,
"h": 274.1
},
"luminance": 0.05526
}Semantic roles & 50–950 ramp
primary
#302FA9
secondary
#C1C272
accent
#E048DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82