#382AAE#382AAE
#382AAE is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.197 H 277.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #382AAE |
|---|---|
| RGB | rgb(56, 42, 174) |
| HSL | hsl(246, 61%, 42%) |
| HSV | hsv(246, 76%, 68%) |
| CMYK | cmyk(67.8%, 75.9%, 0%, 31.8%) |
| CIE-LAB | lab(28.25, 46.06, -67.63) |
| CIE-LCH | lch(28.25, 81.82, 304.26°) |
| OKLab | oklab(40.16% 0.0257 -0.1954) |
| OKLCH | oklch(40.16% 0.197 277.5) |
| XYZ | xyz(10.0964, 5.5518, 40.5757) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.27
Sapphire (survey)
#2138AB
ΔE00 4.88
True Blue
#010FCC
ΔE00 5.40
Violet Blue
#510AC9
ΔE00 5.79
Ultramarine
#2000B1
ΔE00 6.10
Mediumblue
#0000CD
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382AAE #A0AE2A
analogous
#2A5EAE #382AAE #7A2AAE
triadic
#382AAE #AE382A #2AAE38
tetradic
#382AAE #AE2A5E #A0AE2A #2AAE7A
square
#382AAE #AE2A5E #A0AE2A #2AAE7A
split-complementary
#382AAE #AE7A2A #5EAE2A
monochromatic
#18124B #281E7D #382AAE #5343D2 #8075DE
Accessibility & contrast
On white
9.95
#382AAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#382AAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382AAE
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382AAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382AAE | 1.00 | 9.95 | 2.11 | 9.95 |
| #FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#003DAC
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #382aae; /* rgb */ color: rgb(56, 42, 174); /* oklch */ color: oklch(40.2% 0.197 277.5);
Tailwind
colors: {
custom: {
50: '#7f66c7',
500: '#382aae',
950: '#000000',
},
}SCSS
$custom: #382aae; $custom-light: #7f66c7; $custom-dark: #000000;
JSON
{
"hex": "#382aae",
"rgb": {
"r": 56,
"g": 42,
"b": 174
},
"hsl": {
"h": 246.364,
"s": 61.111,
"l": 42.353
},
"oklch": {
"l": 0.40158,
"c": 0.19707,
"h": 277.5
},
"luminance": 0.05553
}Semantic roles & 50–950 ramp
primary
#382AAE
secondary
#BCC56F
accent
#E444D3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82