#302BA0#302BA0
#302BA0 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.181 H 275.5°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #302BA0 |
|---|---|
| RGB | rgb(48, 43, 160) |
| HSL | hsl(243, 58%, 40%) |
| HSV | hsv(243, 73%, 63%) |
| CMYK | cmyk(70%, 73.1%, 0%, 37.3%) |
| CIE-LAB | lab(26.43, 40.06, -62.20) |
| CIE-LCH | lch(26.43, 73.99, 302.78°) |
| OKLab | oklab(38.29% 0.0174 -0.1798) |
| OKLCH | oklch(38.29% 0.181 275.5) |
| XYZ | xyz(8.4259, 4.8934, 33.7514) |
| Luminance | 0.0489 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.32
Indigo Blue
#3A18B1
ΔE00 4.55
Royal
#0C1793
ΔE00 5.30
Cobalt Blue
#030AA7
ΔE00 6.24
Ultramarine
#2000B1
ΔE00 6.63
Royal Blue (survey)
#0504AA
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302BA0 #9BA02B
analogous
#2B61A0 #302BA0 #6A2BA0
triadic
#302BA0 #A0302B #2BA030
tetradic
#302BA0 #A02B61 #9BA02B #2BA06A
square
#302BA0 #A02B61 #9BA02B #2BA06A
split-complementary
#302BA0 #A06A2B #61A02B
monochromatic
#131140 #221E70 #302BA0 #433DCB #726ED8
Accessibility & contrast
On white
10.61
#302BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#302BA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302BA0
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302BA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302BA0 | 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)
#0044A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #302ba0; /* rgb */ color: rgb(48, 43, 160); /* oklch */ color: oklch(38.3% 0.181 275.5);
Tailwind
colors: {
custom: {
50: '#7966bd',
500: '#302ba0',
950: '#000000',
},
}SCSS
$custom: #302ba0; $custom-light: #7966bd; $custom-dark: #000000;
JSON
{
"hex": "#302ba0",
"rgb": {
"r": 48,
"g": 43,
"b": 160
},
"hsl": {
"h": 242.564,
"s": 57.635,
"l": 39.804
},
"oklch": {
"l": 0.38285,
"c": 0.18062,
"h": 275.5
},
"luminance": 0.04894
}Semantic roles & 50–950 ramp
primary
#302BA0
secondary
#BBBF68
accent
#E147DA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81