#382AAA#382AAA
#382AAA is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.192 H 278.0°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #382AAA |
|---|---|
| RGB | rgb(56, 42, 170) |
| HSL | hsl(247, 60%, 42%) |
| HSV | hsv(247, 75%, 67%) |
| CMYK | cmyk(67.1%, 75.3%, 0%, 33.3%) |
| CIE-LAB | lab(27.84, 44.79, -65.90) |
| CIE-LCH | lch(27.84, 79.68, 304.20°) |
| OKLab | oklab(39.74% 0.0267 -0.1904) |
| OKLCH | oklch(39.74% 0.192 278) |
| XYZ | xyz(9.7122, 5.3981, 38.5525) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.37
Sapphire (survey)
#2138AB
ΔE00 4.86
True Blue
#010FCC
ΔE00 5.73
Ultramarine
#2000B1
ΔE00 6.12
Violet Blue
#510AC9
ΔE00 6.16
Royal
#0C1793
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382AAA #9CAA2A
analogous
#2A5CAA #382AAA #782AAA
triadic
#382AAA #AA382A #2AAA38
tetradic
#382AAA #AA2A5C #9CAA2A #2AAA78
square
#382AAA #AA2A5C #9CAA2A #2AAA78
split-complementary
#382AAA #AA782A #5CAA2A
monochromatic
#181248 #281E79 #382AAA #5141D0 #7E72DC
Accessibility & contrast
On white
10.10
#382AAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#382AAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382AAA
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382AAA | 1.00 | 10.10 | 2.08 | 10.10 |
| #FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #382aaa; /* rgb */ color: rgb(56, 42, 170); /* oklch */ color: oklch(39.7% 0.192 278.0);
Tailwind
colors: {
custom: {
50: '#7f66c5',
500: '#382aaa',
950: '#000000',
},
}SCSS
$custom: #382aaa; $custom-light: #7f66c5; $custom-dark: #000000;
JSON
{
"hex": "#382aaa",
"rgb": {
"r": 56,
"g": 42,
"b": 170
},
"hsl": {
"h": 246.563,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.39744,
"c": 0.19222,
"h": 278
},
"luminance": 0.05399
}Semantic roles & 50–950 ramp
primary
#382AAA
secondary
#BAC36C
accent
#E444D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82