#382B9E#382B9E
#382B9E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.176 H 279.3°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #382B9E |
|---|---|
| RGB | rgb(56, 43, 158) |
| HSL | hsl(247, 57%, 39%) |
| HSV | hsv(247, 73%, 62%) |
| CMYK | cmyk(64.6%, 72.8%, 0%, 38%) |
| CIE-LAB | lab(26.84, 40.38, -60.29) |
| CIE-LCH | lch(26.84, 72.56, 303.81°) |
| OKLab | oklab(38.67% 0.0286 -0.174) |
| OKLCH | oklch(38.67% 0.176 279.3) |
| XYZ | xyz(8.6643, 5.0364, 32.8567) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.39
Sapphire (survey)
#2138AB
ΔE00 4.96
Royal
#0C1793
ΔE00 5.69
Blueberry
#464196
ΔE00 6.54
Cobalt Blue
#030AA7
ΔE00 6.57
Darkslateblue
#483D8B
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382B9E #919E2B
analogous
#2B579E #382B9E #722B9E
triadic
#382B9E #9E382B #2B9E38
tetradic
#382B9E #9E2B57 #919E2B #2B9E72
square
#382B9E #9E2B57 #919E2B #2B9E72
split-complementary
#382B9E #9E722B #579E2B
monochromatic
#16113E #271E6E #382B9E #4C3CCA #786CD7
Accessibility & contrast
On white
10.46
#382B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#382B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382B9E
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382B9E | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #382b9e; /* rgb */ color: rgb(56, 43, 158); /* oklch */ color: oklch(38.7% 0.176 279.3);
Tailwind
colors: {
custom: {
50: '#7c66bc',
500: '#382b9e',
950: '#000000',
},
}SCSS
$custom: #382b9e; $custom-light: #7c66bc; $custom-dark: #000000;
JSON
{
"hex": "#382b9e",
"rgb": {
"r": 56,
"g": 43,
"b": 158
},
"hsl": {
"h": 246.783,
"s": 57.214,
"l": 39.412
},
"oklch": {
"l": 0.38672,
"c": 0.1763,
"h": 279.3
},
"luminance": 0.05037
}Semantic roles & 50–950 ramp
primary
#382B9E
secondary
#B4BE67
accent
#E047CF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81