#392D9C#392D9C
#392D9C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.171 H 279.7°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #392D9C |
|---|---|
| RGB | rgb(57, 45, 156) |
| HSL | hsl(246, 55%, 39%) |
| HSV | hsv(246, 71%, 61%) |
| CMYK | cmyk(63.5%, 71.2%, 0%, 38.8%) |
| CIE-LAB | lab(27.15, 38.70, -58.56) |
| CIE-LCH | lch(27.15, 70.19, 303.46°) |
| OKLab | oklab(38.86% 0.0288 -0.1689) |
| OKLCH | oklch(38.86% 0.171 279.7) |
| XYZ | xyz(8.6246, 5.1463, 31.9849) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.76
Indigo Blue
#3A18B1
ΔE00 4.97
Blueberry
#464196
ΔE00 5.98
Darkslateblue
#483D8B
ΔE00 6.06
Royal
#0C1793
ΔE00 6.06
Ocean Blue
#4F42B5
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#392D9C #909C2D
analogous
#2D599C #392D9C #702D9C
triadic
#392D9C #9C392D #2D9C39
tetradic
#392D9C #9C2D59 #909C2D #2D9C70
square
#392D9C #9C2D59 #909C2D #2D9C70
split-complementary
#392D9C #9C702D #599C2D
monochromatic
#16123D #281F6D #392D9C #4D3FC8 #796ED5
Accessibility & contrast
On white
10.35
#392D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#392D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #392D9C
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##392D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##392D9C | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #392d9c; /* rgb */ color: rgb(57, 45, 156); /* oklch */ color: oklch(38.9% 0.171 279.7);
Tailwind
colors: {
custom: {
50: '#7c67ba',
500: '#392d9c',
950: '#000000',
},
}SCSS
$custom: #392d9c; $custom-light: #7c67ba; $custom-dark: #000000;
JSON
{
"hex": "#392d9c",
"rgb": {
"r": 57,
"g": 45,
"b": 156
},
"hsl": {
"h": 246.486,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.38855,
"c": 0.17133,
"h": 279.7
},
"luminance": 0.05147
}Semantic roles & 50–950 ramp
primary
#392D9C
secondary
#B3BC68
accent
#DF49CE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81