#382CA9#382CA9
#382CA9 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.189 H 277.8°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #382CA9 |
|---|---|
| RGB | rgb(56, 44, 169) |
| HSL | hsl(246, 59%, 42%) |
| HSV | hsv(246, 74%, 66%) |
| CMYK | cmyk(66.9%, 74%, 0%, 33.7%) |
| CIE-LAB | lab(28.13, 43.37, -64.82) |
| CIE-LCH | lch(28.13, 77.99, 303.78°) |
| OKLab | oklab(39.92% 0.0256 -0.1872) |
| OKLCH | oklch(39.92% 0.189 277.8) |
| XYZ | xyz(9.6907, 5.5059, 38.0805) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.86
Sapphire (survey)
#2138AB
ΔE00 4.46
True Blue
#010FCC
ΔE00 6.12
Ocean Blue
#4F42B5
ΔE00 6.31
Royal
#0C1793
ΔE00 6.43
Violet Blue
#510AC9
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382CA9 #9DA92C
analogous
#2C5FA9 #382CA9 #772CA9
triadic
#382CA9 #A9382C #2CA938
tetradic
#382CA9 #A92C5F #9DA92C #2CA977
square
#382CA9 #A92C5F #9DA92C #2CA977
split-complementary
#382CA9 #A9772C #5FA92C
monochromatic
#181348 #281F78 #382CA9 #5144CE #7E74DB
Accessibility & contrast
On white
9.99
#382CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#382CA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382CA9
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382CA9 | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003DA7
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #382ca9; /* rgb */ color: rgb(56, 44, 169); /* oklch */ color: oklch(39.9% 0.189 277.8);
Tailwind
colors: {
custom: {
50: '#7e67c4',
500: '#382ca9',
950: '#000000',
},
}SCSS
$custom: #382ca9; $custom-light: #7e67c4; $custom-dark: #000000;
JSON
{
"hex": "#382ca9",
"rgb": {
"r": 56,
"g": 44,
"b": 169
},
"hsl": {
"h": 245.76,
"s": 58.685,
"l": 41.765
},
"oklch": {
"l": 0.39919,
"c": 0.18897,
"h": 277.8
},
"luminance": 0.05507
}Semantic roles & 50–950 ramp
primary
#382CA9
secondary
#BAC36E
accent
#E246D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82