#3A2F95#3A2F95
#3A2F95 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.160 H 280.7°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2F95 |
|---|---|
| RGB | rgb(58, 47, 149) |
| HSL | hsl(246, 52%, 38%) |
| HSV | hsv(246, 68%, 58%) |
| CMYK | cmyk(61.1%, 68.5%, 0%, 41.6%) |
| CIE-LAB | lab(27.02, 35.35, -54.47) |
| CIE-LCH | lch(27.02, 64.94, 302.98°) |
| OKLab | oklab(38.59% 0.0297 -0.1569) |
| OKLCH | oklch(38.59% 0.16 280.7) |
| XYZ | xyz(8.1845, 5.1019, 28.9814) |
| Luminance | 0.0510 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.05
Darkslateblue
#483D8B
ΔE00 5.06
Blueberry
#464196
ΔE00 5.27
Indigo Blue
#3A18B1
ΔE00 6.09
Royal
#0C1793
ΔE00 6.51
Ocean Blue
#4F42B5
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2F95 #8A952F
analogous
#2F5795 #3A2F95 #6D2F95
triadic
#3A2F95 #953A2F #2F953A
tetradic
#3A2F95 #952F57 #8A952F #2F956D
square
#3A2F95 #952F57 #8A952F #2F956D
split-complementary
#3A2F95 #956D2F #57952F
monochromatic
#161238 #282066 #3A2F95 #4D3FC2 #786DD1
Accessibility & contrast
On white
10.39
#3A2F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#3A2F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2F95
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2F95 | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3a2f95; /* rgb */ color: rgb(58, 47, 149); /* oklch */ color: oklch(38.6% 0.160 280.7);
Tailwind
colors: {
custom: {
50: '#7b68b5',
500: '#3a2f95',
950: '#000000',
},
}SCSS
$custom: #3a2f95; $custom-light: #7b68b5; $custom-dark: #000000;
JSON
{
"hex": "#3a2f95",
"rgb": {
"r": 58,
"g": 47,
"b": 149
},
"hsl": {
"h": 246.471,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.38589,
"c": 0.15968,
"h": 280.7
},
"luminance": 0.05102
}Semantic roles & 50–950 ramp
primary
#3A2F95
secondary
#B0B867
accent
#DB4CCC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80