#302EA3#302EA3
#302EA3 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.181 H 274.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #302EA3 |
|---|---|
| RGB | rgb(48, 46, 163) |
| HSL | hsl(241, 56%, 41%) |
| HSV | hsv(241, 72%, 64%) |
| CMYK | cmyk(70.6%, 71.8%, 0%, 36.1%) |
| CIE-LAB | lab(27.37, 39.30, -62.47) |
| CIE-LCH | lch(27.37, 73.81, 302.17°) |
| OKLab | oklab(39.05% 0.0151 -0.1806) |
| OKLCH | oklch(39.05% 0.181 274.8) |
| XYZ | xyz(8.8046, 5.2259, 35.1879) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.52
Indigo Blue
#3A18B1
ΔE00 4.99
Royal
#0C1793
ΔE00 6.05
Blueberry
#464196
ΔE00 6.34
Ocean Blue
#4F42B5
ΔE00 6.69
Darkslateblue
#483D8B
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302EA3 #A1A32E
analogous
#2E66A3 #302EA3 #6A2EA3
triadic
#302EA3 #A3302E #2EA330
tetradic
#302EA3 #A32E66 #A1A32E #2EA36A
square
#302EA3 #A32E66 #A1A32E #2EA36A
split-complementary
#302EA3 #A36A2E #66A32E
monochromatic
#141344 #222173 #302EA3 #4644CA #7574D8
Accessibility & contrast
On white
10.27
#302EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#302EA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302EA3
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302EA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302EA3 | 1.00 | 10.27 | 2.05 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A6
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #302ea3; /* rgb */ color: rgb(48, 46, 163); /* oklch */ color: oklch(39.0% 0.181 274.8);
Tailwind
colors: {
custom: {
50: '#7968bf',
500: '#302ea3',
950: '#000000',
},
}SCSS
$custom: #302ea3; $custom-light: #7968bf; $custom-dark: #000000;
JSON
{
"hex": "#302ea3",
"rgb": {
"r": 48,
"g": 46,
"b": 163
},
"hsl": {
"h": 241.026,
"s": 55.981,
"l": 40.98
},
"oklch": {
"l": 0.39047,
"c": 0.18122,
"h": 274.8
},
"luminance": 0.05227
}Semantic roles & 50–950 ramp
primary
#302EA3
secondary
#BEBF6D
accent
#DF49DD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81