#3A2F85#3A2F85
#3A2F85 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.138 H 283.2°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2F85 |
|---|---|
| RGB | rgb(58, 47, 133) |
| HSL | hsl(248, 48%, 35%) |
| HSV | hsv(248, 65%, 52%) |
| CMYK | cmyk(56.4%, 64.7%, 0%, 47.8%) |
| CIE-LAB | lab(25.64, 30.04, -46.81) |
| CIE-LCH | lch(25.64, 55.62, 302.68°) |
| OKLab | oklab(37.16% 0.0315 -0.1344) |
| OKLCH | oklch(37.16% 0.138 283.2) |
| XYZ | xyz(6.9938, 4.6256, 22.7101) |
| Luminance | 0.0463 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.30
Blueberry
#464196
ΔE00 5.50
Midnight Blue
#191970
ΔE00 6.89
Sapphire (survey)
#2138AB
ΔE00 6.95
Royal
#0C1793
ΔE00 7.35
Indigo Blue
#3A18B1
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2F85 #7A852F
analogous
#2F4F85 #3A2F85 #652F85
triadic
#3A2F85 #853A2F #2F853A
tetradic
#3A2F85 #852F4F #7A852F #2F8565
square
#3A2F85 #852F4F #7A852F #2F8565
split-complementary
#3A2F85 #85652F #4F852F
monochromatic
#130F2B #261F58 #3A2F85 #4E3FB2 #7266C9
Accessibility & contrast
On white
10.91
#3A2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#3A2F85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2F85
10.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2F85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2F85 | 1.00 | 10.91 | 1.93 | 10.91 |
| #FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#184455
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3a2f85; /* rgb */ color: rgb(58, 47, 133); /* oklch */ color: oklch(37.2% 0.138 283.2);
Tailwind
colors: {
custom: {
50: '#7868a9',
500: '#3a2f85',
950: '#000000',
},
}SCSS
$custom: #3a2f85; $custom-light: #7868a9; $custom-dark: #000000;
JSON
{
"hex": "#3a2f85",
"rgb": {
"r": 58,
"g": 47,
"b": 133
},
"hsl": {
"h": 247.674,
"s": 47.778,
"l": 35.294
},
"oklch": {
"l": 0.37156,
"c": 0.13804,
"h": 283.2
},
"luminance": 0.04626
}Semantic roles & 50–950 ramp
primary
#3A2F85
secondary
#A6B060
accent
#D750C6
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F