#3A358E#3A358E
#3A358E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.142 H 280.0°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #3A358E |
|---|---|
| RGB | rgb(58, 53, 142) |
| HSL | hsl(243, 46%, 38%) |
| HSV | hsv(243, 63%, 56%) |
| CMYK | cmyk(59.2%, 62.7%, 0%, 44.3%) |
| CIE-LAB | lab(27.84, 29.23, -48.83) |
| CIE-LCH | lch(27.84, 56.91, 300.91°) |
| OKLab | oklab(39% 0.0248 -0.1403) |
| OKLCH | oklch(39% 0.142 280) |
| XYZ | xyz(7.8990, 5.3982, 26.2117) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.35
Blueberry
#464196
ΔE00 3.71
Sapphire (survey)
#2138AB
ΔE00 5.20
Ocean Blue
#4F42B5
ΔE00 7.09
Royal
#0C1793
ΔE00 8.17
Indigo Blue
#3A18B1
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A358E #898E35
analogous
#355C8E #3A358E #66358E
triadic
#3A358E #8E3A35 #358E3A
tetradic
#3A358E #8E355C #898E35 #358E66
square
#3A358E #8E355C #898E35 #358E66
split-complementary
#3A358E #8E6635 #5C8E35
monochromatic
#161435 #282461 #3A358E #4D46BA #7873CB
Accessibility & contrast
On white
10.10
#3A358E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#3A358E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A358E
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A358E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A358E | 1.00 | 10.10 | 2.08 | 10.10 |
| #FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#074B5C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3a358e; /* rgb */ color: rgb(58, 53, 142); /* oklch */ color: oklch(39.0% 0.142 280.0);
Tailwind
colors: {
custom: {
50: '#796cb0',
500: '#3a358e',
950: '#000000',
},
}SCSS
$custom: #3a358e; $custom-light: #796cb0; $custom-dark: #000000;
JSON
{
"hex": "#3a358e",
"rgb": {
"r": 58,
"g": 53,
"b": 142
},
"hsl": {
"h": 243.371,
"s": 45.641,
"l": 38.235
},
"oklch": {
"l": 0.38998,
"c": 0.14247,
"h": 280
},
"luminance": 0.05399
}Semantic roles & 50–950 ramp
primary
#3A358E
secondary
#AFB36C
accent
#D552CE
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F