#382BA0#382BA0
#382BA0 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.179 H 279.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #382BA0 |
|---|---|
| RGB | rgb(56, 43, 160) |
| HSL | hsl(247, 58%, 40%) |
| HSV | hsv(247, 73%, 63%) |
| CMYK | cmyk(65%, 73.1%, 0%, 37.3%) |
| CIE-LAB | lab(27.03, 41.03, -61.18) |
| CIE-LCH | lch(27.03, 73.67, 303.84°) |
| OKLab | oklab(38.87% 0.0282 -0.1766) |
| OKLCH | oklch(38.87% 0.179 279.1) |
| XYZ | xyz(8.8379, 5.1059, 33.7707) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.22
Sapphire (survey)
#2138AB
ΔE00 4.87
Royal
#0C1793
ΔE00 5.76
Cobalt Blue
#030AA7
ΔE00 6.52
Blueberry
#464196
ΔE00 6.62
Ultramarine
#2000B1
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382BA0 #93A02B
analogous
#2B58A0 #382BA0 #732BA0
triadic
#382BA0 #A0382B #2BA038
tetradic
#382BA0 #A02B58 #93A02B #2BA073
square
#382BA0 #A02B58 #93A02B #2BA073
split-complementary
#382BA0 #A0732B #58A02B
monochromatic
#161140 #271E70 #382BA0 #4D3DCB #796ED8
Accessibility & contrast
On white
10.39
#382BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#382BA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382BA0
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382BA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382BA0 | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#003B9E
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #382ba0; /* rgb */ color: rgb(56, 43, 160); /* oklch */ color: oklch(38.9% 0.179 279.1);
Tailwind
colors: {
custom: {
50: '#7c66bd',
500: '#382ba0',
950: '#000000',
},
}SCSS
$custom: #382ba0; $custom-light: #7c66bd; $custom-dark: #000000;
JSON
{
"hex": "#382ba0",
"rgb": {
"r": 56,
"g": 43,
"b": 160
},
"hsl": {
"h": 246.667,
"s": 57.635,
"l": 39.804
},
"oklch": {
"l": 0.38871,
"c": 0.17881,
"h": 279.1
},
"luminance": 0.05107
}Semantic roles & 50–950 ramp
primary
#382BA0
secondary
#B5BF68
accent
#E147D0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81