#302AA0#302AA0
#302AA0 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.182 H 275.7°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).
Color values
| HEX | #302AA0 |
|---|---|
| RGB | rgb(48, 42, 160) |
| HSL | hsl(243, 58%, 40%) |
| HSV | hsv(243, 74%, 63%) |
| CMYK | cmyk(70%, 73.8%, 0%, 37.3%) |
| CIE-LAB | lab(26.22, 40.64, -62.55) |
| CIE-LCH | lch(26.22, 74.59, 303.02°) |
| OKLab | oklab(38.14% 0.018 -0.1808) |
| OKLCH | oklch(38.14% 0.182 275.7) |
| XYZ | xyz(8.3900, 4.8216, 33.7394) |
| Luminance | 0.0482 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.34
Sapphire (survey)
#2138AB
ΔE00 4.54
Royal
#0C1793
ΔE00 5.12
Cobalt Blue
#030AA7
ΔE00 6.02
Ultramarine
#2000B1
ΔE00 6.39
Royal Blue (survey)
#0504AA
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302AA0 #9AA02A
analogous
#2A5FA0 #302AA0 #6B2AA0
triadic
#302AA0 #A0302A #2AA030
tetradic
#302AA0 #A02A5F #9AA02A #2AA06B
square
#302AA0 #A02A5F #9AA02A #2AA06B
split-complementary
#302AA0 #A06B2A #5FA02A
monochromatic
#13113F #211D70 #302AA0 #433CCC #726CD8
Accessibility & contrast
On white
10.69
#302AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#302AA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302AA0
10.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302AA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302AA0 | 1.00 | 10.69 | 1.96 | 10.69 |
| #FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #302aa0; /* rgb */ color: rgb(48, 42, 160); /* oklch */ color: oklch(38.1% 0.182 275.7);
Tailwind
colors: {
custom: {
50: '#7965bd',
500: '#302aa0',
950: '#000000',
},
}SCSS
$custom: #302aa0; $custom-light: #7965bd; $custom-dark: #000000;
JSON
{
"hex": "#302aa0",
"rgb": {
"r": 48,
"g": 42,
"b": 160
},
"hsl": {
"h": 243.051,
"s": 58.416,
"l": 39.608
},
"oklch": {
"l": 0.38136,
"c": 0.18167,
"h": 275.7
},
"luminance": 0.04822
}Semantic roles & 50–950 ramp
primary
#302AA0
secondary
#BBBF67
accent
#E246DA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81