#393692#393692
#393692 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.147 H 278.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #393692 |
|---|---|
| RGB | rgb(57, 54, 146) |
| HSL | hsl(242, 46%, 39%) |
| HSV | hsv(242, 63%, 57%) |
| CMYK | cmyk(61%, 63%, 0%, 42.7%) |
| CIE-LAB | lab(28.33, 29.77, -50.49) |
| CIE-LCH | lch(28.33, 58.62, 300.53°) |
| OKLab | oklab(39.44% 0.0222 -0.1452) |
| OKLCH | oklch(39.44% 0.147 278.7) |
| XYZ | xyz(8.1932, 5.5829, 27.8344) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.49
Darkslateblue
#483D8B
ΔE00 3.60
Sapphire (survey)
#2138AB
ΔE00 4.51
Ocean Blue
#4F42B5
ΔE00 6.57
Indigo Blue
#3A18B1
ΔE00 8.13
Royal
#0C1793
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393692 #8F9236
analogous
#366192 #393692 #673692
triadic
#393692 #923936 #369239
tetradic
#393692 #923661 #8F9236 #369267
square
#393692 #923661 #8F9236 #369267
split-complementary
#393692 #926736 #619236
monochromatic
#161539 #282565 #393692 #4D49BC #7976CC
Accessibility & contrast
On white
9.92
#393692 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#393692 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393692
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393692 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393692 | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #393692; /* rgb */ color: rgb(57, 54, 146); /* oklch */ color: oklch(39.4% 0.147 278.7);
Tailwind
colors: {
custom: {
50: '#796db3',
500: '#393692',
950: '#000000',
},
}SCSS
$custom: #393692; $custom-light: #796db3; $custom-dark: #000000;
JSON
{
"hex": "#393692",
"rgb": {
"r": 57,
"g": 54,
"b": 146
},
"hsl": {
"h": 241.957,
"s": 46,
"l": 39.216
},
"oklch": {
"l": 0.39443,
"c": 0.1469,
"h": 278.7
},
"luminance": 0.05584
}Semantic roles & 50–950 ramp
primary
#393692
secondary
#B3B56F
accent
#D652D1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80