#302CA5#302CA5
#302CA5 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.186 H 274.9°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #302CA5 |
|---|---|
| RGB | rgb(48, 44, 165) |
| HSL | hsl(242, 58%, 41%) |
| HSV | hsv(242, 73%, 65%) |
| CMYK | cmyk(70.9%, 73.3%, 0%, 35.3%) |
| CIE-LAB | lab(27.15, 41.15, -64.05) |
| CIE-LCH | lch(27.15, 76.13, 302.72°) |
| OKLab | oklab(38.95% 0.0159 -0.1852) |
| OKLCH | oklch(38.95% 0.186 274.9) |
| XYZ | xyz(8.9089, 5.1455, 36.1137) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.94
Indigo Blue
#3A18B1
ΔE00 4.39
Royal
#0C1793
ΔE00 5.76
True Blue
#010FCC
ΔE00 6.37
Cobalt Blue
#030AA7
ΔE00 6.40
Ultramarine
#2000B1
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302CA5 #A1A52C
analogous
#2C64A5 #302CA5 #6C2CA5
triadic
#302CA5 #A5302C #2CA530
tetradic
#302CA5 #A52C64 #A1A52C #2CA56C
square
#302CA5 #A52C64 #A1A52C #2CA56C
split-complementary
#302CA5 #A56C2C #64A52C
monochromatic
#141244 #221F75 #302CA5 #4642CD #7572D9
Accessibility & contrast
On white
10.35
#302CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#302CA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302CA5
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302CA5 | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003BA3
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #302ca5; /* rgb */ color: rgb(48, 44, 165); /* oklch */ color: oklch(38.9% 0.186 274.9);
Tailwind
colors: {
custom: {
50: '#7a67c1',
500: '#302ca5',
950: '#000000',
},
}SCSS
$custom: #302ca5; $custom-light: #7a67c1; $custom-dark: #000000;
JSON
{
"hex": "#302ca5",
"rgb": {
"r": 48,
"g": 44,
"b": 165
},
"hsl": {
"h": 241.983,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.38947,
"c": 0.18586,
"h": 274.9
},
"luminance": 0.05146
}Semantic roles & 50–950 ramp
primary
#302CA5
secondary
#BEC16C
accent
#E147DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81