#392CA5#392CA5
#392CA5 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.184 H 278.7°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #392CA5 |
|---|---|
| RGB | rgb(57, 44, 165) |
| HSL | hsl(246, 58%, 41%) |
| HSV | hsv(246, 73%, 65%) |
| CMYK | cmyk(65.5%, 73.3%, 0%, 35.3%) |
| CIE-LAB | lab(27.81, 42.20, -62.93) |
| CIE-LCH | lch(27.81, 75.77, 303.84°) |
| OKLab | oklab(39.59% 0.0278 -0.1817) |
| OKLCH | oklch(39.59% 0.184 278.7) |
| XYZ | xyz(9.3774, 5.3871, 36.1357) |
| Luminance | 0.0539 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.04
Sapphire (survey)
#2138AB
ΔE00 4.60
Royal
#0C1793
ΔE00 6.24
Ocean Blue
#4F42B5
ΔE00 6.46
True Blue
#010FCC
ΔE00 6.52
Blueberry
#464196
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#392CA5 #98A52C
analogous
#2C5BA5 #392CA5 #752CA5
triadic
#392CA5 #A5392C #2CA539
tetradic
#392CA5 #A52C5B #98A52C #2CA575
square
#392CA5 #A52C5B #98A52C #2CA575
split-complementary
#392CA5 #A5752C #5BA52C
monochromatic
#181244 #281F75 #392CA5 #5142CD #7D72D9
Accessibility & contrast
On white
10.11
#392CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#392CA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #392CA5
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##392CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##392CA5 | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #392ca5; /* rgb */ color: rgb(57, 44, 165); /* oklch */ color: oklch(39.6% 0.184 278.7);
Tailwind
colors: {
custom: {
50: '#7e67c1',
500: '#392ca5',
950: '#000000',
},
}SCSS
$custom: #392ca5; $custom-light: #7e67c1; $custom-dark: #000000;
JSON
{
"hex": "#392ca5",
"rgb": {
"r": 57,
"g": 44,
"b": 165
},
"hsl": {
"h": 246.446,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.39592,
"c": 0.1838,
"h": 278.7
},
"luminance": 0.05388
}Semantic roles & 50–950 ramp
primary
#392CA5
secondary
#B8C16C
accent
#E147D1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81