#302EA7#302EA7
#302EA7 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.186 H 274.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #302EA7 |
|---|---|
| RGB | rgb(48, 46, 167) |
| HSL | hsl(241, 57%, 42%) |
| HSV | hsv(241, 72%, 65%) |
| CMYK | cmyk(71.3%, 72.5%, 0%, 34.5%) |
| CIE-LAB | lab(27.77, 40.66, -64.24) |
| CIE-LCH | lch(27.77, 76.02, 302.33°) |
| OKLab | oklab(39.45% 0.0144 -0.1857) |
| OKLCH | oklch(39.45% 0.186 274.4) |
| XYZ | xyz(9.1687, 5.3715, 37.1053) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.45
Indigo Blue
#3A18B1
ΔE00 4.74
Royal
#0C1793
ΔE00 6.27
Ocean Blue
#4F42B5
ΔE00 6.47
True Blue
#010FCC
ΔE00 6.52
Blueberry
#464196
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302EA7 #A5A72E
analogous
#2E69A7 #302EA7 #6D2EA7
triadic
#302EA7 #A7302E #2EA730
tetradic
#302EA7 #A72E69 #A5A72E #2EA76D
square
#302EA7 #A72E69 #A5A72E #2EA76D
split-complementary
#302EA7 #A76D2E #69A72E
monochromatic
#141447 #222177 #302EA7 #4846CC #7876D9
Accessibility & contrast
On white
10.12
#302EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#302EA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302EA7
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302EA7 | 1.00 | 10.12 | 2.07 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003CA5
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #302ea7; /* rgb */ color: rgb(48, 46, 167); /* oklch */ color: oklch(39.5% 0.186 274.4);
Tailwind
colors: {
custom: {
50: '#7a68c2',
500: '#302ea7',
950: '#000000',
},
}SCSS
$custom: #302ea7; $custom-light: #7a68c2; $custom-dark: #000000;
JSON
{
"hex": "#302ea7",
"rgb": {
"r": 48,
"g": 46,
"b": 167
},
"hsl": {
"h": 240.992,
"s": 56.808,
"l": 41.765
},
"oklch": {
"l": 0.39452,
"c": 0.18628,
"h": 274.4
},
"luminance": 0.05372
}Semantic roles & 50–950 ramp
primary
#302EA7
secondary
#C0C170
accent
#E048DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82