#382B99#382B99
#382B99 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.170 H 280.0°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #382B99 |
|---|---|
| RGB | rgb(56, 43, 153) |
| HSL | hsl(247, 56%, 38%) |
| HSV | hsv(247, 72%, 60%) |
| CMYK | cmyk(63.4%, 71.9%, 0%, 40%) |
| CIE-LAB | lab(26.35, 38.75, -58.03) |
| CIE-LCH | lch(26.35, 69.78, 303.74°) |
| OKLab | oklab(38.18% 0.0295 -0.1674) |
| OKLCH | oklch(38.18% 0.17 280) |
| XYZ | xyz(8.2427, 4.8678, 30.6360) |
| Luminance | 0.0487 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.90
Sapphire (survey)
#2138AB
ΔE00 5.25
Royal
#0C1793
ΔE00 5.57
Darkslateblue
#483D8B
ΔE00 6.27
Blueberry
#464196
ΔE00 6.39
Cobalt Blue
#030AA7
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382B99 #8C992B
analogous
#2B5599 #382B99 #6F2B99
triadic
#382B99 #99382B #2B9938
tetradic
#382B99 #992B55 #8C992B #2B996F
square
#382B99 #992B55 #8C992B #2B996F
split-complementary
#382B99 #996F2B #55992B
monochromatic
#151039 #271E69 #382B99 #4A3AC8 #7669D5
Accessibility & contrast
On white
10.64
#382B99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#382B99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382B99
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382B99 | 1.00 | 10.64 | 1.97 | 10.64 |
| #FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #382b99; /* rgb */ color: rgb(56, 43, 153); /* oklch */ color: oklch(38.2% 0.170 280.0);
Tailwind
colors: {
custom: {
50: '#7b66b8',
500: '#382b99',
950: '#000000',
},
}SCSS
$custom: #382b99; $custom-light: #7b66b8; $custom-dark: #000000;
JSON
{
"hex": "#382b99",
"rgb": {
"r": 56,
"g": 43,
"b": 153
},
"hsl": {
"h": 247.091,
"s": 56.122,
"l": 38.431
},
"oklch": {
"l": 0.38181,
"c": 0.16994,
"h": 280
},
"luminance": 0.04868
}Semantic roles & 50–950 ramp
primary
#382B99
secondary
#B1BC64
accent
#DF48CE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80