#382B9B#382B9B
#382B9B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.172 H 279.7°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #382B9B |
|---|---|
| RGB | rgb(56, 43, 155) |
| HSL | hsl(247, 57%, 39%) |
| HSV | hsv(247, 72%, 61%) |
| CMYK | cmyk(63.9%, 72.3%, 0%, 39.2%) |
| CIE-LAB | lab(26.55, 39.41, -58.94) |
| CIE-LCH | lch(26.55, 70.90, 303.77°) |
| OKLab | oklab(38.38% 0.0291 -0.17) |
| OKLCH | oklch(38.38% 0.173 279.7) |
| XYZ | xyz(8.4093, 4.9344, 31.5133) |
| Luminance | 0.0493 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.69
Sapphire (survey)
#2138AB
ΔE00 5.12
Royal
#0C1793
ΔE00 5.60
Darkslateblue
#483D8B
ΔE00 6.41
Blueberry
#464196
ΔE00 6.45
Cobalt Blue
#030AA7
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382B9B #8E9B2B
analogous
#2B569B #382B9B #702B9B
triadic
#382B9B #9B382B #2B9B38
tetradic
#382B9B #9B2B56 #8E9B2B #2B9B70
square
#382B9B #9B2B56 #8E9B2B #2B9B70
split-complementary
#382B9B #9B702B #569B2B
monochromatic
#15103B #271E6B #382B9B #4B3BC9 #776BD6
Accessibility & contrast
On white
10.57
#382B9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#382B9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382B9B
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382B9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382B9B | 1.00 | 10.57 | 1.99 | 10.57 |
| #FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #382b9b; /* rgb */ color: rgb(56, 43, 155); /* oklch */ color: oklch(38.4% 0.172 279.7);
Tailwind
colors: {
custom: {
50: '#7b66ba',
500: '#382b9b',
950: '#000000',
},
}SCSS
$custom: #382b9b; $custom-light: #7b66ba; $custom-dark: #000000;
JSON
{
"hex": "#382b9b",
"rgb": {
"r": 56,
"g": 43,
"b": 155
},
"hsl": {
"h": 246.964,
"s": 56.566,
"l": 38.824
},
"oklch": {
"l": 0.38376,
"c": 0.1725,
"h": 279.7
},
"luminance": 0.04935
}Semantic roles & 50–950 ramp
primary
#382B9B
secondary
#B2BC65
accent
#E048CE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81