#393A99#393A99
#393A99 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.151 H 276.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #393A99 |
|---|---|
| RGB | rgb(57, 58, 153) |
| HSL | hsl(239, 46%, 41%) |
| HSV | hsv(239, 63%, 60%) |
| CMYK | cmyk(62.7%, 62.1%, 0%, 40%) |
| CIE-LAB | lab(29.90, 29.62, -52.23) |
| CIE-LCH | lch(29.90, 60.04, 299.55°) |
| OKLab | oklab(40.77% 0.0181 -0.1503) |
| OKLCH | oklch(40.77% 0.151 276.9) |
| XYZ | xyz(8.9483, 6.1952, 30.8551) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.83
Sapphire (survey)
#2138AB
ΔE00 3.56
Darkslateblue
#483D8B
ΔE00 3.92
Ocean Blue
#4F42B5
ΔE00 5.48
Blue Blue
#2242C7
ΔE00 6.86
Cobalt
#0047AB
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393A99 #999839
analogous
#396A99 #393A99 #683999
triadic
#393A99 #99393A #3A9939
tetradic
#393A99 #99396A #999839 #399968
square
#393A99 #99396A #999839 #399968
split-complementary
#393A99 #996839 #6A9939
monochromatic
#181840 #28296C #393A99 #5152BE #7E7ECF
Accessibility & contrast
On white
9.38
#393A99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#393A99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393A99
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393A99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393A99 | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #393a99; /* rgb */ color: rgb(57, 58, 153); /* oklch */ color: oklch(40.8% 0.151 276.9);
Tailwind
colors: {
custom: {
50: '#7a70b8',
500: '#393a99',
950: '#000000',
},
}SCSS
$custom: #393a99; $custom-light: #7a70b8; $custom-dark: #000000;
JSON
{
"hex": "#393a99",
"rgb": {
"r": 57,
"g": 58,
"b": 153
},
"hsl": {
"h": 239.375,
"s": 45.714,
"l": 41.176
},
"oklch": {
"l": 0.40772,
"c": 0.15138,
"h": 276.9
},
"luminance": 0.06196
}Semantic roles & 50–950 ramp
primary
#393A99
secondary
#B8B876
accent
#D452D5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80