#382AA8#382AA8
#382AA8 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.190 H 278.2°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #382AA8 |
|---|---|
| RGB | rgb(56, 42, 168) |
| HSL | hsl(247, 60%, 41%) |
| HSV | hsv(247, 75%, 66%) |
| CMYK | cmyk(66.7%, 75%, 0%, 34.1%) |
| CIE-LAB | lab(27.64, 44.15, -65.04) |
| CIE-LCH | lch(27.64, 78.61, 304.17°) |
| OKLab | oklab(39.54% 0.0271 -0.1878) |
| OKLCH | oklch(39.54% 0.19 278.2) |
| XYZ | xyz(9.5245, 5.3230, 37.5637) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.46
Sapphire (survey)
#2138AB
ΔE00 4.87
True Blue
#010FCC
ΔE00 5.92
Royal
#0C1793
ΔE00 6.07
Ultramarine
#2000B1
ΔE00 6.16
Cobalt Blue
#030AA7
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382AA8 #9AA82A
analogous
#2A5BA8 #382AA8 #772AA8
triadic
#382AA8 #A8382A #2AA838
tetradic
#382AA8 #A82A5B #9AA82A #2AA877
square
#382AA8 #A82A5B #9AA82A #2AA877
split-complementary
#382AA8 #A8772A #5BA82A
monochromatic
#171246 #281E77 #382AA8 #5040CF #7D71DB
Accessibility & contrast
On white
10.17
#382AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#382AA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382AA8
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382AA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382AA8 | 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)
#0046AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #382aa8; /* rgb */ color: rgb(56, 42, 168); /* oklch */ color: oklch(39.5% 0.190 278.2);
Tailwind
colors: {
custom: {
50: '#7e66c3',
500: '#382aa8',
950: '#000000',
},
}SCSS
$custom: #382aa8; $custom-light: #7e66c3; $custom-dark: #000000;
JSON
{
"hex": "#382aa8",
"rgb": {
"r": 56,
"g": 42,
"b": 168
},
"hsl": {
"h": 246.667,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.39539,
"c": 0.18977,
"h": 278.2
},
"luminance": 0.05324
}Semantic roles & 50–950 ramp
primary
#382AA8
secondary
#B9C36B
accent
#E345D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82