#382CA5#382CA5
#382CA5 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.184 H 278.3°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #382CA5 |
|---|---|
| RGB | rgb(56, 44, 165) |
| HSL | hsl(246, 58%, 41%) |
| HSV | hsv(246, 73%, 65%) |
| CMYK | cmyk(66.1%, 73.3%, 0%, 35.3%) |
| CIE-LAB | lab(27.73, 42.08, -63.07) |
| CIE-LCH | lch(27.73, 75.82, 303.71°) |
| OKLab | oklab(39.52% 0.0265 -0.1821) |
| OKLCH | oklch(39.52% 0.184 278.3) |
| XYZ | xyz(9.3209, 5.3580, 36.1330) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.07
Sapphire (survey)
#2138AB
ΔE00 4.51
Royal
#0C1793
ΔE00 6.18
True Blue
#010FCC
ΔE00 6.49
Ocean Blue
#4F42B5
ΔE00 6.51
Blueberry
#464196
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382CA5 #99A52C
analogous
#2C5CA5 #382CA5 #742CA5
triadic
#382CA5 #A5382C #2CA538
tetradic
#382CA5 #A52C5C #99A52C #2CA574
square
#382CA5 #A52C5C #99A52C #2CA574
split-complementary
#382CA5 #A5742C #5CA52C
monochromatic
#171244 #281F75 #382CA5 #4F42CD #7C72D9
Accessibility & contrast
On white
10.14
#382CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#382CA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382CA5
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382CA5 | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #382ca5; /* rgb */ color: rgb(56, 44, 165); /* oklch */ color: oklch(39.5% 0.184 278.3);
Tailwind
colors: {
custom: {
50: '#7d67c1',
500: '#382ca5',
950: '#000000',
},
}SCSS
$custom: #382ca5; $custom-light: #7d67c1; $custom-dark: #000000;
JSON
{
"hex": "#382ca5",
"rgb": {
"r": 56,
"g": 44,
"b": 165
},
"hsl": {
"h": 245.95,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.39516,
"c": 0.184,
"h": 278.3
},
"luminance": 0.05359
}Semantic roles & 50–950 ramp
primary
#382CA5
secondary
#B8C16C
accent
#E147D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81