#392CA7#392CA7
#392CA7 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.186 H 278.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #392CA7 |
|---|---|
| RGB | rgb(57, 44, 167) |
| HSL | hsl(246, 58%, 41%) |
| HSV | hsv(246, 74%, 65%) |
| CMYK | cmyk(65.9%, 73.7%, 0%, 34.5%) |
| CIE-LAB | lab(28.01, 42.84, -63.82) |
| CIE-LCH | lch(28.01, 76.86, 303.88°) |
| OKLab | oklab(39.79% 0.0274 -0.1842) |
| OKLCH | oklch(39.79% 0.186 278.5) |
| XYZ | xyz(9.5608, 5.4605, 37.1019) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.93
Sapphire (survey)
#2138AB
ΔE00 4.56
True Blue
#010FCC
ΔE00 6.33
Ocean Blue
#4F42B5
ΔE00 6.36
Royal
#0C1793
ΔE00 6.36
Ultramarine
#2000B1
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#392CA7 #9AA72C
analogous
#2C5DA7 #392CA7 #772CA7
triadic
#392CA7 #A7392C #2CA739
tetradic
#392CA7 #A72C5D #9AA72C #2CA777
square
#392CA7 #A72C5D #9AA72C #2CA777
split-complementary
#392CA7 #A7772C #5DA72C
monochromatic
#181246 #281F77 #392CA7 #5143CD #7E73DA
Accessibility & contrast
On white
10.04
#392CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#392CA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #392CA7
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##392CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##392CA7 | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #392ca7; /* rgb */ color: rgb(57, 44, 167); /* oklch */ color: oklch(39.8% 0.186 278.5);
Tailwind
colors: {
custom: {
50: '#7e67c2',
500: '#392ca7',
950: '#000000',
},
}SCSS
$custom: #392ca7; $custom-light: #7e67c2; $custom-dark: #000000;
JSON
{
"hex": "#392ca7",
"rgb": {
"r": 57,
"g": 44,
"b": 167
},
"hsl": {
"h": 246.341,
"s": 58.294,
"l": 41.373
},
"oklch": {
"l": 0.39792,
"c": 0.18628,
"h": 278.5
},
"luminance": 0.05461
}Semantic roles & 50–950 ramp
primary
#392CA7
secondary
#B9C26D
accent
#E246D1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82