#383271#383271
#383271 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.9% C 0.105 H 284.1°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).
Color values
| HEX | #383271 |
|---|---|
| RGB | rgb(56, 50, 113) |
| HSL | hsl(246, 39%, 32%) |
| HSV | hsv(246, 56%, 44%) |
| CMYK | cmyk(50.4%, 55.8%, 0%, 55.7%) |
| CIE-LAB | lab(24.68, 20.94, -35.72) |
| CIE-LCH | lch(24.68, 41.41, 300.37°) |
| OKLab | oklab(35.92% 0.0256 -0.1018) |
| OKLCH | oklch(35.92% 0.105 284.1) |
| XYZ | xyz(5.7512, 4.3139, 16.1492) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.26
Blueberry
#464196
ΔE00 7.09
Midnight Blue
#191970
ΔE00 7.95
Marine
#042E60
ΔE00 8.79
Navy Blue
#1B2A4A
ΔE00 9.10
Twilight
#4E518B
ΔE00 9.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#383271 #6B7132
analogous
#324C71 #383271 #583271
triadic
#383271 #713832 #327138
tetradic
#383271 #71324C #6B7132 #327158
square
#383271 #71324C #6B7132 #327158
split-complementary
#383271 #715832 #4C7132
monochromatic
#0E0C1C #231F47 #383271 #4D459B #6C63BA
Accessibility & contrast
On white
11.27
#383271 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#383271 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #383271
11.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##383271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##383271 | 1.00 | 11.27 | 1.86 | 11.27 |
| #FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#113D73
Deuteranopia (green-blind)
#0E3970
Tritanopia (blue-blind)
#24404C
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #383271; /* rgb */ color: rgb(56, 50, 113); /* oklch */ color: oklch(35.9% 0.105 284.1);
Tailwind
colors: {
custom: {
50: '#736a9a',
500: '#383271',
950: '#000000',
},
}SCSS
$custom: #383271; $custom-light: #736a9a; $custom-dark: #000000;
JSON
{
"hex": "#383271",
"rgb": {
"r": 56,
"g": 50,
"b": 113
},
"hsl": {
"h": 245.714,
"s": 38.65,
"l": 31.961
},
"oklch": {
"l": 0.35918,
"c": 0.10499,
"h": 284.1
},
"luminance": 0.04314
}Semantic roles & 50–950 ramp
primary
#383271
secondary
#9BA25D
accent
#CF59C3
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E