#392CA6#392CA6
#392CA6 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.185 H 278.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #392CA6 |
|---|---|
| RGB | rgb(57, 44, 166) |
| HSL | hsl(246, 58%, 41%) |
| HSV | hsv(246, 73%, 65%) |
| CMYK | cmyk(65.7%, 73.5%, 0%, 34.9%) |
| CIE-LAB | lab(27.91, 42.52, -63.38) |
| CIE-LCH | lch(27.91, 76.32, 303.86°) |
| OKLab | oklab(39.69% 0.0276 -0.183) |
| OKLCH | oklch(39.69% 0.185 278.6) |
| XYZ | xyz(9.4687, 5.4236, 36.6169) |
| Luminance | 0.0542 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.98
Sapphire (survey)
#2138AB
ΔE00 4.58
Royal
#0C1793
ΔE00 6.30
Ocean Blue
#4F42B5
ΔE00 6.41
True Blue
#010FCC
ΔE00 6.42
Blueberry
#464196
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#392CA6 #99A62C
analogous
#2C5CA6 #392CA6 #762CA6
triadic
#392CA6 #A6392C #2CA639
tetradic
#392CA6 #A62C5C #99A62C #2CA676
square
#392CA6 #A62C5C #99A62C #2CA676
split-complementary
#392CA6 #A6762C #5CA62C
monochromatic
#181245 #281F76 #392CA6 #5142CD #7E73DA
Accessibility & contrast
On white
10.07
#392CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#392CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #392CA6
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##392CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##392CA6 | 1.00 | 10.07 | 2.08 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #392ca6; /* rgb */ color: rgb(57, 44, 166); /* oklch */ color: oklch(39.7% 0.185 278.6);
Tailwind
colors: {
custom: {
50: '#7e67c2',
500: '#392ca6',
950: '#000000',
},
}SCSS
$custom: #392ca6; $custom-light: #7e67c2; $custom-dark: #000000;
JSON
{
"hex": "#392ca6",
"rgb": {
"r": 57,
"g": 44,
"b": 166
},
"hsl": {
"h": 246.393,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.39692,
"c": 0.18504,
"h": 278.6
},
"luminance": 0.05424
}Semantic roles & 50–950 ramp
primary
#392CA6
secondary
#B8C16D
accent
#E146D1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81