#302FA5#302FA5
#302FA5 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.183 H 274.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #302FA5 |
|---|---|
| RGB | rgb(48, 47, 165) |
| HSL | hsl(241, 56%, 42%) |
| HSV | hsv(241, 72%, 65%) |
| CMYK | cmyk(70.9%, 71.5%, 0%, 35.3%) |
| CIE-LAB | lab(27.78, 39.38, -63.00) |
| CIE-LCH | lch(27.78, 74.30, 302.01°) |
| OKLab | oklab(39.4% 0.0142 -0.1821) |
| OKLCH | oklch(39.4% 0.183 274.4) |
| XYZ | xyz(9.0247, 5.3772, 36.1523) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.24
Indigo Blue
#3A18B1
ΔE00 5.10
Blueberry
#464196
ΔE00 6.24
Royal
#0C1793
ΔE00 6.36
Ocean Blue
#4F42B5
ΔE00 6.41
True Blue
#010FCC
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302FA5 #A4A52F
analogous
#2F69A5 #302FA5 #6B2FA5
triadic
#302FA5 #A5302F #2FA530
tetradic
#302FA5 #A52F69 #A4A52F #2FA56B
square
#302FA5 #A52F69 #A4A52F #2FA56B
split-complementary
#302FA5 #A56B2F #69A52F
monochromatic
#141446 #222175 #302FA5 #4847CB #7776D8
Accessibility & contrast
On white
10.12
#302FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#302FA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302FA5
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302FA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302FA5 | 1.00 | 10.12 | 2.08 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #302fa5; /* rgb */ color: rgb(48, 47, 165); /* oklch */ color: oklch(39.4% 0.183 274.4);
Tailwind
colors: {
custom: {
50: '#7a69c1',
500: '#302fa5',
950: '#000000',
},
}SCSS
$custom: #302fa5; $custom-light: #7a69c1; $custom-dark: #000000;
JSON
{
"hex": "#302fa5",
"rgb": {
"r": 48,
"g": 47,
"b": 165
},
"hsl": {
"h": 240.508,
"s": 55.66,
"l": 41.569
},
"oklch": {
"l": 0.39403,
"c": 0.18268,
"h": 274.4
},
"luminance": 0.05378
}Semantic roles & 50–950 ramp
primary
#302FA5
secondary
#BFC070
accent
#DF49DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81