#392FB2#392FB2
#392FB2 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.3% C 0.197 H 276.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #392FB2 |
|---|---|
| RGB | rgb(57, 47, 178) |
| HSL | hsl(245, 58%, 44%) |
| HSV | hsv(245, 74%, 70%) |
| CMYK | cmyk(68%, 73.6%, 0%, 30.2%) |
| CIE-LAB | lab(29.70, 44.71, -67.62) |
| CIE-LCH | lch(29.70, 81.06, 303.47°) |
| OKLab | oklab(41.33% 0.0233 -0.1954) |
| OKLCH | oklch(41.33% 0.197 276.8) |
| XYZ | xyz(10.7371, 6.1163, 42.7256) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.13
Indigo Blue
#3A18B1
ΔE00 4.39
Blue With A Hint Of Purple
#533CC6
ΔE00 5.34
Ocean Blue
#4F42B5
ΔE00 5.38
Blurple
#5539CC
ΔE00 5.68
True Blue
#010FCC
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#392FB2 #A8B22F
analogous
#2F67B2 #392FB2 #7B2FB2
triadic
#392FB2 #B2392F #2FB239
tetradic
#392FB2 #B22F67 #A8B22F #2FB27B
square
#392FB2 #B22F67 #A8B22F #2FB27B
split-complementary
#392FB2 #B27B2F #67B22F
monochromatic
#1A1551 #292282 #392FB2 #584ED0 #867EDD
Accessibility & contrast
On white
9.44
#392FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#392FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #392FB2
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##392FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##392FB2 | 1.00 | 9.44 | 2.22 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #392fb2; /* rgb */ color: rgb(57, 47, 178); /* oklch */ color: oklch(41.3% 0.197 276.8);
Tailwind
colors: {
custom: {
50: '#806aca',
500: '#392fb2',
950: '#000000',
},
}SCSS
$custom: #392fb2; $custom-light: #806aca; $custom-dark: #000000;
JSON
{
"hex": "#392fb2",
"rgb": {
"r": 57,
"g": 47,
"b": 178
},
"hsl": {
"h": 244.58,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.41326,
"c": 0.19677,
"h": 276.8
},
"luminance": 0.06117
}Semantic roles & 50–950 ramp
primary
#392FB2
secondary
#C0C677
accent
#E146D6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82