#3A2F92#3A2F92
#3A2F92 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.156 H 281.1°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2F92 |
|---|---|
| RGB | rgb(58, 47, 146) |
| HSL | hsl(247, 51%, 38%) |
| HSV | hsv(247, 68%, 57%) |
| CMYK | cmyk(60.3%, 67.8%, 0%, 42.7%) |
| CIE-LAB | lab(26.76, 34.36, -53.07) |
| CIE-LCH | lch(26.76, 63.22, 302.92°) |
| OKLab | oklab(38.31% 0.0301 -0.1528) |
| OKLCH | oklch(38.31% 0.156 281.1) |
| XYZ | xyz(7.9481, 5.0073, 27.7362) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.84
Blueberry
#464196
ΔE00 5.23
Sapphire (survey)
#2138AB
ΔE00 5.35
Indigo Blue
#3A18B1
ΔE00 6.45
Royal
#0C1793
ΔE00 6.57
Ocean Blue
#4F42B5
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2F92 #87922F
analogous
#2F5592 #3A2F92 #6C2F92
triadic
#3A2F92 #923A2F #2F923A
tetradic
#3A2F92 #922F55 #87922F #2F926C
square
#3A2F92 #922F55 #87922F #2F926C
split-complementary
#3A2F92 #926C2F #55922F
monochromatic
#151135 #282064 #3A2F92 #4C3EC0 #776CD0
Accessibility & contrast
On white
10.49
#3A2F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#3A2F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2F92
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2F92 | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3a2f92; /* rgb */ color: rgb(58, 47, 146); /* oklch */ color: oklch(38.3% 0.156 281.1);
Tailwind
colors: {
custom: {
50: '#7a68b3',
500: '#3a2f92',
950: '#000000',
},
}SCSS
$custom: #3a2f92; $custom-light: #7a68b3; $custom-dark: #000000;
JSON
{
"hex": "#3a2f92",
"rgb": {
"r": 58,
"g": 47,
"b": 146
},
"hsl": {
"h": 246.667,
"s": 51.295,
"l": 37.843
},
"oklch": {
"l": 0.38313,
"c": 0.1557,
"h": 281.1
},
"luminance": 0.05008
}Semantic roles & 50–950 ramp
primary
#3A2F92
secondary
#AEB766
accent
#DB4DCB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80