#302BA1#302BA1
#302BA1 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.182 H 275.4°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).
Color values
| HEX | #302BA1 |
|---|---|
| RGB | rgb(48, 43, 161) |
| HSL | hsl(243, 58%, 40%) |
| HSV | hsv(243, 73%, 63%) |
| CMYK | cmyk(70.2%, 73.3%, 0%, 36.9%) |
| CIE-LAB | lab(26.53, 40.40, -62.64) |
| CIE-LCH | lch(26.53, 74.54, 302.82°) |
| OKLab | oklab(38.39% 0.0172 -0.1811) |
| OKLCH | oklch(38.39% 0.182 275.4) |
| XYZ | xyz(8.5137, 4.9286, 34.2139) |
| Luminance | 0.0493 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.28
Indigo Blue
#3A18B1
ΔE00 4.47
Royal
#0C1793
ΔE00 5.35
Cobalt Blue
#030AA7
ΔE00 6.22
Ultramarine
#2000B1
ΔE00 6.57
True Blue
#010FCC
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302BA1 #9CA12B
analogous
#2B61A1 #302BA1 #6B2BA1
triadic
#302BA1 #A1302B #2BA130
tetradic
#302BA1 #A12B61 #9CA12B #2BA16B
square
#302BA1 #A12B61 #9CA12B #2BA16B
split-complementary
#302BA1 #A16B2B #61A12B
monochromatic
#131140 #221E71 #302BA1 #443ECB #736ED8
Accessibility & contrast
On white
10.58
#302BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#302BA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302BA1
10.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302BA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302BA1 | 1.00 | 10.58 | 1.99 | 10.58 |
| #FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #302ba1; /* rgb */ color: rgb(48, 43, 161); /* oklch */ color: oklch(38.4% 0.182 275.4);
Tailwind
colors: {
custom: {
50: '#7966be',
500: '#302ba1',
950: '#000000',
},
}SCSS
$custom: #302ba1; $custom-light: #7966be; $custom-dark: #000000;
JSON
{
"hex": "#302ba1",
"rgb": {
"r": 48,
"g": 43,
"b": 161
},
"hsl": {
"h": 242.542,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.38387,
"c": 0.18188,
"h": 275.4
},
"luminance": 0.04929
}Semantic roles & 50–950 ramp
primary
#302BA1
secondary
#BCBF69
accent
#E147DB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81