#3A329C#3A329C
#3A329C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.165 H 279.1°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #3A329C |
|---|---|
| RGB | rgb(58, 50, 156) |
| HSL | hsl(245, 51%, 40%) |
| HSV | hsv(245, 68%, 61%) |
| CMYK | cmyk(62.8%, 67.9%, 0%, 38.8%) |
| CIE-LAB | lab(28.33, 35.85, -56.62) |
| CIE-LCH | lch(28.33, 67.01, 302.34°) |
| OKLab | oklab(39.73% 0.0262 -0.1632) |
| OKLCH | oklch(39.73% 0.165 279.1) |
| XYZ | xyz(8.8844, 5.5804, 32.0550) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.00
Blueberry
#464196
ΔE00 4.74
Darkslateblue
#483D8B
ΔE00 5.10
Ocean Blue
#4F42B5
ΔE00 5.96
Indigo Blue
#3A18B1
ΔE00 6.09
Royal
#0C1793
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A329C #949C32
analogous
#325F9C #3A329C #6F329C
triadic
#3A329C #9C3A32 #329C3A
tetradic
#3A329C #9C325F #949C32 #329C6F
square
#3A329C #9C325F #949C32 #329C6F
split-complementary
#3A329C #9C6F32 #5F9C32
monochromatic
#18143F #29236E #3A329C #5147C4 #7D75D3
Accessibility & contrast
On white
9.92
#3A329C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#3A329C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A329C
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A329C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A329C | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #3a329c; /* rgb */ color: rgb(58, 50, 156); /* oklch */ color: oklch(39.7% 0.165 279.1);
Tailwind
colors: {
custom: {
50: '#7c6bba',
500: '#3a329c',
950: '#000000',
},
}SCSS
$custom: #3a329c; $custom-light: #7c6bba; $custom-dark: #000000;
JSON
{
"hex": "#3a329c",
"rgb": {
"r": 58,
"g": 50,
"b": 156
},
"hsl": {
"h": 244.528,
"s": 51.456,
"l": 40.392
},
"oklch": {
"l": 0.39725,
"c": 0.16527,
"h": 279.1
},
"luminance": 0.05581
}Semantic roles & 50–950 ramp
primary
#3A329C
secondary
#B5BB6F
accent
#DB4DD0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81