#382FA0#382FA0
#382FA0 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.174 H 278.3°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #382FA0 |
|---|---|
| RGB | rgb(56, 47, 160) |
| HSL | hsl(245, 55%, 41%) |
| HSV | hsv(245, 71%, 63%) |
| CMYK | cmyk(65%, 70.6%, 0%, 37.3%) |
| CIE-LAB | lab(27.88, 38.70, -59.80) |
| CIE-LCH | lch(27.88, 71.23, 302.91°) |
| OKLab | oklab(39.47% 0.0253 -0.1726) |
| OKLCH | oklch(39.47% 0.174 278.3) |
| XYZ | xyz(8.9905, 5.4111, 33.8216) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.07
Indigo Blue
#3A18B1
ΔE00 5.10
Blueberry
#464196
ΔE00 5.71
Darkslateblue
#483D8B
ΔE00 6.09
Ocean Blue
#4F42B5
ΔE00 6.26
Royal
#0C1793
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382FA0 #97A02F
analogous
#2F5EA0 #382FA0 #702FA0
triadic
#382FA0 #A0382F #2FA038
tetradic
#382FA0 #A02F5E #97A02F #2FA070
square
#382FA0 #A02F5E #97A02F #2FA070
split-complementary
#382FA0 #A0702F #5EA02F
monochromatic
#171341 #272171 #382FA0 #4F44C8 #7B73D6
Accessibility & contrast
On white
10.08
#382FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#382FA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382FA0
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382FA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382FA0 | 1.00 | 10.08 | 2.08 | 10.08 |
| #FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #382fa0; /* rgb */ color: rgb(56, 47, 160); /* oklch */ color: oklch(39.5% 0.174 278.3);
Tailwind
colors: {
custom: {
50: '#7c69bd',
500: '#382fa0',
950: '#000000',
},
}SCSS
$custom: #382fa0; $custom-light: #7c69bd; $custom-dark: #000000;
JSON
{
"hex": "#382fa0",
"rgb": {
"r": 56,
"g": 47,
"b": 160
},
"hsl": {
"h": 244.779,
"s": 54.589,
"l": 40.588
},
"oklch": {
"l": 0.39472,
"c": 0.1744,
"h": 278.3
},
"luminance": 0.05412
}Semantic roles & 50–950 ramp
primary
#382FA0
secondary
#B7BE6D
accent
#DE4AD2
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81