#382DA5#382DA5
#382DA5 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.183 H 278.1°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #382DA5 |
|---|---|
| RGB | rgb(56, 45, 165) |
| HSL | hsl(246, 57%, 41%) |
| HSV | hsv(246, 73%, 65%) |
| CMYK | cmyk(66.1%, 72.7%, 0%, 35.3%) |
| CIE-LAB | lab(27.94, 41.51, -62.73) |
| CIE-LCH | lch(27.94, 75.22, 303.49°) |
| OKLab | oklab(39.66% 0.0258 -0.1811) |
| OKLCH | oklch(39.66% 0.183 278.1) |
| XYZ | xyz(9.3586, 5.4334, 36.1456) |
| Luminance | 0.0543 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.29
Sapphire (survey)
#2138AB
ΔE00 4.31
Ocean Blue
#4F42B5
ΔE00 6.32
Royal
#0C1793
ΔE00 6.34
Blueberry
#464196
ΔE00 6.42
True Blue
#010FCC
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382DA5 #9AA52D
analogous
#2D5EA5 #382DA5 #742DA5
triadic
#382DA5 #A5382D #2DA538
tetradic
#382DA5 #A52D5E #9AA52D #2DA574
square
#382DA5 #A52D5E #9AA52D #2DA574
split-complementary
#382DA5 #A5742D #5EA52D
monochromatic
#171345 #282075 #382DA5 #5043CC #7D73D9
Accessibility & contrast
On white
10.06
#382DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#382DA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382DA5
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382DA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382DA5 | 1.00 | 10.06 | 2.09 | 10.06 |
| #FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #382da5; /* rgb */ color: rgb(56, 45, 165); /* oklch */ color: oklch(39.7% 0.183 278.1);
Tailwind
colors: {
custom: {
50: '#7d68c1',
500: '#382da5',
950: '#000000',
},
}SCSS
$custom: #382da5; $custom-light: #7d68c1; $custom-dark: #000000;
JSON
{
"hex": "#382da5",
"rgb": {
"r": 56,
"g": 45,
"b": 165
},
"hsl": {
"h": 245.5,
"s": 57.143,
"l": 41.176
},
"oklch": {
"l": 0.39661,
"c": 0.18295,
"h": 278.1
},
"luminance": 0.05434
}Semantic roles & 50–950 ramp
primary
#382DA5
secondary
#B9C16D
accent
#E047D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81