#382FA3#382FA3
#382FA3 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.178 H 278.0°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #382FA3 |
|---|---|
| RGB | rgb(56, 47, 163) |
| HSL | hsl(245, 55%, 41%) |
| HSV | hsv(245, 71%, 64%) |
| CMYK | cmyk(65.6%, 71.2%, 0%, 36.1%) |
| CIE-LAB | lab(28.16, 39.69, -61.15) |
| CIE-LCH | lch(28.16, 72.90, 302.99°) |
| OKLab | oklab(39.76% 0.0248 -0.1765) |
| OKLCH | oklch(39.76% 0.178 278) |
| XYZ | xyz(9.2561, 5.5174, 35.2204) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.95
Indigo Blue
#3A18B1
ΔE00 4.89
Blueberry
#464196
ΔE00 5.87
Ocean Blue
#4F42B5
ΔE00 6.07
Darkslateblue
#483D8B
ΔE00 6.36
Royal
#0C1793
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382FA3 #9AA32F
analogous
#2F60A3 #382FA3 #722FA3
triadic
#382FA3 #A3382F #2FA338
tetradic
#382FA3 #A32F60 #9AA32F #2FA372
square
#382FA3 #A32F60 #9AA32F #2FA372
split-complementary
#382FA3 #A3722F #60A32F
monochromatic
#171444 #282173 #382FA3 #5046CA #7D75D7
Accessibility & contrast
On white
9.98
#382FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#382FA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382FA3
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382FA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382FA3 | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #382fa3; /* rgb */ color: rgb(56, 47, 163); /* oklch */ color: oklch(39.8% 0.178 278.0);
Tailwind
colors: {
custom: {
50: '#7d69bf',
500: '#382fa3',
950: '#000000',
},
}SCSS
$custom: #382fa3; $custom-light: #7d69bf; $custom-dark: #000000;
JSON
{
"hex": "#382fa3",
"rgb": {
"r": 56,
"g": 47,
"b": 163
},
"hsl": {
"h": 244.655,
"s": 55.238,
"l": 41.176
},
"oklch": {
"l": 0.39763,
"c": 0.17824,
"h": 278
},
"luminance": 0.05518
}Semantic roles & 50–950 ramp
primary
#382FA3
secondary
#B9BF6F
accent
#DF49D3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81