#382BA6#382BA6
#382BA6 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.186 H 278.3°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #382BA6 |
|---|---|
| RGB | rgb(56, 43, 166) |
| HSL | hsl(246, 59%, 41%) |
| HSV | hsv(246, 74%, 65%) |
| CMYK | cmyk(66.3%, 74.1%, 0%, 34.9%) |
| CIE-LAB | lab(27.63, 42.96, -63.84) |
| CIE-LCH | lch(27.63, 76.95, 303.94°) |
| OKLab | oklab(39.47% 0.0269 -0.1843) |
| OKLCH | oklch(39.47% 0.186 278.3) |
| XYZ | xyz(9.3755, 5.3209, 36.6020) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.79
Sapphire (survey)
#2138AB
ΔE00 4.70
Royal
#0C1793
ΔE00 6.08
True Blue
#010FCC
ΔE00 6.25
Ultramarine
#2000B1
ΔE00 6.43
Cobalt Blue
#030AA7
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382BA6 #99A62B
analogous
#2B5CA6 #382BA6 #752BA6
triadic
#382BA6 #A6382B #2BA638
tetradic
#382BA6 #A62B5C #99A62B #2BA675
square
#382BA6 #A62B5C #99A62B #2BA675
split-complementary
#382BA6 #A6752B #5CA62B
monochromatic
#171245 #281E75 #382BA6 #4F41CE #7C71DA
Accessibility & contrast
On white
10.17
#382BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#382BA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382BA6
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382BA6 | 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)
#0046AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #382ba6; /* rgb */ color: rgb(56, 43, 166); /* oklch */ color: oklch(39.5% 0.186 278.3);
Tailwind
colors: {
custom: {
50: '#7e66c2',
500: '#382ba6',
950: '#000000',
},
}SCSS
$custom: #382ba6; $custom-light: #7e66c2; $custom-dark: #000000;
JSON
{
"hex": "#382ba6",
"rgb": {
"r": 56,
"g": 43,
"b": 166
},
"hsl": {
"h": 246.341,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.39474,
"c": 0.18629,
"h": 278.3
},
"luminance": 0.05322
}Semantic roles & 50–950 ramp
primary
#382BA6
secondary
#B8C16B
accent
#E246D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81