#382CA4#382CA4
#382CA4 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.183 H 278.4°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #382CA4 |
|---|---|
| RGB | rgb(56, 44, 164) |
| HSL | hsl(246, 58%, 41%) |
| HSV | hsv(246, 73%, 64%) |
| CMYK | cmyk(65.9%, 73.2%, 0%, 35.7%) |
| CIE-LAB | lab(27.63, 41.75, -62.63) |
| CIE-LCH | lch(27.63, 75.27, 303.69°) |
| OKLab | oklab(39.42% 0.0267 -0.1808) |
| OKLCH | oklch(39.42% 0.183 278.4) |
| XYZ | xyz(9.2303, 5.3217, 35.6555) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.13
Sapphire (survey)
#2138AB
ΔE00 4.53
Royal
#0C1793
ΔE00 6.12
Ocean Blue
#4F42B5
ΔE00 6.56
Blueberry
#464196
ΔE00 6.58
True Blue
#010FCC
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382CA4 #98A42C
analogous
#2C5CA4 #382CA4 #742CA4
triadic
#382CA4 #A4382C #2CA438
tetradic
#382CA4 #A42C5C #98A42C #2CA474
square
#382CA4 #A42C5C #98A42C #2CA474
split-complementary
#382CA4 #A4742C #5CA42C
monochromatic
#171243 #281F74 #382CA4 #4F41CC #7C71D9
Accessibility & contrast
On white
10.17
#382CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#382CA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382CA4
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382CA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382CA4 | 1.00 | 10.17 | 2.06 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003CA2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #382ca4; /* rgb */ color: rgb(56, 44, 164); /* oklch */ color: oklch(39.4% 0.183 278.4);
Tailwind
colors: {
custom: {
50: '#7d67c0',
500: '#382ca4',
950: '#000000',
},
}SCSS
$custom: #382ca4; $custom-light: #7d67c0; $custom-dark: #000000;
JSON
{
"hex": "#382ca4",
"rgb": {
"r": 56,
"g": 44,
"b": 164
},
"hsl": {
"h": 246,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.39415,
"c": 0.18276,
"h": 278.4
},
"luminance": 0.05322
}Semantic roles & 50–950 ramp
primary
#382CA4
secondary
#B8C06B
accent
#E147D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81