#382BA2#382BA2
#382BA2 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.181 H 278.8°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #382BA2 |
|---|---|
| RGB | rgb(56, 43, 162) |
| HSL | hsl(247, 58%, 40%) |
| HSV | hsv(247, 73%, 64%) |
| CMYK | cmyk(65.4%, 73.5%, 0%, 36.5%) |
| CIE-LAB | lab(27.23, 41.67, -62.07) |
| CIE-LCH | lch(27.23, 74.77, 303.88°) |
| OKLab | oklab(39.07% 0.0277 -0.1792) |
| OKLCH | oklch(39.07% 0.181 278.8) |
| XYZ | xyz(9.0143, 5.1764, 34.6995) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.05
Sapphire (survey)
#2138AB
ΔE00 4.79
Royal
#0C1793
ΔE00 5.85
Cobalt Blue
#030AA7
ΔE00 6.48
Ultramarine
#2000B1
ΔE00 6.57
True Blue
#010FCC
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382BA2 #95A22B
analogous
#2B59A2 #382BA2 #742BA2
triadic
#382BA2 #A2382B #2BA238
tetradic
#382BA2 #A22B59 #95A22B #2BA274
square
#382BA2 #A22B59 #95A22B #2BA274
split-complementary
#382BA2 #A2742B #59A22B
monochromatic
#171141 #271E72 #382BA2 #4E3ECC #7A6FD9
Accessibility & contrast
On white
10.32
#382BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#382BA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382BA2
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382BA2 | 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)
#0045A5
Deuteranopia (green-blind)
#003BA0
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #382ba2; /* rgb */ color: rgb(56, 43, 162); /* oklch */ color: oklch(39.1% 0.181 278.8);
Tailwind
colors: {
custom: {
50: '#7d66bf',
500: '#382ba2',
950: '#000000',
},
}SCSS
$custom: #382ba2; $custom-light: #7d66bf; $custom-dark: #000000;
JSON
{
"hex": "#382ba2",
"rgb": {
"r": 56,
"g": 43,
"b": 162
},
"hsl": {
"h": 246.555,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.39071,
"c": 0.18131,
"h": 278.8
},
"luminance": 0.05177
}Semantic roles & 50–950 ramp
primary
#382BA2
secondary
#B6C069
accent
#E147D0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81