#302EA9#302EA9
#302EA9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.189 H 274.3°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #302EA9 |
|---|---|
| RGB | rgb(48, 46, 169) |
| HSL | hsl(241, 57%, 42%) |
| HSV | hsv(241, 73%, 66%) |
| CMYK | cmyk(71.6%, 72.8%, 0%, 33.7%) |
| CIE-LAB | lab(27.97, 41.33, -65.11) |
| CIE-LCH | lch(27.97, 77.12, 302.41°) |
| OKLab | oklab(39.66% 0.0141 -0.1883) |
| OKLCH | oklch(39.66% 0.189 274.3) |
| XYZ | xyz(9.3550, 5.4460, 38.0866) |
| Luminance | 0.0545 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.44
Indigo Blue
#3A18B1
ΔE00 4.64
True Blue
#010FCC
ΔE00 6.34
Ocean Blue
#4F42B5
ΔE00 6.38
Royal
#0C1793
ΔE00 6.39
Blueberry
#464196
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302EA9 #A7A92E
analogous
#2E69A9 #302EA9 #6E2EA9
triadic
#302EA9 #A9302E #2EA930
tetradic
#302EA9 #A92E69 #A7A92E #2EA96E
square
#302EA9 #A92E69 #A7A92E #2EA96E
split-complementary
#302EA9 #A96E2E #69A92E
monochromatic
#151449 #222179 #302EA9 #4947CD #7977DA
Accessibility & contrast
On white
10.05
#302EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#302EA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302EA9
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302EA9 | 1.00 | 10.05 | 2.09 | 10.05 |
| #FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #302ea9; /* rgb */ color: rgb(48, 46, 169); /* oklch */ color: oklch(39.7% 0.189 274.3);
Tailwind
colors: {
custom: {
50: '#7b68c4',
500: '#302ea9',
950: '#000000',
},
}SCSS
$custom: #302ea9; $custom-light: #7b68c4; $custom-dark: #000000;
JSON
{
"hex": "#302ea9",
"rgb": {
"r": 48,
"g": 46,
"b": 169
},
"hsl": {
"h": 240.976,
"s": 57.209,
"l": 42.157
},
"oklch": {
"l": 0.39657,
"c": 0.1888,
"h": 274.3
},
"luminance": 0.05447
}Semantic roles & 50–950 ramp
primary
#302EA9
secondary
#C1C271
accent
#E047DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82