#382AA4#382AA4
#382AA4 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.185 H 278.7°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #382AA4 |
|---|---|
| RGB | rgb(56, 42, 164) |
| HSL | hsl(247, 59%, 40%) |
| HSV | hsv(247, 74%, 64%) |
| CMYK | cmyk(65.9%, 74.4%, 0%, 35.7%) |
| CIE-LAB | lab(27.23, 42.88, -63.29) |
| CIE-LCH | lch(27.23, 76.44, 304.12°) |
| OKLab | oklab(39.13% 0.028 -0.1827) |
| OKLCH | oklch(39.13% 0.185 278.7) |
| XYZ | xyz(9.1575, 5.1763, 35.6313) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.70
Sapphire (survey)
#2138AB
ΔE00 4.94
Royal
#0C1793
ΔE00 5.81
Cobalt Blue
#030AA7
ΔE00 6.26
Ultramarine
#2000B1
ΔE00 6.27
True Blue
#010FCC
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382AA4 #96A42A
analogous
#2A59A4 #382AA4 #752AA4
triadic
#382AA4 #A4382A #2AA438
tetradic
#382AA4 #A42A59 #96A42A #2AA475
square
#382AA4 #A42A59 #96A42A #2AA475
split-complementary
#382AA4 #A4752A #59A42A
monochromatic
#171143 #271E73 #382AA4 #4E3ECD #7B6EDA
Accessibility & contrast
On white
10.32
#382AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#382AA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382AA4
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382AA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382AA4 | 1.00 | 10.32 | 2.04 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #382aa4; /* rgb */ color: rgb(56, 42, 164); /* oklch */ color: oklch(39.1% 0.185 278.7);
Tailwind
colors: {
custom: {
50: '#7d66c0',
500: '#382aa4',
950: '#000000',
},
}SCSS
$custom: #382aa4; $custom-light: #7d66c0; $custom-dark: #000000;
JSON
{
"hex": "#382aa4",
"rgb": {
"r": 56,
"g": 42,
"b": 164
},
"hsl": {
"h": 246.885,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.39131,
"c": 0.18485,
"h": 278.7
},
"luminance": 0.05177
}Semantic roles & 50–950 ramp
primary
#382AA4
secondary
#B7C169
accent
#E245D0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81