#302AA2#302AA2
#302AA2 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.184 H 275.5°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #302AA2 |
|---|---|
| RGB | rgb(48, 42, 162) |
| HSL | hsl(243, 59%, 40%) |
| HSV | hsv(243, 74%, 64%) |
| CMYK | cmyk(70.4%, 74.1%, 0%, 36.5%) |
| CIE-LAB | lab(26.43, 41.31, -63.42) |
| CIE-LCH | lch(26.43, 75.69, 303.08°) |
| OKLab | oklab(38.34% 0.0176 -0.1833) |
| OKLCH | oklch(38.34% 0.184 275.5) |
| XYZ | xyz(8.5663, 4.8921, 34.6682) |
| Luminance | 0.0489 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.18
Sapphire (survey)
#2138AB
ΔE00 4.47
Royal
#0C1793
ΔE00 5.22
Cobalt Blue
#030AA7
ΔE00 5.98
Ultramarine
#2000B1
ΔE00 6.29
True Blue
#010FCC
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302AA2 #9CA22A
analogous
#2A60A2 #302AA2 #6C2AA2
triadic
#302AA2 #A2302A #2AA230
tetradic
#302AA2 #A22A60 #9CA22A #2AA26C
square
#302AA2 #A22A60 #9CA22A #2AA26C
split-complementary
#302AA2 #A26C2A #60A22A
monochromatic
#131141 #221D71 #302AA2 #443DCD #736DD9
Accessibility & contrast
On white
10.61
#302AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#302AA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302AA2
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302AA2 | 1.00 | 10.61 | 1.98 | 10.61 |
| #FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A6
Deuteranopia (green-blind)
#0039A0
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #302aa2; /* rgb */ color: rgb(48, 42, 162); /* oklch */ color: oklch(38.3% 0.184 275.5);
Tailwind
colors: {
custom: {
50: '#7965bf',
500: '#302aa2',
950: '#000000',
},
}SCSS
$custom: #302aa2; $custom-light: #7965bf; $custom-dark: #000000;
JSON
{
"hex": "#302aa2",
"rgb": {
"r": 48,
"g": 42,
"b": 162
},
"hsl": {
"h": 243,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.38343,
"c": 0.18418,
"h": 275.5
},
"luminance": 0.04893
}Semantic roles & 50–950 ramp
primary
#302AA2
secondary
#BCC068
accent
#E246DA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81