#392CA3#392CA3
#392CA3 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.181 H 279.0°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #392CA3 |
|---|---|
| RGB | rgb(57, 44, 163) |
| HSL | hsl(247, 57%, 41%) |
| HSV | hsv(247, 73%, 64%) |
| CMYK | cmyk(65%, 73%, 0%, 36.1%) |
| CIE-LAB | lab(27.61, 41.56, -62.05) |
| CIE-LCH | lch(27.61, 74.68, 303.81°) |
| OKLab | oklab(39.39% 0.0282 -0.1791) |
| OKLCH | oklch(39.39% 0.181 279) |
| XYZ | xyz(9.1968, 5.3148, 35.1844) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.17
Sapphire (survey)
#2138AB
ΔE00 4.65
Royal
#0C1793
ΔE00 6.14
Blueberry
#464196
ΔE00 6.51
Ocean Blue
#4F42B5
ΔE00 6.57
True Blue
#010FCC
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#392CA3 #96A32C
analogous
#2C5AA3 #392CA3 #752CA3
triadic
#392CA3 #A3392C #2CA339
tetradic
#392CA3 #A32C5A #96A32C #2CA375
square
#392CA3 #A32C5A #96A32C #2CA375
split-complementary
#392CA3 #A3752C #5AA32C
monochromatic
#171243 #281F73 #392CA3 #5041CC #7C71D9
Accessibility & contrast
On white
10.18
#392CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#392CA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #392CA3
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##392CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##392CA3 | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #392ca3; /* rgb */ color: rgb(57, 44, 163); /* oklch */ color: oklch(39.4% 0.181 279.0);
Tailwind
colors: {
custom: {
50: '#7d67bf',
500: '#392ca3',
950: '#000000',
},
}SCSS
$custom: #392ca3; $custom-light: #7d67bf; $custom-dark: #000000;
JSON
{
"hex": "#392ca3",
"rgb": {
"r": 57,
"g": 44,
"b": 163
},
"hsl": {
"h": 246.555,
"s": 57.488,
"l": 40.588
},
"oklch": {
"l": 0.39393,
"c": 0.1813,
"h": 279
},
"luminance": 0.05316
}Semantic roles & 50–950 ramp
primary
#392CA3
secondary
#B7C06B
accent
#E147D0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81