#392AA5#392AA5
#392AA5 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.3% C 0.186 H 279.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #392AA5 |
|---|---|
| RGB | rgb(57, 42, 165) |
| HSL | hsl(247, 59%, 41%) |
| HSV | hsv(247, 75%, 65%) |
| CMYK | cmyk(65.5%, 74.5%, 0%, 35.3%) |
| CIE-LAB | lab(27.41, 43.32, -63.59) |
| CIE-LCH | lch(27.41, 76.94, 304.26°) |
| OKLab | oklab(39.31% 0.0292 -0.1836) |
| OKLCH | oklch(39.31% 0.186 279) |
| XYZ | xyz(9.3047, 5.2416, 36.1114) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.61
Sapphire (survey)
#2138AB
ΔE00 5.00
Royal
#0C1793
ΔE00 5.94
True Blue
#010FCC
ΔE00 6.24
Ultramarine
#2000B1
ΔE00 6.26
Cobalt Blue
#030AA7
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#392AA5 #96A52A
analogous
#2A58A5 #392AA5 #762AA5
triadic
#392AA5 #A5392A #2AA539
tetradic
#392AA5 #A52A58 #96A52A #2AA576
square
#392AA5 #A52A58 #96A52A #2AA576
split-complementary
#392AA5 #A5762A #58A52A
monochromatic
#171143 #281E74 #392AA5 #503ECE #7C6FDA
Accessibility & contrast
On white
10.25
#392AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#392AA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #392AA5
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##392AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##392AA5 | 1.00 | 10.25 | 2.05 | 10.25 |
| #FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #392aa5; /* rgb */ color: rgb(57, 42, 165); /* oklch */ color: oklch(39.3% 0.186 279.0);
Tailwind
colors: {
custom: {
50: '#7e66c1',
500: '#392aa5',
950: '#000000',
},
}SCSS
$custom: #392aa5; $custom-light: #7e66c1; $custom-dark: #000000;
JSON
{
"hex": "#392aa5",
"rgb": {
"r": 57,
"g": 42,
"b": 165
},
"hsl": {
"h": 247.317,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.3931,
"c": 0.18588,
"h": 279
},
"luminance": 0.05242
}Semantic roles & 50–950 ramp
primary
#392AA5
secondary
#B7C169
accent
#E345CF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81