#302CA6#302CA6
#302CA6 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.187 H 274.8°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #302CA6 |
|---|---|
| RGB | rgb(48, 44, 166) |
| HSL | hsl(242, 58%, 41%) |
| HSV | hsv(242, 73%, 65%) |
| CMYK | cmyk(71.1%, 73.5%, 0%, 34.9%) |
| CIE-LAB | lab(27.25, 41.49, -64.49) |
| CIE-LCH | lch(27.25, 76.68, 302.75°) |
| OKLab | oklab(39.05% 0.0157 -0.1865) |
| OKLCH | oklch(39.05% 0.187 274.8) |
| XYZ | xyz(9.0003, 5.1821, 36.5949) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.92
Indigo Blue
#3A18B1
ΔE00 4.33
Royal
#0C1793
ΔE00 5.82
True Blue
#010FCC
ΔE00 6.27
Cobalt Blue
#030AA7
ΔE00 6.40
Ultramarine
#2000B1
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302CA6 #A2A62C
analogous
#2C65A6 #302CA6 #6D2CA6
triadic
#302CA6 #A6302C #2CA630
tetradic
#302CA6 #A62C65 #A2A62C #2CA66D
square
#302CA6 #A62C65 #A2A62C #2CA66D
split-complementary
#302CA6 #A66D2C #65A62C
monochromatic
#141245 #221F76 #302CA6 #4742CD #7673DA
Accessibility & contrast
On white
10.31
#302CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#302CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302CA6
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302CA6 | 1.00 | 10.31 | 2.04 | 10.31 |
| #FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003BA4
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #302ca6; /* rgb */ color: rgb(48, 44, 166); /* oklch */ color: oklch(39.1% 0.187 274.8);
Tailwind
colors: {
custom: {
50: '#7a67c2',
500: '#302ca6',
950: '#000000',
},
}SCSS
$custom: #302ca6; $custom-light: #7a67c2; $custom-dark: #000000;
JSON
{
"hex": "#302ca6",
"rgb": {
"r": 48,
"g": 44,
"b": 166
},
"hsl": {
"h": 241.967,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.39051,
"c": 0.18712,
"h": 274.8
},
"luminance": 0.05183
}Semantic roles & 50–950 ramp
primary
#302CA6
secondary
#BEC16D
accent
#E146DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81