#393FB2#393FB2
#393FB2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.9% C 0.179 H 274.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #393FB2 |
|---|---|
| RGB | rgb(57, 63, 178) |
| HSL | hsl(237, 51%, 46%) |
| HSV | hsv(237, 68%, 70%) |
| CMYK | cmyk(68%, 64.6%, 0%, 30.2%) |
| CIE-LAB | lab(33.22, 35.14, -61.85) |
| CIE-LCH | lch(33.22, 71.14, 299.60°) |
| OKLab | oklab(43.86% 0.0124 -0.1785) |
| OKLCH | oklch(43.86% 0.179 274) |
| XYZ | xyz(11.4981, 7.6382, 42.9792) |
| Luminance | 0.0764 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.04
Ocean Blue
#4F42B5
ΔE00 3.19
Blue Blue
#2242C7
ΔE00 3.31
Blueberry
#464196
ΔE00 4.82
Blue With A Hint Of Purple
#533CC6
ΔE00 4.89
Blurple
#5539CC
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393FB2 #B2AC39
analogous
#397BB2 #393FB2 #6F39B2
triadic
#393FB2 #B2393F #3FB239
tetradic
#393FB2 #B2397B #B2AC39 #39B26F
square
#393FB2 #B2397B #B2AC39 #39B26F
split-complementary
#393FB2 #B26F39 #7BB239
monochromatic
#1B1E55 #2A2F84 #393FB2 #5D63CB #8B8FDA
Accessibility & contrast
On white
8.31
#393FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#393FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393FB2
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393FB2 | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #393fb2; /* rgb */ color: rgb(57, 63, 178); /* oklch */ color: oklch(43.9% 0.179 274.0);
Tailwind
colors: {
custom: {
50: '#7f74ca',
500: '#393fb2',
950: '#000000',
},
}SCSS
$custom: #393fb2; $custom-light: #7f74ca; $custom-dark: #000000;
JSON
{
"hex": "#393fb2",
"rgb": {
"r": 57,
"g": 63,
"b": 178
},
"hsl": {
"h": 237.025,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.43858,
"c": 0.17893,
"h": 274
},
"luminance": 0.07639
}Semantic roles & 50–950 ramp
primary
#393FB2
secondary
#C4C182
accent
#D44DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82