#382AA5#382AA5
#382AA5 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.186 H 278.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #382AA5 |
|---|---|
| RGB | rgb(56, 42, 165) |
| HSL | hsl(247, 59%, 41%) |
| HSV | hsv(247, 75%, 65%) |
| CMYK | cmyk(66.1%, 74.5%, 0%, 35.3%) |
| CIE-LAB | lab(27.33, 43.20, -63.73) |
| CIE-LCH | lch(27.33, 76.99, 304.13°) |
| OKLab | oklab(39.23% 0.0278 -0.184) |
| OKLCH | oklch(39.23% 0.186 278.6) |
| XYZ | xyz(9.2482, 5.2125, 36.1088) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.63
Sapphire (survey)
#2138AB
ΔE00 4.92
Royal
#0C1793
ΔE00 5.87
True Blue
#010FCC
ΔE00 6.21
Ultramarine
#2000B1
ΔE00 6.24
Cobalt Blue
#030AA7
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382AA5 #97A52A
analogous
#2A5AA5 #382AA5 #752AA5
triadic
#382AA5 #A5382A #2AA538
tetradic
#382AA5 #A52A5A #97A52A #2AA575
square
#382AA5 #A52A5A #97A52A #2AA575
split-complementary
#382AA5 #A5752A #5AA52A
monochromatic
#171143 #271E74 #382AA5 #4F3ECE #7B6FDA
Accessibility & contrast
On white
10.28
#382AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#382AA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382AA5
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382AA5 | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #382aa5; /* rgb */ color: rgb(56, 42, 165); /* oklch */ color: oklch(39.2% 0.186 278.6);
Tailwind
colors: {
custom: {
50: '#7d66c1',
500: '#382aa5',
950: '#000000',
},
}SCSS
$custom: #382aa5; $custom-light: #7d66c1; $custom-dark: #000000;
JSON
{
"hex": "#382aa5",
"rgb": {
"r": 56,
"g": 42,
"b": 165
},
"hsl": {
"h": 246.829,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.39232,
"c": 0.18608,
"h": 278.6
},
"luminance": 0.05213
}Semantic roles & 50–950 ramp
primary
#382AA5
secondary
#B7C169
accent
#E345D1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81