#3A30B6#3A30B6
#3A30B6 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 41.9% C 0.200 H 276.7°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #3A30B6 |
|---|---|
| RGB | rgb(58, 48, 182) |
| HSL | hsl(244, 58%, 45%) |
| HSV | hsv(244, 74%, 71%) |
| CMYK | cmyk(68.1%, 73.6%, 0%, 28.6%) |
| CIE-LAB | lab(30.38, 45.55, -68.89) |
| CIE-LCH | lch(30.38, 82.59, 303.47°) |
| OKLab | oklab(41.94% 0.0232 -0.1991) |
| OKLCH | oklch(41.94% 0.2 276.7) |
| XYZ | xyz(11.2426, 6.3898, 44.8878) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.23
Indigo Blue
#3A18B1
ΔE00 4.66
Blue With A Hint Of Purple
#533CC6
ΔE00 4.82
Ocean Blue
#4F42B5
ΔE00 5.07
Blurple
#5539CC
ΔE00 5.14
Blue Blue
#2242C7
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A30B6 #ACB630
analogous
#3069B6 #3A30B6 #7D30B6
triadic
#3A30B6 #B63A30 #30B63A
tetradic
#3A30B6 #B63069 #ACB630 #30B67D
square
#3A30B6 #B63069 #ACB630 #30B67D
split-complementary
#3A30B6 #B67D30 #69B630
monochromatic
#1B1655 #2B2386 #3A30B6 #5B52D1 #8982DE
Accessibility & contrast
On white
9.22
#3A30B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#3A30B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A30B6
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A30B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A30B6 | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DBA
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #3a30b6; /* rgb */ color: rgb(58, 48, 182); /* oklch */ color: oklch(41.9% 0.200 276.7);
Tailwind
colors: {
custom: {
50: '#816acd',
500: '#3a30b6',
950: '#000000',
},
}SCSS
$custom: #3a30b6; $custom-light: #816acd; $custom-dark: #000000;
JSON
{
"hex": "#3a30b6",
"rgb": {
"r": 58,
"g": 48,
"b": 182
},
"hsl": {
"h": 244.478,
"s": 58.261,
"l": 45.098
},
"oklch": {
"l": 0.41941,
"c": 0.20042,
"h": 276.7
},
"luminance": 0.06391
}Semantic roles & 50–950 ramp
primary
#3A30B6
secondary
#C2C77B
accent
#E146D6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82