#302FA7#302FA7
#302FA7 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.185 H 274.3°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #302FA7 |
|---|---|
| RGB | rgb(48, 47, 167) |
| HSL | hsl(241, 56%, 42%) |
| HSV | hsv(241, 72%, 65%) |
| CMYK | cmyk(71.3%, 71.9%, 0%, 34.5%) |
| CIE-LAB | lab(27.98, 40.07, -63.88) |
| CIE-LCH | lch(27.98, 75.41, 302.09°) |
| OKLab | oklab(39.61% 0.0138 -0.1847) |
| OKLCH | oklch(39.61% 0.185 274.3) |
| XYZ | xyz(9.2082, 5.4505, 37.1185) |
| Luminance | 0.0545 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.21
Indigo Blue
#3A18B1
ΔE00 4.98
Ocean Blue
#4F42B5
ΔE00 6.31
Blueberry
#464196
ΔE00 6.35
Royal
#0C1793
ΔE00 6.47
True Blue
#010FCC
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302FA7 #A6A72F
analogous
#2F6AA7 #302FA7 #6C2FA7
triadic
#302FA7 #A7302F #2FA730
tetradic
#302FA7 #A72F6A #A6A72F #2FA76C
square
#302FA7 #A72F6A #A6A72F #2FA76C
split-complementary
#302FA7 #A76C2F #6AA72F
monochromatic
#151447 #222277 #302FA7 #4948CB #7878D9
Accessibility & contrast
On white
10.05
#302FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#302FA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302FA7
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302FA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302FA7 | 1.00 | 10.05 | 2.09 | 10.05 |
| #FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#003CA5
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #302fa7; /* rgb */ color: rgb(48, 47, 167); /* oklch */ color: oklch(39.6% 0.185 274.3);
Tailwind
colors: {
custom: {
50: '#7a69c2',
500: '#302fa7',
950: '#000000',
},
}SCSS
$custom: #302fa7; $custom-light: #7a69c2; $custom-dark: #000000;
JSON
{
"hex": "#302fa7",
"rgb": {
"r": 48,
"g": 47,
"b": 167
},
"hsl": {
"h": 240.5,
"s": 56.075,
"l": 41.961
},
"oklch": {
"l": 0.39605,
"c": 0.18522,
"h": 274.3
},
"luminance": 0.05451
}Semantic roles & 50–950 ramp
primary
#302FA7
secondary
#C0C171
accent
#DF48DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82