#393C8F#393C8F
#393C8F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.135 H 277.0°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #393C8F |
|---|---|
| RGB | rgb(57, 60, 143) |
| HSL | hsl(238, 43%, 39%) |
| HSV | hsv(238, 60%, 56%) |
| CMYK | cmyk(60.1%, 58%, 0%, 43.9%) |
| CIE-LAB | lab(29.62, 24.81, -46.55) |
| CIE-LCH | lch(29.62, 52.75, 298.06°) |
| OKLab | oklab(40.32% 0.0163 -0.1336) |
| OKLCH | oklch(40.32% 0.135 277) |
| XYZ | xyz(8.2595, 6.0841, 26.7204) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.52
Darkslateblue
#483D8B
ΔE00 3.11
Sapphire (survey)
#2138AB
ΔE00 5.01
Ocean Blue
#4F42B5
ΔE00 6.75
Cobalt (survey)
#1E488F
ΔE00 7.17
Twilight
#4E518B
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393C8F #8F8C39
analogous
#39678F #393C8F #61398F
triadic
#393C8F #8F393C #3C8F39
tetradic
#393C8F #8F3967 #8F8C39 #398F61
square
#393C8F #8F3967 #8F8C39 #398F61
split-complementary
#393C8F #8F6139 #678F39
monochromatic
#161737 #282A63 #393C8F #4D51B8 #797CCA
Accessibility & contrast
On white
9.47
#393C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#393C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393C8F
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393C8F | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #393c8f; /* rgb */ color: rgb(57, 60, 143); /* oklch */ color: oklch(40.3% 0.135 277.0);
Tailwind
colors: {
custom: {
50: '#7871b0',
500: '#393c8f',
950: '#000000',
},
}SCSS
$custom: #393c8f; $custom-light: #7871b0; $custom-dark: #000000;
JSON
{
"hex": "#393c8f",
"rgb": {
"r": 57,
"g": 60,
"b": 143
},
"hsl": {
"h": 237.907,
"s": 43,
"l": 39.216
},
"oklch": {
"l": 0.4032,
"c": 0.13457,
"h": 277
},
"luminance": 0.06085
}Semantic roles & 50–950 ramp
primary
#393C8F
secondary
#B3B071
accent
#CE55D3
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0711
muted
#7C7A80