#393396#393396
#393396 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.156 H 279.1°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #393396 |
|---|---|
| RGB | rgb(57, 51, 150) |
| HSL | hsl(244, 49%, 39%) |
| HSV | hsv(244, 66%, 59%) |
| CMYK | cmyk(62%, 66%, 0%, 41.2%) |
| CIE-LAB | lab(27.95, 33.05, -53.58) |
| CIE-LCH | lch(27.95, 62.95, 301.67°) |
| OKLab | oklab(39.27% 0.0247 -0.1543) |
| OKLCH | oklch(39.27% 0.156 279.1) |
| XYZ | xyz(8.3744, 5.4389, 29.4568) |
| Luminance | 0.0544 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.29
Blueberry
#464196
ΔE00 4.30
Darkslateblue
#483D8B
ΔE00 4.42
Ocean Blue
#4F42B5
ΔE00 6.44
Indigo Blue
#3A18B1
ΔE00 6.94
Royal
#0C1793
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393396 #909633
analogous
#335F96 #393396 #6B3396
triadic
#393396 #963933 #339639
tetradic
#393396 #96335F #909633 #33966B
square
#393396 #96335F #909633 #33966B
split-complementary
#393396 #966B33 #5F9633
monochromatic
#16143B #282368 #393396 #4D46C0 #7974D0
Accessibility & contrast
On white
10.06
#393396 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#393396 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393396
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393396 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393396 | 1.00 | 10.06 | 2.09 | 10.06 |
| #FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #393396; /* rgb */ color: rgb(57, 51, 150); /* oklch */ color: oklch(39.3% 0.156 279.1);
Tailwind
colors: {
custom: {
50: '#7a6bb6',
500: '#393396',
950: '#000000',
},
}SCSS
$custom: #393396; $custom-light: #7a6bb6; $custom-dark: #000000;
JSON
{
"hex": "#393396",
"rgb": {
"r": 57,
"g": 51,
"b": 150
},
"hsl": {
"h": 243.636,
"s": 49.254,
"l": 39.412
},
"oklch": {
"l": 0.39267,
"c": 0.15624,
"h": 279.1
},
"luminance": 0.0544
}Semantic roles & 50–950 ramp
primary
#393396
secondary
#B3B86D
accent
#D94FD0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80