#382CA3#382CA3
#382CA3 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.182 H 278.5°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #382CA3 |
|---|---|
| RGB | rgb(56, 44, 163) |
| HSL | hsl(246, 57%, 41%) |
| HSV | hsv(246, 73%, 64%) |
| CMYK | cmyk(65.6%, 73%, 0%, 36.1%) |
| CIE-LAB | lab(27.53, 41.43, -62.18) |
| CIE-LCH | lch(27.53, 74.72, 303.67°) |
| OKLab | oklab(39.32% 0.0269 -0.1795) |
| OKLCH | oklch(39.32% 0.182 278.5) |
| XYZ | xyz(9.1403, 5.2857, 35.1818) |
| Luminance | 0.0529 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.20
Sapphire (survey)
#2138AB
ΔE00 4.56
Royal
#0C1793
ΔE00 6.07
Blueberry
#464196
ΔE00 6.53
Ocean Blue
#4F42B5
ΔE00 6.62
Cobalt Blue
#030AA7
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382CA3 #97A32C
analogous
#2C5CA3 #382CA3 #732CA3
triadic
#382CA3 #A3382C #2CA338
tetradic
#382CA3 #A32C5C #97A32C #2CA373
square
#382CA3 #A32C5C #97A32C #2CA373
split-complementary
#382CA3 #A3732C #5CA32C
monochromatic
#171243 #271F73 #382CA3 #4F41CC #7B71D9
Accessibility & contrast
On white
10.21
#382CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#382CA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382CA3
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382CA3 | 1.00 | 10.21 | 2.06 | 10.21 |
| #FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #382ca3; /* rgb */ color: rgb(56, 44, 163); /* oklch */ color: oklch(39.3% 0.182 278.5);
Tailwind
colors: {
custom: {
50: '#7d67bf',
500: '#382ca3',
950: '#000000',
},
}SCSS
$custom: #382ca3; $custom-light: #7d67bf; $custom-dark: #000000;
JSON
{
"hex": "#382ca3",
"rgb": {
"r": 56,
"g": 44,
"b": 163
},
"hsl": {
"h": 246.05,
"s": 57.488,
"l": 40.588
},
"oklch": {
"l": 0.39316,
"c": 0.18151,
"h": 278.5
},
"luminance": 0.05286
}Semantic roles & 50–950 ramp
primary
#382CA3
secondary
#B7C06B
accent
#E147D1
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81