#302AA7#302AA7
#302AA7 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.190 H 275.0°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #302AA7 |
|---|---|
| RGB | rgb(48, 42, 167) |
| HSL | hsl(243, 60%, 41%) |
| HSV | hsv(243, 75%, 65%) |
| CMYK | cmyk(71.3%, 74.9%, 0%, 34.5%) |
| CIE-LAB | lab(26.94, 42.96, -65.60) |
| CIE-LCH | lch(26.94, 78.41, 303.22°) |
| OKLab | oklab(38.87% 0.0166 -0.1897) |
| OKLCH | oklch(38.87% 0.19 275) |
| XYZ | xyz(9.0196, 5.0735, 37.0557) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.83
Sapphire (survey)
#2138AB
ΔE00 4.37
Royal
#0C1793
ΔE00 5.55
True Blue
#010FCC
ΔE00 5.86
Cobalt Blue
#030AA7
ΔE00 5.95
Ultramarine
#2000B1
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302AA7 #A1A72A
analogous
#2A62A7 #302AA7 #6E2AA7
triadic
#302AA7 #A7302A #2AA730
tetradic
#302AA7 #A72A62 #A1A72A #2AA76E
square
#302AA7 #A72A62 #A1A72A #2AA76E
split-complementary
#302AA7 #A76E2A #62A72A
monochromatic
#141145 #221E76 #302AA7 #463FCF #7570DB
Accessibility & contrast
On white
10.42
#302AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#302AA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302AA7
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302AA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302AA7 | 1.00 | 10.42 | 2.01 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#003AA5
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #302aa7; /* rgb */ color: rgb(48, 42, 167); /* oklch */ color: oklch(38.9% 0.190 275.0);
Tailwind
colors: {
custom: {
50: '#7b65c2',
500: '#302aa7',
950: '#000000',
},
}SCSS
$custom: #302aa7; $custom-light: #7b65c2; $custom-dark: #000000;
JSON
{
"hex": "#302aa7",
"rgb": {
"r": 48,
"g": 42,
"b": 167
},
"hsl": {
"h": 242.88,
"s": 59.809,
"l": 40.98
},
"oklch": {
"l": 0.38865,
"c": 0.1904,
"h": 275
},
"luminance": 0.05074
}Semantic roles & 50–950 ramp
primary
#302AA7
secondary
#BEC26B
accent
#E345DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82