#392AA2#392AA2
#392AA2 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.182 H 279.4°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #392AA2 |
|---|---|
| RGB | rgb(57, 42, 162) |
| HSL | hsl(248, 59%, 40%) |
| HSV | hsv(248, 74%, 64%) |
| CMYK | cmyk(64.8%, 74.1%, 0%, 36.5%) |
| CIE-LAB | lab(27.11, 42.36, -62.27) |
| CIE-LCH | lch(27.11, 75.31, 304.23°) |
| OKLab | oklab(39.01% 0.0298 -0.1797) |
| OKLCH | oklch(39.01% 0.182 279.4) |
| XYZ | xyz(9.0348, 5.1337, 34.6902) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.82
Sapphire (survey)
#2138AB
ΔE00 5.08
Royal
#0C1793
ΔE00 5.77
Cobalt Blue
#030AA7
ΔE00 6.33
Ultramarine
#2000B1
ΔE00 6.37
True Blue
#010FCC
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#392AA2 #93A22A
analogous
#2A57A2 #392AA2 #752AA2
triadic
#392AA2 #A2392A #2AA239
tetradic
#392AA2 #A22A57 #93A22A #2AA275
square
#392AA2 #A22A57 #93A22A #2AA275
split-complementary
#392AA2 #A2752A #57A22A
monochromatic
#171141 #281D71 #392AA2 #4F3DCD #7B6DD9
Accessibility & contrast
On white
10.36
#392AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#392AA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #392AA2
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##392AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##392AA2 | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A6
Deuteranopia (green-blind)
#003BA0
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #392aa2; /* rgb */ color: rgb(57, 42, 162); /* oklch */ color: oklch(39.0% 0.182 279.4);
Tailwind
colors: {
custom: {
50: '#7d66bf',
500: '#392aa2',
950: '#000000',
},
}SCSS
$custom: #392aa2; $custom-light: #7d66bf; $custom-dark: #000000;
JSON
{
"hex": "#392aa2",
"rgb": {
"r": 57,
"g": 42,
"b": 162
},
"hsl": {
"h": 247.5,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.39007,
"c": 0.18217,
"h": 279.4
},
"luminance": 0.05134
}Semantic roles & 50–950 ramp
primary
#392AA2
secondary
#B5C068
accent
#E246CE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81