#392CA0#392CA0
#392CA0 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.178 H 279.3°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #392CA0 |
|---|---|
| RGB | rgb(57, 44, 160) |
| HSL | hsl(247, 57%, 40%) |
| HSV | hsv(247, 73%, 63%) |
| CMYK | cmyk(64.4%, 72.5%, 0%, 37.3%) |
| CIE-LAB | lab(27.32, 40.59, -60.71) |
| CIE-LCH | lch(27.32, 73.03, 303.76°) |
| OKLab | oklab(39.1% 0.0288 -0.1752) |
| OKLCH | oklch(39.1% 0.178 279.3) |
| XYZ | xyz(8.9312, 5.2086, 33.7856) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.40
Sapphire (survey)
#2138AB
ΔE00 4.75
Royal
#0C1793
ΔE00 6.00
Blueberry
#464196
ΔE00 6.37
Darkslateblue
#483D8B
ΔE00 6.57
Ocean Blue
#4F42B5
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#392CA0 #93A02C
analogous
#2C59A0 #392CA0 #732CA0
triadic
#392CA0 #A0392C #2CA039
tetradic
#392CA0 #A02C59 #93A02C #2CA073
square
#392CA0 #A02C59 #93A02C #2CA073
split-complementary
#392CA0 #A0732C #59A02C
monochromatic
#171240 #281F70 #392CA0 #4F3FCA #7B6FD7
Accessibility & contrast
On white
10.29
#392CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#392CA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #392CA0
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##392CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##392CA0 | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #392ca0; /* rgb */ color: rgb(57, 44, 160); /* oklch */ color: oklch(39.1% 0.178 279.3);
Tailwind
colors: {
custom: {
50: '#7d67bd',
500: '#392ca0',
950: '#000000',
},
}SCSS
$custom: #392ca0; $custom-light: #7d67bd; $custom-dark: #000000;
JSON
{
"hex": "#392ca0",
"rgb": {
"r": 57,
"g": 44,
"b": 160
},
"hsl": {
"h": 246.724,
"s": 56.863,
"l": 40
},
"oklch": {
"l": 0.39096,
"c": 0.17753,
"h": 279.3
},
"luminance": 0.05209
}Semantic roles & 50–950 ramp
primary
#392CA0
secondary
#B5BF69
accent
#E048CF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81