#392FA2#392FA2
#392FA2 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.177 H 278.6°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #392FA2 |
|---|---|
| RGB | rgb(57, 47, 162) |
| HSL | hsl(245, 55%, 41%) |
| HSV | hsv(245, 71%, 64%) |
| CMYK | cmyk(64.8%, 71%, 0%, 36.5%) |
| CIE-LAB | lab(28.14, 39.49, -60.57) |
| CIE-LCH | lch(28.14, 72.31, 303.11°) |
| OKLab | oklab(39.74% 0.0263 -0.1748) |
| OKLCH | oklch(39.74% 0.177 278.6) |
| XYZ | xyz(9.2233, 5.5108, 34.7531) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.09
Indigo Blue
#3A18B1
ΔE00 4.92
Blueberry
#464196
ΔE00 5.79
Ocean Blue
#4F42B5
ΔE00 6.08
Darkslateblue
#483D8B
ΔE00 6.23
Royal
#0C1793
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#392FA2 #98A22F
analogous
#2F5EA2 #392FA2 #722FA2
triadic
#392FA2 #A2392F #2FA239
tetradic
#392FA2 #A22F5E #98A22F #2FA272
square
#392FA2 #A22F5E #98A22F #2FA272
split-complementary
#392FA2 #A2722F #5EA22F
monochromatic
#181343 #282173 #392FA2 #5145C9 #7D75D7
Accessibility & contrast
On white
9.99
#392FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#392FA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #392FA2
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##392FA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##392FA2 | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #392fa2; /* rgb */ color: rgb(57, 47, 162); /* oklch */ color: oklch(39.7% 0.177 278.6);
Tailwind
colors: {
custom: {
50: '#7d69bf',
500: '#392fa2',
950: '#000000',
},
}SCSS
$custom: #392fa2; $custom-light: #7d69bf; $custom-dark: #000000;
JSON
{
"hex": "#392fa2",
"rgb": {
"r": 57,
"g": 47,
"b": 162
},
"hsl": {
"h": 245.217,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.39741,
"c": 0.17675,
"h": 278.6
},
"luminance": 0.05512
}Semantic roles & 50–950 ramp
primary
#392FA2
secondary
#B8BF6E
accent
#DE49D1
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81