#302EA6#302EA6
#302EA6 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.185 H 274.5°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #302EA6 |
|---|---|
| RGB | rgb(48, 46, 166) |
| HSL | hsl(241, 57%, 42%) |
| HSV | hsv(241, 72%, 65%) |
| CMYK | cmyk(71.1%, 72.3%, 0%, 34.9%) |
| CIE-LAB | lab(27.67, 40.32, -63.80) |
| CIE-LCH | lch(27.67, 75.47, 302.29°) |
| OKLab | oklab(39.35% 0.0146 -0.1844) |
| OKLCH | oklch(39.35% 0.185 274.5) |
| XYZ | xyz(9.0766, 5.3347, 36.6204) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.46
Indigo Blue
#3A18B1
ΔE00 4.80
Royal
#0C1793
ΔE00 6.21
Blueberry
#464196
ΔE00 6.49
Ocean Blue
#4F42B5
ΔE00 6.52
True Blue
#010FCC
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302EA6 #A4A62E
analogous
#2E68A6 #302EA6 #6C2EA6
triadic
#302EA6 #A6302E #2EA630
tetradic
#302EA6 #A62E68 #A4A62E #2EA66C
square
#302EA6 #A62E68 #A4A62E #2EA66C
split-complementary
#302EA6 #A66C2E #68A62E
monochromatic
#141346 #222176 #302EA6 #4846CC #7776D9
Accessibility & contrast
On white
10.16
#302EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#302EA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302EA6
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302EA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302EA6 | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #302ea6; /* rgb */ color: rgb(48, 46, 166); /* oklch */ color: oklch(39.4% 0.185 274.5);
Tailwind
colors: {
custom: {
50: '#7a68c2',
500: '#302ea6',
950: '#000000',
},
}SCSS
$custom: #302ea6; $custom-light: #7a68c2; $custom-dark: #000000;
JSON
{
"hex": "#302ea6",
"rgb": {
"r": 48,
"g": 46,
"b": 166
},
"hsl": {
"h": 241,
"s": 56.604,
"l": 41.569
},
"oklch": {
"l": 0.39351,
"c": 0.18503,
"h": 274.5
},
"luminance": 0.05336
}Semantic roles & 50–950 ramp
primary
#302EA6
secondary
#BFC16F
accent
#E048DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81