#3A349C#3A349C
#3A349C is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.163 H 278.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #3A349C |
|---|---|
| RGB | rgb(58, 52, 156) |
| HSL | hsl(243, 50%, 41%) |
| HSV | hsv(243, 67%, 61%) |
| CMYK | cmyk(62.8%, 66.7%, 0%, 38.8%) |
| CIE-LAB | lab(28.79, 34.61, -55.87) |
| CIE-LCH | lch(28.79, 65.72, 301.78°) |
| OKLab | oklab(40.06% 0.0245 -0.161) |
| OKLCH | oklch(40.06% 0.163 278.7) |
| XYZ | xyz(8.9717, 5.7551, 32.0841) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.72
Blueberry
#464196
ΔE00 4.26
Darkslateblue
#483D8B
ΔE00 4.78
Ocean Blue
#4F42B5
ΔE00 5.67
Indigo Blue
#3A18B1
ΔE00 6.59
Blue With A Hint Of Purple
#533CC6
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A349C #969C34
analogous
#34629C #3A349C #6E349C
triadic
#3A349C #9C3A34 #349C3A
tetradic
#3A349C #9C3462 #969C34 #349C6E
square
#3A349C #9C3462 #969C34 #349C6E
split-complementary
#3A349C #9C6E34 #629C34
monochromatic
#181540 #29256E #3A349C #514AC3 #7D78D2
Accessibility & contrast
On white
9.76
#3A349C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#3A349C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A349C
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A349C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A349C | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #3a349c; /* rgb */ color: rgb(58, 52, 156); /* oklch */ color: oklch(40.1% 0.163 278.7);
Tailwind
colors: {
custom: {
50: '#7c6cba',
500: '#3a349c',
950: '#000000',
},
}SCSS
$custom: #3a349c; $custom-light: #7c6cba; $custom-dark: #000000;
JSON
{
"hex": "#3a349c",
"rgb": {
"r": 58,
"g": 52,
"b": 156
},
"hsl": {
"h": 243.462,
"s": 50,
"l": 40.784
},
"oklch": {
"l": 0.40056,
"c": 0.16284,
"h": 278.7
},
"luminance": 0.05756
}Semantic roles & 50–950 ramp
primary
#3A349C
secondary
#B6BB71
accent
#DA4ED1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0712
muted
#7C7A81