#302BA2#302BA2
#302BA2 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.183 H 275.3°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #302BA2 |
|---|---|
| RGB | rgb(48, 43, 162) |
| HSL | hsl(243, 58%, 40%) |
| HSV | hsv(243, 73%, 64%) |
| CMYK | cmyk(70.4%, 73.5%, 0%, 36.5%) |
| CIE-LAB | lab(26.63, 40.73, -63.08) |
| CIE-LCH | lch(26.63, 75.09, 302.85°) |
| OKLab | oklab(38.49% 0.0171 -0.1824) |
| OKLCH | oklch(38.49% 0.183 275.3) |
| XYZ | xyz(8.6022, 4.9640, 34.6802) |
| Luminance | 0.0496 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.25
Indigo Blue
#3A18B1
ΔE00 4.39
Royal
#0C1793
ΔE00 5.40
Cobalt Blue
#030AA7
ΔE00 6.20
Ultramarine
#2000B1
ΔE00 6.53
True Blue
#010FCC
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302BA2 #9DA22B
analogous
#2B61A2 #302BA2 #6B2BA2
triadic
#302BA2 #A2302B #2BA230
tetradic
#302BA2 #A22B61 #9DA22B #2BA26B
square
#302BA2 #A22B61 #9DA22B #2BA26B
split-complementary
#302BA2 #A26B2B #61A22B
monochromatic
#131141 #221E72 #302BA2 #443ECC #736FD9
Accessibility & contrast
On white
10.54
#302BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#302BA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302BA2
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302BA2 | 1.00 | 10.54 | 1.99 | 10.54 |
| #FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A6
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #302ba2; /* rgb */ color: rgb(48, 43, 162); /* oklch */ color: oklch(38.5% 0.183 275.3);
Tailwind
colors: {
custom: {
50: '#7966bf',
500: '#302ba2',
950: '#000000',
},
}SCSS
$custom: #302ba2; $custom-light: #7966bf; $custom-dark: #000000;
JSON
{
"hex": "#302ba2",
"rgb": {
"r": 48,
"g": 43,
"b": 162
},
"hsl": {
"h": 242.521,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.3849,
"c": 0.18315,
"h": 275.3
},
"luminance": 0.04965
}Semantic roles & 50–950 ramp
primary
#302BA2
secondary
#BCC069
accent
#E147DB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81