#3A2D8D#3A2D8D
#3A2D8D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.152 H 282.4°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2D8D |
|---|---|
| RGB | rgb(58, 45, 141) |
| HSL | hsl(248, 52%, 36%) |
| HSV | hsv(248, 68%, 55%) |
| CMYK | cmyk(58.9%, 68.1%, 0%, 44.7%) |
| CIE-LAB | lab(25.86, 33.93, -51.44) |
| CIE-LCH | lch(25.86, 61.62, 303.41°) |
| OKLab | oklab(37.53% 0.0326 -0.148) |
| OKLCH | oklch(37.53% 0.152 282.4) |
| XYZ | xyz(7.4895, 4.6989, 25.7065) |
| Luminance | 0.0470 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.01
Blueberry
#464196
ΔE00 5.76
Sapphire (survey)
#2138AB
ΔE00 6.18
Royal
#0C1793
ΔE00 6.35
Indigo Blue
#3A18B1
ΔE00 6.70
Midnight Blue
#191970
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2D8D #808D2D
analogous
#2D508D #3A2D8D #6A2D8D
triadic
#3A2D8D #8D3A2D #2D8D3A
tetradic
#3A2D8D #8D2D50 #808D2D #2D8D6A
square
#3A2D8D #8D2D50 #808D2D #2D8D6A
split-complementary
#3A2D8D #8D6A2D #508D2D
monochromatic
#140F30 #271E5F #3A2D8D #4D3CBB #7466CE
Accessibility & contrast
On white
10.83
#3A2D8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#3A2D8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2D8D
10.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2D8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2D8D | 1.00 | 10.83 | 1.94 | 10.83 |
| #FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#0B4659
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3a2d8d; /* rgb */ color: rgb(58, 45, 141); /* oklch */ color: oklch(37.5% 0.152 282.4);
Tailwind
colors: {
custom: {
50: '#7967af',
500: '#3a2d8d',
950: '#000000',
},
}SCSS
$custom: #3a2d8d; $custom-light: #7967af; $custom-dark: #000000;
JSON
{
"hex": "#3a2d8d",
"rgb": {
"r": 58,
"g": 45,
"b": 141
},
"hsl": {
"h": 248.125,
"s": 51.613,
"l": 36.471
},
"oklch": {
"l": 0.37528,
"c": 0.15154,
"h": 282.4
},
"luminance": 0.04699
}Semantic roles & 50–950 ramp
primary
#3A2D8D
secondary
#A9B561
accent
#DB4DC8
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F