#302AA8#302AA8
#302AA8 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.192 H 274.9°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #302AA8 |
|---|---|
| RGB | rgb(48, 42, 168) |
| HSL | hsl(243, 60%, 41%) |
| HSV | hsv(243, 75%, 66%) |
| CMYK | cmyk(71.4%, 75%, 0%, 34.1%) |
| CIE-LAB | lab(27.05, 43.29, -66.03) |
| CIE-LCH | lch(27.05, 78.95, 303.25°) |
| OKLab | oklab(38.97% 0.0164 -0.1909) |
| OKLCH | oklch(38.97% 0.192 274.9) |
| XYZ | xyz(9.1124, 5.1106, 37.5444) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.78
Sapphire (survey)
#2138AB
ΔE00 4.36
Royal
#0C1793
ΔE00 5.62
True Blue
#010FCC
ΔE00 5.76
Cobalt Blue
#030AA7
ΔE00 5.96
Ultramarine
#2000B1
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302AA8 #A2A82A
analogous
#2A63A8 #302AA8 #6F2AA8
triadic
#302AA8 #A8302A #2AA830
tetradic
#302AA8 #A82A63 #A2A82A #2AA86F
square
#302AA8 #A82A63 #A2A82A #2AA86F
split-complementary
#302AA8 #A86F2A #63A82A
monochromatic
#141246 #221E77 #302AA8 #4740CF #7671DB
Accessibility & contrast
On white
10.38
#302AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#302AA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302AA8
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302AA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302AA8 | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #302aa8; /* rgb */ color: rgb(48, 42, 168); /* oklch */ color: oklch(39.0% 0.192 274.9);
Tailwind
colors: {
custom: {
50: '#7b65c3',
500: '#302aa8',
950: '#000000',
},
}SCSS
$custom: #302aa8; $custom-light: #7b65c3; $custom-dark: #000000;
JSON
{
"hex": "#302aa8",
"rgb": {
"r": 48,
"g": 42,
"b": 168
},
"hsl": {
"h": 242.857,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.38971,
"c": 0.19163,
"h": 274.9
},
"luminance": 0.05111
}Semantic roles & 50–950 ramp
primary
#302AA8
secondary
#BEC36B
accent
#E345DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82