#393F99#393F99
#393F99 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.145 H 275.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #393F99 |
|---|---|
| RGB | rgb(57, 63, 153) |
| HSL | hsl(236, 46%, 41%) |
| HSV | hsv(236, 63%, 60%) |
| CMYK | cmyk(62.7%, 58.8%, 0%, 40%) |
| CIE-LAB | lab(31.17, 26.36, -50.16) |
| CIE-LCH | lch(31.17, 56.67, 297.72°) |
| OKLab | oklab(41.71% 0.0134 -0.1442) |
| OKLCH | oklch(41.71% 0.145 275.3) |
| XYZ | xyz(9.2127, 6.7240, 30.9432) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.36
Sapphire (survey)
#2138AB
ΔE00 3.98
Darkslateblue
#483D8B
ΔE00 4.07
Ocean Blue
#4F42B5
ΔE00 5.48
Cobalt
#0047AB
ΔE00 6.32
Blue Blue
#2242C7
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393F99 #999339
analogous
#396F99 #393F99 #633999
triadic
#393F99 #99393F #3F9939
tetradic
#393F99 #99396F #999339 #399963
square
#393F99 #99396F #999339 #399963
split-complementary
#393F99 #996339 #6F9939
monochromatic
#181A40 #282D6C #393F99 #5158BE #7E83CF
Accessibility & contrast
On white
8.96
#393F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#393F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393F99
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393F99 | 1.00 | 8.96 | 2.35 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #393f99; /* rgb */ color: rgb(57, 63, 153); /* oklch */ color: oklch(41.7% 0.145 275.3);
Tailwind
colors: {
custom: {
50: '#7a74b8',
500: '#393f99',
950: '#000000',
},
}SCSS
$custom: #393f99; $custom-light: #7a74b8; $custom-dark: #000000;
JSON
{
"hex": "#393f99",
"rgb": {
"r": 57,
"g": 63,
"b": 153
},
"hsl": {
"h": 236.25,
"s": 45.714,
"l": 41.176
},
"oklch": {
"l": 0.41711,
"c": 0.14479,
"h": 275.3
},
"luminance": 0.06725
}Semantic roles & 50–950 ramp
primary
#393F99
secondary
#B8B476
accent
#CD52D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80