#3A2F86#3A2F86
#3A2F86 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.139 H 283.0°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2F86 |
|---|---|
| RGB | rgb(58, 47, 134) |
| HSL | hsl(248, 48%, 35%) |
| HSV | hsv(248, 65%, 53%) |
| CMYK | cmyk(56.7%, 64.9%, 0%, 47.5%) |
| CIE-LAB | lab(25.72, 30.37, -47.30) |
| CIE-LCH | lch(25.72, 56.21, 302.70°) |
| OKLab | oklab(37.24% 0.0314 -0.1358) |
| OKLCH | oklch(37.24% 0.139 283) |
| XYZ | xyz(7.0632, 4.6534, 23.0756) |
| Luminance | 0.0465 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.31
Blueberry
#464196
ΔE00 5.45
Sapphire (survey)
#2138AB
ΔE00 6.81
Midnight Blue
#191970
ΔE00 6.93
Royal
#0C1793
ΔE00 7.26
Indigo Blue
#3A18B1
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2F86 #7B862F
analogous
#2F4F86 #3A2F86 #652F86
triadic
#3A2F86 #863A2F #2F863A
tetradic
#3A2F86 #862F4F #7B862F #2F8665
square
#3A2F86 #862F4F #7B862F #2F8665
split-complementary
#3A2F86 #86652F #4F862F
monochromatic
#130F2B #261F59 #3A2F86 #4E3FB3 #7366C9
Accessibility & contrast
On white
10.88
#3A2F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#3A2F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2F86
10.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2F86 | 1.00 | 10.88 | 1.93 | 10.88 |
| #FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#174456
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3a2f86; /* rgb */ color: rgb(58, 47, 134); /* oklch */ color: oklch(37.2% 0.139 283.0);
Tailwind
colors: {
custom: {
50: '#7868aa',
500: '#3a2f86',
950: '#000000',
},
}SCSS
$custom: #3a2f86; $custom-light: #7868aa; $custom-dark: #000000;
JSON
{
"hex": "#3a2f86",
"rgb": {
"r": 58,
"g": 47,
"b": 134
},
"hsl": {
"h": 247.586,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.37243,
"c": 0.13942,
"h": 283
},
"luminance": 0.04654
}Semantic roles & 50–950 ramp
primary
#3A2F86
secondary
#A6B060
accent
#D850C7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F