#3A2F94#3A2F94
#3A2F94 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.158 H 280.9°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2F94 |
|---|---|
| RGB | rgb(58, 47, 148) |
| HSL | hsl(247, 52%, 38%) |
| HSV | hsv(247, 68%, 58%) |
| CMYK | cmyk(60.8%, 68.2%, 0%, 42%) |
| CIE-LAB | lab(26.93, 35.02, -54.01) |
| CIE-LCH | lch(26.93, 64.37, 302.96°) |
| OKLab | oklab(38.5% 0.0298 -0.1555) |
| OKLCH | oklch(38.5% 0.158 280.9) |
| XYZ | xyz(8.1051, 5.0701, 28.5628) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.98
Sapphire (survey)
#2138AB
ΔE00 5.14
Blueberry
#464196
ΔE00 5.25
Indigo Blue
#3A18B1
ΔE00 6.21
Royal
#0C1793
ΔE00 6.52
Ocean Blue
#4F42B5
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2F94 #89942F
analogous
#2F5694 #3A2F94 #6C2F94
triadic
#3A2F94 #943A2F #2F943A
tetradic
#3A2F94 #942F56 #89942F #2F946C
square
#3A2F94 #942F56 #89942F #2F946C
split-complementary
#3A2F94 #946C2F #56942F
monochromatic
#161137 #282066 #3A2F94 #4D3EC2 #786DD1
Accessibility & contrast
On white
10.43
#3A2F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#3A2F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2F94
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2F94 | 1.00 | 10.43 | 2.01 | 10.43 |
| #FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3a2f94; /* rgb */ color: rgb(58, 47, 148); /* oklch */ color: oklch(38.5% 0.158 280.9);
Tailwind
colors: {
custom: {
50: '#7b68b4',
500: '#3a2f94',
950: '#000000',
},
}SCSS
$custom: #3a2f94; $custom-light: #7b68b4; $custom-dark: #000000;
JSON
{
"hex": "#3a2f94",
"rgb": {
"r": 58,
"g": 47,
"b": 148
},
"hsl": {
"h": 246.535,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.38497,
"c": 0.15835,
"h": 280.9
},
"luminance": 0.05071
}Semantic roles & 50–950 ramp
primary
#3A2F94
secondary
#AFB867
accent
#DB4DCC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80