#3A359F#3A359F
#3A359F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.166 H 278.1°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #3A359F |
|---|---|
| RGB | rgb(58, 53, 159) |
| HSL | hsl(243, 50%, 42%) |
| HSV | hsv(243, 67%, 62%) |
| CMYK | cmyk(63.5%, 66.7%, 0%, 37.6%) |
| CIE-LAB | lab(29.28, 35.01, -56.88) |
| CIE-LCH | lch(29.28, 66.79, 301.61°) |
| OKLab | oklab(40.5% 0.0233 -0.164) |
| OKLCH | oklch(40.5% 0.166 278.1) |
| XYZ | xyz(9.2740, 5.9482, 33.4536) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.37
Blueberry
#464196
ΔE00 4.21
Darkslateblue
#483D8B
ΔE00 4.97
Ocean Blue
#4F42B5
ΔE00 5.26
Indigo Blue
#3A18B1
ΔE00 6.61
Blue With A Hint Of Purple
#533CC6
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A359F #9A9F35
analogous
#35659F #3A359F #6F359F
triadic
#3A359F #9F3A35 #359F3A
tetradic
#3A359F #9F3565 #9A9F35 #359F6F
square
#3A359F #9F3565 #9A9F35 #359F6F
split-complementary
#3A359F #9F6F35 #659F35
monochromatic
#191643 #292671 #3A359F #534DC4 #7F7BD3
Accessibility & contrast
On white
9.59
#3A359F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#3A359F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A359F
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A359F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A359F | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #3a359f; /* rgb */ color: rgb(58, 53, 159); /* oklch */ color: oklch(40.5% 0.166 278.1);
Tailwind
colors: {
custom: {
50: '#7c6dbc',
500: '#3a359f',
950: '#000000',
},
}SCSS
$custom: #3a359f; $custom-light: #7c6dbc; $custom-dark: #000000;
JSON
{
"hex": "#3a359f",
"rgb": {
"r": 58,
"g": 53,
"b": 159
},
"hsl": {
"h": 242.83,
"s": 50,
"l": 41.569
},
"oklch": {
"l": 0.40497,
"c": 0.1656,
"h": 278.1
},
"luminance": 0.05949
}Semantic roles & 50–950 ramp
primary
#3A359F
secondary
#B9BC74
accent
#DA4ED3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81