#393F8F#393F8F
#393F8F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.130 H 275.8°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #393F8F |
|---|---|
| RGB | rgb(57, 63, 143) |
| HSL | hsl(236, 43%, 39%) |
| HSV | hsv(236, 60%, 56%) |
| CMYK | cmyk(60.1%, 55.9%, 0%, 43.9%) |
| CIE-LAB | lab(30.42, 22.83, -45.27) |
| CIE-LCH | lch(30.42, 50.70, 296.76°) |
| OKLab | oklab(40.91% 0.0131 -0.1298) |
| OKLCH | oklch(40.91% 0.13 275.8) |
| XYZ | xyz(8.4212, 6.4074, 26.7743) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.52
Darkslateblue
#483D8B
ΔE00 3.46
Sapphire (survey)
#2138AB
ΔE00 5.33
Cobalt (survey)
#1E488F
ΔE00 6.34
Twilight
#4E518B
ΔE00 6.75
Ocean Blue
#4F42B5
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393F8F #8F8939
analogous
#396A8F #393F8F #5E398F
triadic
#393F8F #8F393F #3F8F39
tetradic
#393F8F #8F396A #8F8939 #398F5E
square
#393F8F #8F396A #8F8939 #398F5E
split-complementary
#393F8F #8F5E39 #6A8F39
monochromatic
#161837 #282C63 #393F8F #4D55B8 #797ECA
Accessibility & contrast
On white
9.20
#393F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#393F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393F8F
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393F8F | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#084B92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #393f8f; /* rgb */ color: rgb(57, 63, 143); /* oklch */ color: oklch(40.9% 0.130 275.8);
Tailwind
colors: {
custom: {
50: '#7874b0',
500: '#393f8f',
950: '#000000',
},
}SCSS
$custom: #393f8f; $custom-light: #7874b0; $custom-dark: #000000;
JSON
{
"hex": "#393f8f",
"rgb": {
"r": 57,
"g": 63,
"b": 143
},
"hsl": {
"h": 235.814,
"s": 43,
"l": 39.216
},
"oklch": {
"l": 0.40913,
"c": 0.13043,
"h": 275.8
},
"luminance": 0.06408
}Semantic roles & 50–950 ramp
primary
#393F8F
secondary
#B3AE71
accent
#CA55D3
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090811
muted
#7B7B80