#393CB5#393CB5
#393CB5 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.6% C 0.186 H 274.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #393CB5 |
|---|---|
| RGB | rgb(57, 60, 181) |
| HSL | hsl(239, 52%, 47%) |
| HSV | hsv(239, 69%, 71%) |
| CMYK | cmyk(68.5%, 66.9%, 0%, 29%) |
| CIE-LAB | lab(32.78, 38.04, -64.35) |
| CIE-LCH | lch(32.78, 74.75, 300.59°) |
| OKLab | oklab(43.62% 0.0144 -0.1858) |
| OKLCH | oklch(43.62% 0.186 274.4) |
| XYZ | xyz(11.6409, 7.4367, 44.5291) |
| Luminance | 0.0744 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.01
Ocean Blue
#4F42B5
ΔE00 3.24
Blue Blue
#2242C7
ΔE00 3.46
Blue With A Hint Of Purple
#533CC6
ΔE00 4.38
Blurple
#5539CC
ΔE00 5.17
Blueberry
#464196
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393CB5 #B5B239
analogous
#397AB5 #393CB5 #7439B5
triadic
#393CB5 #B5393C #3CB539
tetradic
#393CB5 #B5397A #B5B239 #39B574
square
#393CB5 #B5397A #B5B239 #39B574
split-complementary
#393CB5 #B57439 #7AB539
monochromatic
#1C1D58 #2A2D86 #393CB5 #5F61CD #8D8FDB
Accessibility & contrast
On white
8.44
#393CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#393CB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393CB5
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393CB5 | 1.00 | 8.44 | 2.49 | 8.44 |
| #FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0047B3
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #393cb5; /* rgb */ color: rgb(57, 60, 181); /* oklch */ color: oklch(43.6% 0.186 274.4);
Tailwind
colors: {
custom: {
50: '#8072cc',
500: '#393cb5',
950: '#000000',
},
}SCSS
$custom: #393cb5; $custom-light: #8072cc; $custom-dark: #000000;
JSON
{
"hex": "#393cb5",
"rgb": {
"r": 57,
"g": 60,
"b": 181
},
"hsl": {
"h": 238.548,
"s": 52.101,
"l": 46.667
},
"oklch": {
"l": 0.43622,
"c": 0.18638,
"h": 274.4
},
"luminance": 0.07438
}Semantic roles & 50–950 ramp
primary
#393CB5
secondary
#C6C484
accent
#D84CDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0813
muted
#7D7B82