#382B9C#382B9C
#382B9C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.174 H 279.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #382B9C |
|---|---|
| RGB | rgb(56, 43, 156) |
| HSL | hsl(247, 57%, 39%) |
| HSV | hsv(247, 72%, 61%) |
| CMYK | cmyk(64.1%, 72.4%, 0%, 38.8%) |
| CIE-LAB | lab(26.64, 39.73, -59.39) |
| CIE-LCH | lch(26.64, 71.45, 303.78°) |
| OKLab | oklab(38.48% 0.0289 -0.1713) |
| OKLCH | oklch(38.48% 0.174 279.6) |
| XYZ | xyz(8.4936, 4.9681, 31.9574) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.58
Sapphire (survey)
#2138AB
ΔE00 5.06
Royal
#0C1793
ΔE00 5.63
Blueberry
#464196
ΔE00 6.48
Darkslateblue
#483D8B
ΔE00 6.48
Cobalt Blue
#030AA7
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382B9C #8F9C2B
analogous
#2B579C #382B9C #712B9C
triadic
#382B9C #9C382B #2B9C38
tetradic
#382B9C #9C2B57 #8F9C2B #2B9C71
square
#382B9C #9C2B57 #8F9C2B #2B9C71
split-complementary
#382B9C #9C712B #579C2B
monochromatic
#16113C #271E6C #382B9C #4B3BC9 #776BD6
Accessibility & contrast
On white
10.53
#382B9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#382B9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382B9C
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382B9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382B9C | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #382b9c; /* rgb */ color: rgb(56, 43, 156); /* oklch */ color: oklch(38.5% 0.174 279.6);
Tailwind
colors: {
custom: {
50: '#7c66ba',
500: '#382b9c',
950: '#000000',
},
}SCSS
$custom: #382b9c; $custom-light: #7c66ba; $custom-dark: #000000;
JSON
{
"hex": "#382b9c",
"rgb": {
"r": 56,
"g": 43,
"b": 156
},
"hsl": {
"h": 246.903,
"s": 56.784,
"l": 39.02
},
"oklch": {
"l": 0.38475,
"c": 0.17377,
"h": 279.6
},
"luminance": 0.04969
}Semantic roles & 50–950 ramp
primary
#382B9C
secondary
#B3BD66
accent
#E048CF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81