#393A8A#393A8A
#393A8A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.130 H 278.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #393A8A |
|---|---|
| RGB | rgb(57, 58, 138) |
| HSL | hsl(239, 42%, 38%) |
| HSV | hsv(239, 59%, 54%) |
| CMYK | cmyk(58.7%, 58%, 0%, 45.9%) |
| CIE-LAB | lab(28.72, 24.39, -44.93) |
| CIE-LCH | lch(28.72, 51.12, 298.49°) |
| OKLab | oklab(39.53% 0.0183 -0.1288) |
| OKLCH | oklch(39.53% 0.13 278.1) |
| XYZ | xyz(7.7864, 5.7304, 24.7356) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.87
Blueberry
#464196
ΔE00 3.04
Sapphire (survey)
#2138AB
ΔE00 5.68
Ocean Blue
#4F42B5
ΔE00 7.46
Cobalt (survey)
#1E488F
ΔE00 7.73
Twilight
#4E518B
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393A8A #8A8939
analogous
#39628A #393A8A #60398A
triadic
#393A8A #8A393A #3A8A39
tetradic
#393A8A #8A3962 #8A8939 #398A60
square
#393A8A #8A3962 #8A8939 #398A60
split-complementary
#393A8A #8A6039 #628A39
monochromatic
#151633 #27285F #393A8A #4B4DB5 #7778C7
Accessibility & contrast
On white
9.78
#393A8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#393A8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393A8A
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393A8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393A8A | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#094D5C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #393a8a; /* rgb */ color: rgb(57, 58, 138); /* oklch */ color: oklch(39.5% 0.130 278.1);
Tailwind
colors: {
custom: {
50: '#7770ad',
500: '#393a8a',
950: '#000000',
},
}SCSS
$custom: #393a8a; $custom-light: #7770ad; $custom-dark: #000000;
JSON
{
"hex": "#393a8a",
"rgb": {
"r": 57,
"g": 58,
"b": 138
},
"hsl": {
"h": 239.259,
"s": 41.538,
"l": 38.235
},
"oklch": {
"l": 0.3953,
"c": 0.13012,
"h": 278.1
},
"luminance": 0.05731
}Semantic roles & 50–950 ramp
primary
#393A8A
secondary
#B0AF6F
accent
#D056D1
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090710
muted
#7B7A7F