#392FA3#392FA3
#392FA3 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.178 H 278.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #392FA3 |
|---|---|
| RGB | rgb(57, 47, 163) |
| HSL | hsl(245, 55%, 41%) |
| HSV | hsv(245, 71%, 64%) |
| CMYK | cmyk(65%, 71.2%, 0%, 36.1%) |
| CIE-LAB | lab(28.24, 39.82, -61.02) |
| CIE-LCH | lch(28.24, 72.87, 303.13°) |
| OKLab | oklab(39.84% 0.0261 -0.1761) |
| OKLCH | oklch(39.84% 0.178 278.4) |
| XYZ | xyz(9.3126, 5.5465, 35.2231) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.05
Indigo Blue
#3A18B1
ΔE00 4.86
Blueberry
#464196
ΔE00 5.85
Ocean Blue
#4F42B5
ΔE00 6.01
Darkslateblue
#483D8B
ΔE00 6.32
Royal
#0C1793
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#392FA3 #99A32F
analogous
#2F5FA3 #392FA3 #732FA3
triadic
#392FA3 #A3392F #2FA339
tetradic
#392FA3 #A32F5F #99A32F #2FA373
square
#392FA3 #A32F5F #99A32F #2FA373
split-complementary
#392FA3 #A3732F #5FA32F
monochromatic
#181444 #282173 #392FA3 #5146CA #7E75D7
Accessibility & contrast
On white
9.96
#392FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#392FA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #392FA3
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##392FA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##392FA3 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #392fa3; /* rgb */ color: rgb(57, 47, 163); /* oklch */ color: oklch(39.8% 0.178 278.4);
Tailwind
colors: {
custom: {
50: '#7d69bf',
500: '#392fa3',
950: '#000000',
},
}SCSS
$custom: #392fa3; $custom-light: #7d69bf; $custom-dark: #000000;
JSON
{
"hex": "#392fa3",
"rgb": {
"r": 57,
"g": 47,
"b": 163
},
"hsl": {
"h": 245.172,
"s": 55.238,
"l": 41.176
},
"oklch": {
"l": 0.39838,
"c": 0.17803,
"h": 278.4
},
"luminance": 0.05547
}Semantic roles & 50–950 ramp
primary
#392FA3
secondary
#B8BF6F
accent
#DF49D2
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81