#393271#393271
#393271 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 36.0% C 0.105 H 284.9°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #393271 |
|---|---|
| RGB | rgb(57, 50, 113) |
| HSL | hsl(247, 39%, 32%) |
| HSV | hsv(247, 56%, 44%) |
| CMYK | cmyk(49.6%, 55.8%, 0%, 55.7%) |
| CIE-LAB | lab(24.77, 21.18, -35.57) |
| CIE-LCH | lch(24.77, 41.40, 300.77°) |
| OKLab | oklab(36.01% 0.0269 -0.1014) |
| OKLCH | oklch(36.01% 0.105 284.9) |
| XYZ | xyz(5.8077, 4.3430, 16.1519) |
| Luminance | 0.0434 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.22
Blueberry
#464196
ΔE00 7.10
Midnight Blue
#191970
ΔE00 8.02
Marine
#042E60
ΔE00 9.02
Navy Blue
#1B2A4A
ΔE00 9.25
Twilight
#4E518B
ΔE00 9.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393271 #6A7132
analogous
#324B71 #393271 #593271
triadic
#393271 #713932 #327139
tetradic
#393271 #71324B #6A7132 #327159
square
#393271 #71324B #6A7132 #327159
split-complementary
#393271 #715932 #4B7132
monochromatic
#0E0C1C #241F47 #393271 #4E459B #6D63BA
Accessibility & contrast
On white
11.24
#393271 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#393271 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393271
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393271 | 1.00 | 11.24 | 1.87 | 11.24 |
| #FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#123D73
Deuteranopia (green-blind)
#0F3970
Tritanopia (blue-blind)
#26404C
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #393271; /* rgb */ color: rgb(57, 50, 113); /* oklch */ color: oklch(36.0% 0.105 284.9);
Tailwind
colors: {
custom: {
50: '#746a9a',
500: '#393271',
950: '#000000',
},
}SCSS
$custom: #393271; $custom-light: #746a9a; $custom-dark: #000000;
JSON
{
"hex": "#393271",
"rgb": {
"r": 57,
"g": 50,
"b": 113
},
"hsl": {
"h": 246.667,
"s": 38.65,
"l": 31.961
},
"oklch": {
"l": 0.36009,
"c": 0.10488,
"h": 284.9
},
"luminance": 0.04343
}Semantic roles & 50–950 ramp
primary
#393271
secondary
#9AA25D
accent
#CF59C2
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E