#392F9D#392F9D
#392F9D is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.170 H 279.2°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #392F9D |
|---|---|
| RGB | rgb(57, 47, 157) |
| HSL | hsl(245, 54%, 40%) |
| HSV | hsv(245, 70%, 62%) |
| CMYK | cmyk(63.7%, 70.1%, 0%, 38.4%) |
| CIE-LAB | lab(27.67, 37.85, -58.31) |
| CIE-LCH | lch(27.67, 69.51, 302.99°) |
| OKLab | oklab(39.26% 0.0271 -0.1681) |
| OKLCH | oklch(39.26% 0.17 279.2) |
| XYZ | xyz(8.7877, 5.3365, 32.4587) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.33
Indigo Blue
#3A18B1
ΔE00 5.32
Blueberry
#464196
ΔE00 5.55
Darkslateblue
#483D8B
ΔE00 5.77
Ocean Blue
#4F42B5
ΔE00 6.42
Royal
#0C1793
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#392F9D #939D2F
analogous
#2F5C9D #392F9D #702F9D
triadic
#392F9D #9D392F #2F9D39
tetradic
#392F9D #9D2F5C #939D2F #2F9D70
square
#392F9D #9D2F5C #939D2F #2F9D70
split-complementary
#392F9D #9D702F #5C9D2F
monochromatic
#17133F #28216E #392F9D #4F43C7 #7B72D5
Accessibility & contrast
On white
10.16
#392F9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#392F9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #392F9D
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##392F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##392F9D | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #392f9d; /* rgb */ color: rgb(57, 47, 157); /* oklch */ color: oklch(39.3% 0.170 279.2);
Tailwind
colors: {
custom: {
50: '#7c69bb',
500: '#392f9d',
950: '#000000',
},
}SCSS
$custom: #392f9d; $custom-light: #7c69bb; $custom-dark: #000000;
JSON
{
"hex": "#392f9d",
"rgb": {
"r": 57,
"g": 47,
"b": 157
},
"hsl": {
"h": 245.455,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.3926,
"c": 0.17032,
"h": 279.2
},
"luminance": 0.05337
}Semantic roles & 50–950 ramp
primary
#392F9D
secondary
#B5BC6B
accent
#DD4BD0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81