#3A2C8D#3A2C8D
#3A2C8D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.153 H 282.7°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2C8D |
|---|---|
| RGB | rgb(58, 44, 141) |
| HSL | hsl(249, 52%, 36%) |
| HSV | hsv(249, 69%, 55%) |
| CMYK | cmyk(58.9%, 68.8%, 0%, 44.7%) |
| CIE-LAB | lab(25.63, 34.54, -51.81) |
| CIE-LCH | lch(25.63, 62.27, 303.69°) |
| OKLab | oklab(37.37% 0.0335 -0.1491) |
| OKLCH | oklch(37.37% 0.153 282.7) |
| XYZ | xyz(7.4518, 4.6235, 25.6939) |
| Luminance | 0.0462 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.25
Blueberry
#464196
ΔE00 6.01
Royal
#0C1793
ΔE00 6.16
Sapphire (survey)
#2138AB
ΔE00 6.32
Indigo Blue
#3A18B1
ΔE00 6.52
Midnight Blue
#191970
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2C8D #7F8D2C
analogous
#2C4F8D #3A2C8D #6B2C8D
triadic
#3A2C8D #8D3A2C #2C8D3A
tetradic
#3A2C8D #8D2C4F #7F8D2C #2C8D6B
square
#3A2C8D #8D2C4F #7F8D2C #2C8D6B
split-complementary
#3A2C8D #8D6B2C #4F8D2C
monochromatic
#140F30 #271D5E #3A2C8D #4D3BBC #7465CF
Accessibility & contrast
On white
10.91
#3A2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#3A2C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2C8D
10.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2C8D | 1.00 | 10.91 | 1.92 | 10.91 |
| #FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#0C4558
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3a2c8d; /* rgb */ color: rgb(58, 44, 141); /* oklch */ color: oklch(37.4% 0.153 282.7);
Tailwind
colors: {
custom: {
50: '#7a66af',
500: '#3a2c8d',
950: '#000000',
},
}SCSS
$custom: #3a2c8d; $custom-light: #7a66af; $custom-dark: #000000;
JSON
{
"hex": "#3a2c8d",
"rgb": {
"r": 58,
"g": 44,
"b": 141
},
"hsl": {
"h": 248.66,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.37366,
"c": 0.15279,
"h": 282.7
},
"luminance": 0.04624
}Semantic roles & 50–950 ramp
primary
#3A2C8D
secondary
#A9B560
accent
#DC4CC7
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F