#382CA6#382CA6
#382CA6 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.185 H 278.1°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #382CA6 |
|---|---|
| RGB | rgb(56, 44, 166) |
| HSL | hsl(246, 58%, 41%) |
| HSV | hsv(246, 73%, 65%) |
| CMYK | cmyk(66.3%, 73.5%, 0%, 34.9%) |
| CIE-LAB | lab(27.83, 42.40, -63.51) |
| CIE-LCH | lch(27.83, 76.36, 303.73°) |
| OKLab | oklab(39.62% 0.0263 -0.1834) |
| OKLCH | oklch(39.62% 0.185 278.1) |
| XYZ | xyz(9.4123, 5.3945, 36.6142) |
| Luminance | 0.0539 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.01
Sapphire (survey)
#2138AB
ΔE00 4.49
Royal
#0C1793
ΔE00 6.24
True Blue
#010FCC
ΔE00 6.40
Ocean Blue
#4F42B5
ΔE00 6.45
Ultramarine
#2000B1
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382CA6 #9AA62C
analogous
#2C5DA6 #382CA6 #752CA6
triadic
#382CA6 #A6382C #2CA638
tetradic
#382CA6 #A62C5D #9AA62C #2CA675
square
#382CA6 #A62C5D #9AA62C #2CA675
split-complementary
#382CA6 #A6752C #5DA62C
monochromatic
#171245 #281F76 #382CA6 #5042CD #7D73DA
Accessibility & contrast
On white
10.10
#382CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#382CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382CA6
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382CA6 | 1.00 | 10.10 | 2.08 | 10.10 |
| #FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #382ca6; /* rgb */ color: rgb(56, 44, 166); /* oklch */ color: oklch(39.6% 0.185 278.1);
Tailwind
colors: {
custom: {
50: '#7e67c2',
500: '#382ca6',
950: '#000000',
},
}SCSS
$custom: #382ca6; $custom-light: #7e67c2; $custom-dark: #000000;
JSON
{
"hex": "#382ca6",
"rgb": {
"r": 56,
"g": 44,
"b": 166
},
"hsl": {
"h": 245.902,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.39616,
"c": 0.18525,
"h": 278.1
},
"luminance": 0.05395
}Semantic roles & 50–950 ramp
primary
#382CA6
secondary
#B9C16D
accent
#E146D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81