#393F89#393F89
#393F89 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.122 H 276.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #393F89 |
|---|---|
| RGB | rgb(57, 63, 137) |
| HSL | hsl(236, 41%, 38%) |
| HSV | hsv(236, 58%, 54%) |
| CMYK | cmyk(58.4%, 54%, 0%, 46.3%) |
| CIE-LAB | lab(29.99, 20.71, -42.27) |
| CIE-LCH | lch(29.99, 47.07, 296.11°) |
| OKLab | oklab(40.45% 0.0128 -0.1209) |
| OKLCH | oklch(40.45% 0.122 276) |
| XYZ | xyz(7.9788, 6.2304, 24.4442) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.10
Darkslateblue
#483D8B
ΔE00 3.45
Sapphire (survey)
#2138AB
ΔE00 6.26
Cobalt (survey)
#1E488F
ΔE00 6.36
Twilight
#4E518B
ΔE00 6.42
Cobalt
#0047AB
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393F89 #898339
analogous
#396789 #393F89 #5B3989
triadic
#393F89 #89393F #3F8939
tetradic
#393F89 #893967 #898339 #39895B
square
#393F89 #893967 #898339 #39895B
split-complementary
#393F89 #895B39 #678939
monochromatic
#151733 #272B5E #393F89 #4B53B4 #767CC6
Accessibility & contrast
On white
9.35
#393F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#393F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393F89
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393F89 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#154A8C
Deuteranopia (green-blind)
#034387
Tritanopia (blue-blind)
#09505D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #393f89; /* rgb */ color: rgb(57, 63, 137); /* oklch */ color: oklch(40.5% 0.122 276.0);
Tailwind
colors: {
custom: {
50: '#7774ac',
500: '#393f89',
950: '#000000',
},
}SCSS
$custom: #393f89; $custom-light: #7774ac; $custom-dark: #000000;
JSON
{
"hex": "#393f89",
"rgb": {
"r": 57,
"g": 63,
"b": 137
},
"hsl": {
"h": 235.5,
"s": 41.237,
"l": 38.039
},
"oklch": {
"l": 0.40452,
"c": 0.12161,
"h": 276
},
"luminance": 0.06231
}Semantic roles & 50–950 ramp
primary
#393F89
secondary
#AFAA6F
accent
#C857D1
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090810
muted
#7B7B7F