#3A2F96#3A2F96
#3A2F96 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.161 H 280.6°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2F96 |
|---|---|
| RGB | rgb(58, 47, 150) |
| HSL | hsl(246, 52%, 39%) |
| HSV | hsv(246, 69%, 59%) |
| CMYK | cmyk(61.3%, 68.7%, 0%, 41.2%) |
| CIE-LAB | lab(27.11, 35.68, -54.94) |
| CIE-LCH | lch(27.11, 65.51, 303.00°) |
| OKLab | oklab(38.68% 0.0296 -0.1583) |
| OKLCH | oklch(38.68% 0.161 280.6) |
| XYZ | xyz(8.2647, 5.1340, 29.4037) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.96
Darkslateblue
#483D8B
ΔE00 5.13
Blueberry
#464196
ΔE00 5.29
Indigo Blue
#3A18B1
ΔE00 5.98
Royal
#0C1793
ΔE00 6.49
Ocean Blue
#4F42B5
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2F96 #8B962F
analogous
#2F5796 #3A2F96 #6D2F96
triadic
#3A2F96 #963A2F #2F963A
tetradic
#3A2F96 #962F57 #8B962F #2F966D
square
#3A2F96 #962F57 #8B962F #2F966D
split-complementary
#3A2F96 #966D2F #57962F
monochromatic
#161239 #282067 #3A2F96 #4D3FC3 #796ED2
Accessibility & contrast
On white
10.36
#3A2F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#3A2F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2F96
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2F96 | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3a2f96; /* rgb */ color: rgb(58, 47, 150); /* oklch */ color: oklch(38.7% 0.161 280.6);
Tailwind
colors: {
custom: {
50: '#7b68b6',
500: '#3a2f96',
950: '#000000',
},
}SCSS
$custom: #3a2f96; $custom-light: #7b68b6; $custom-dark: #000000;
JSON
{
"hex": "#3a2f96",
"rgb": {
"r": 58,
"g": 47,
"b": 150
},
"hsl": {
"h": 246.408,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.38681,
"c": 0.161,
"h": 280.6
},
"luminance": 0.05135
}Semantic roles & 50–950 ramp
primary
#3A2F96
secondary
#B0B968
accent
#DC4CCC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80