#393FA5#393FA5
#393FA5 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.161 H 274.7°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #393FA5 |
|---|---|
| RGB | rgb(57, 63, 165) |
| HSL | hsl(237, 49%, 44%) |
| HSV | hsv(237, 65%, 65%) |
| CMYK | cmyk(65.5%, 61.8%, 0%, 35.3%) |
| CIE-LAB | lab(32.12, 30.59, -55.87) |
| CIE-LCH | lch(32.12, 63.69, 298.70°) |
| OKLab | oklab(42.72% 0.0132 -0.1609) |
| OKLCH | oklch(42.72% 0.161 274.7) |
| XYZ | xyz(10.2541, 7.1406, 36.4279) |
| Luminance | 0.0714 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.96
Blueberry
#464196
ΔE00 3.31
Ocean Blue
#4F42B5
ΔE00 4.11
Blue Blue
#2242C7
ΔE00 4.85
Darkslateblue
#483D8B
ΔE00 5.30
Cobalt
#0047AB
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393FA5 #A59F39
analogous
#3975A5 #393FA5 #6939A5
triadic
#393FA5 #A5393F #3FA539
tetradic
#393FA5 #A53975 #A59F39 #39A569
square
#393FA5 #A53975 #A59F39 #39A569
split-complementary
#393FA5 #A56939 #75A539
monochromatic
#1A1C4A #292E78 #393FA5 #565DC5 #8488D4
Accessibility & contrast
On white
8.65
#393FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#393FA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393FA5
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393FA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393FA5 | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #393fa5; /* rgb */ color: rgb(57, 63, 165); /* oklch */ color: oklch(42.7% 0.161 274.7);
Tailwind
colors: {
custom: {
50: '#7c74c1',
500: '#393fa5',
950: '#000000',
},
}SCSS
$custom: #393fa5; $custom-light: #7c74c1; $custom-dark: #000000;
JSON
{
"hex": "#393fa5",
"rgb": {
"r": 57,
"g": 63,
"b": 165
},
"hsl": {
"h": 236.667,
"s": 48.649,
"l": 43.529
},
"oklch": {
"l": 0.42717,
"c": 0.16148,
"h": 274.7
},
"luminance": 0.07141
}Semantic roles & 50–950 ramp
primary
#393FA5
secondary
#BEBB7B
accent
#D150D8
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81