#382C8E#382C8E
#382C8E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.154 H 281.4°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #382C8E |
|---|---|
| RGB | rgb(56, 44, 142) |
| HSL | hsl(247, 53%, 36%) |
| HSV | hsv(247, 69%, 56%) |
| CMYK | cmyk(60.6%, 69%, 0%, 44.3%) |
| CIE-LAB | lab(25.55, 34.54, -52.58) |
| CIE-LCH | lch(25.55, 62.91, 303.30°) |
| OKLab | oklab(37.29% 0.0305 -0.1514) |
| OKLCH | oklch(37.29% 0.154 281.4) |
| XYZ | xyz(7.4125, 4.5946, 26.0822) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.40
Royal
#0C1793
ΔE00 5.95
Sapphire (survey)
#2138AB
ΔE00 6.03
Blueberry
#464196
ΔE00 6.04
Indigo Blue
#3A18B1
ΔE00 6.43
Midnight Blue
#191970
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382C8E #828E2C
analogous
#2C518E #382C8E #692C8E
triadic
#382C8E #8E382C #2C8E38
tetradic
#382C8E #8E2C51 #828E2C #2C8E69
square
#382C8E #8E2C51 #828E2C #2C8E69
split-complementary
#382C8E #8E692C #518E2C
monochromatic
#130F31 #261E5F #382C8E #4A3ABD #7265CF
Accessibility & contrast
On white
10.94
#382C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#382C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382C8E
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382C8E | 1.00 | 10.94 | 1.92 | 10.94 |
| #FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #382c8e; /* rgb */ color: rgb(56, 44, 142); /* oklch */ color: oklch(37.3% 0.154 281.4);
Tailwind
colors: {
custom: {
50: '#7966b0',
500: '#382c8e',
950: '#000000',
},
}SCSS
$custom: #382c8e; $custom-light: #7966b0; $custom-dark: #000000;
JSON
{
"hex": "#382c8e",
"rgb": {
"r": 56,
"g": 44,
"b": 142
},
"hsl": {
"h": 247.347,
"s": 52.688,
"l": 36.471
},
"oklch": {
"l": 0.37287,
"c": 0.15444,
"h": 281.4
},
"luminance": 0.04595
}Semantic roles & 50–950 ramp
primary
#382C8E
secondary
#ABB660
accent
#DC4CCA
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0611
muted
#7C7A80