#393892#393892
#393892 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.144 H 278.1°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #393892 |
|---|---|
| RGB | rgb(57, 56, 146) |
| HSL | hsl(241, 45%, 40%) |
| HSV | hsv(241, 62%, 57%) |
| CMYK | cmyk(61%, 61.6%, 0%, 42.7%) |
| CIE-LAB | lab(28.83, 28.48, -49.68) |
| CIE-LCH | lch(28.83, 57.27, 299.82°) |
| OKLab | oklab(39.81% 0.0203 -0.1428) |
| OKLCH | oklch(39.81% 0.144 278.1) |
| XYZ | xyz(8.2882, 5.7729, 27.8661) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.04
Darkslateblue
#483D8B
ΔE00 3.38
Sapphire (survey)
#2138AB
ΔE00 4.44
Ocean Blue
#4F42B5
ΔE00 6.43
Blue Blue
#2242C7
ΔE00 8.02
Cobalt
#0047AB
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393892 #919238
analogous
#386492 #393892 #663892
triadic
#393892 #923938 #389239
tetradic
#393892 #923864 #919238 #389266
square
#393892 #923864 #919238 #389266
split-complementary
#393892 #926638 #649238
monochromatic
#16163A #282766 #393892 #4E4DBB #7A79CC
Accessibility & contrast
On white
9.75
#393892 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#393892 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393892
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393892 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393892 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #393892; /* rgb */ color: rgb(57, 56, 146); /* oklch */ color: oklch(39.8% 0.144 278.1);
Tailwind
colors: {
custom: {
50: '#796fb3',
500: '#393892',
950: '#000000',
},
}SCSS
$custom: #393892; $custom-light: #796fb3; $custom-dark: #000000;
JSON
{
"hex": "#393892",
"rgb": {
"r": 57,
"g": 56,
"b": 146
},
"hsl": {
"h": 240.667,
"s": 44.554,
"l": 39.608
},
"oklch": {
"l": 0.39808,
"c": 0.14426,
"h": 278.1
},
"luminance": 0.05774
}Semantic roles & 50–950 ramp
primary
#393892
secondary
#B4B571
accent
#D454D3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80