#393F8A#393F8A
#393F8A is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.123 H 276.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #393F8A |
|---|---|
| RGB | rgb(57, 63, 138) |
| HSL | hsl(236, 42%, 38%) |
| HSV | hsv(236, 59%, 54%) |
| CMYK | cmyk(58.7%, 54.3%, 0%, 45.9%) |
| CIE-LAB | lab(30.06, 21.06, -42.77) |
| CIE-LCH | lch(30.06, 47.67, 296.22°) |
| OKLab | oklab(40.53% 0.0129 -0.1224) |
| OKLCH | oklch(40.53% 0.123 276) |
| XYZ | xyz(8.0508, 6.2593, 24.8237) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.99
Darkslateblue
#483D8B
ΔE00 3.43
Sapphire (survey)
#2138AB
ΔE00 6.10
Cobalt (survey)
#1E488F
ΔE00 6.34
Twilight
#4E518B
ΔE00 6.47
Cobalt
#0047AB
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393F8A #8A8439
analogous
#39678A #393F8A #5B398A
triadic
#393F8A #8A393F #3F8A39
tetradic
#393F8A #8A3967 #8A8439 #398A5B
square
#393F8A #8A3967 #8A8439 #398A5B
split-complementary
#393F8A #8A5B39 #678A39
monochromatic
#151733 #272B5F #393F8A #4B53B5 #777DC7
Accessibility & contrast
On white
9.33
#393F8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#393F8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393F8A
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393F8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393F8A | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#134A8D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#07505E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #393f8a; /* rgb */ color: rgb(57, 63, 138); /* oklch */ color: oklch(40.5% 0.123 276.0);
Tailwind
colors: {
custom: {
50: '#7774ad',
500: '#393f8a',
950: '#000000',
},
}SCSS
$custom: #393f8a; $custom-light: #7774ad; $custom-dark: #000000;
JSON
{
"hex": "#393f8a",
"rgb": {
"r": 57,
"g": 63,
"b": 138
},
"hsl": {
"h": 235.556,
"s": 41.538,
"l": 38.235
},
"oklch": {
"l": 0.40528,
"c": 0.12309,
"h": 276
},
"luminance": 0.0626
}Semantic roles & 50–950 ramp
primary
#393F8A
secondary
#B0AB6F
accent
#C856D1
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090810
muted
#7B7B7F