#382CA7#382CA7
#382CA7 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.186 H 278.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #382CA7 |
|---|---|
| RGB | rgb(56, 44, 167) |
| HSL | hsl(246, 58%, 41%) |
| HSV | hsv(246, 74%, 65%) |
| CMYK | cmyk(66.5%, 73.7%, 0%, 34.5%) |
| CIE-LAB | lab(27.93, 42.72, -63.95) |
| CIE-LCH | lch(27.93, 76.91, 303.75°) |
| OKLab | oklab(39.72% 0.0261 -0.1847) |
| OKLCH | oklch(39.72% 0.187 278) |
| XYZ | xyz(9.5044, 5.4313, 37.0992) |
| Luminance | 0.0543 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.95
Sapphire (survey)
#2138AB
ΔE00 4.48
Royal
#0C1793
ΔE00 6.30
True Blue
#010FCC
ΔE00 6.30
Ocean Blue
#4F42B5
ΔE00 6.41
Ultramarine
#2000B1
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382CA7 #9BA72C
analogous
#2C5EA7 #382CA7 #762CA7
triadic
#382CA7 #A7382C #2CA738
tetradic
#382CA7 #A72C5E #9BA72C #2CA776
square
#382CA7 #A72C5E #9BA72C #2CA776
split-complementary
#382CA7 #A7762C #5EA72C
monochromatic
#181246 #281F77 #382CA7 #5043CD #7D73DA
Accessibility & contrast
On white
10.07
#382CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#382CA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382CA7
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382CA7 | 1.00 | 10.07 | 2.09 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #382ca7; /* rgb */ color: rgb(56, 44, 167); /* oklch */ color: oklch(39.7% 0.186 278.0);
Tailwind
colors: {
custom: {
50: '#7e67c2',
500: '#382ca7',
950: '#000000',
},
}SCSS
$custom: #382ca7; $custom-light: #7e67c2; $custom-dark: #000000;
JSON
{
"hex": "#382ca7",
"rgb": {
"r": 56,
"g": 44,
"b": 167
},
"hsl": {
"h": 245.854,
"s": 58.294,
"l": 41.373
},
"oklch": {
"l": 0.39717,
"c": 0.1865,
"h": 278
},
"luminance": 0.05432
}Semantic roles & 50–950 ramp
primary
#382CA7
secondary
#B9C26D
accent
#E246D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82