#382D9C#382D9C
#382D9C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.172 H 279.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #382D9C |
|---|---|
| RGB | rgb(56, 45, 156) |
| HSL | hsl(246, 55%, 39%) |
| HSV | hsv(246, 71%, 61%) |
| CMYK | cmyk(64.1%, 71.2%, 0%, 38.8%) |
| CIE-LAB | lab(27.07, 38.56, -58.70) |
| CIE-LCH | lch(27.07, 70.23, 303.30°) |
| OKLab | oklab(38.78% 0.0275 -0.1693) |
| OKLCH | oklch(38.78% 0.172 279.2) |
| XYZ | xyz(8.5681, 5.1172, 31.9822) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.67
Indigo Blue
#3A18B1
ΔE00 5.00
Royal
#0C1793
ΔE00 5.99
Blueberry
#464196
ΔE00 6.01
Darkslateblue
#483D8B
ΔE00 6.10
Ocean Blue
#4F42B5
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382D9C #919C2D
analogous
#2D5A9C #382D9C #702D9C
triadic
#382D9C #9C382D #2D9C38
tetradic
#382D9C #9C2D5A #919C2D #2D9C70
square
#382D9C #9C2D5A #919C2D #2D9C70
split-complementary
#382D9C #9C702D #5A9C2D
monochromatic
#16123D #271F6D #382D9C #4C3FC8 #786ED5
Accessibility & contrast
On white
10.38
#382D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#382D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382D9C
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382D9C | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #382d9c; /* rgb */ color: rgb(56, 45, 156); /* oklch */ color: oklch(38.8% 0.172 279.2);
Tailwind
colors: {
custom: {
50: '#7b67ba',
500: '#382d9c',
950: '#000000',
},
}SCSS
$custom: #382d9c; $custom-light: #7b67ba; $custom-dark: #000000;
JSON
{
"hex": "#382d9c",
"rgb": {
"r": 56,
"g": 45,
"b": 156
},
"hsl": {
"h": 245.946,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.38776,
"c": 0.17153,
"h": 279.2
},
"luminance": 0.05118
}Semantic roles & 50–950 ramp
primary
#382D9C
secondary
#B4BC68
accent
#DF49D0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81