#382FB6#382FB6
#382FB6 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.7% C 0.202 H 276.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #382FB6 |
|---|---|
| RGB | rgb(56, 47, 182) |
| HSL | hsl(244, 59%, 45%) |
| HSV | hsv(244, 74%, 71%) |
| CMYK | cmyk(69.2%, 74.2%, 0%, 28.6%) |
| CIE-LAB | lab(30.04, 45.88, -69.46) |
| CIE-LCH | lch(30.04, 83.25, 303.45°) |
| OKLab | oklab(41.66% 0.0212 -0.2008) |
| OKLCH | oklch(41.66% 0.202 276) |
| XYZ | xyz(11.0881, 6.2502, 44.8690) |
| Luminance | 0.0625 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.23
Indigo Blue
#3A18B1
ΔE00 4.46
Blue With A Hint Of Purple
#533CC6
ΔE00 5.09
Ocean Blue
#4F42B5
ΔE00 5.37
Blurple
#5539CC
ΔE00 5.38
True Blue
#010FCC
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382FB6 #ADB62F
analogous
#2F6AB6 #382FB6 #7C2FB6
triadic
#382FB6 #B6382F #2FB638
tetradic
#382FB6 #B62F6A #ADB62F #2FB67C
square
#382FB6 #B62F6A #ADB62F #2FB67C
split-complementary
#382FB6 #B67C2F #6AB62F
monochromatic
#1A1655 #292285 #382FB6 #5950D2 #8781DE
Accessibility & contrast
On white
9.33
#382FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#382FB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382FB6
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382FB6 | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DBA
Deuteranopia (green-blind)
#0041B4
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #382fb6; /* rgb */ color: rgb(56, 47, 182); /* oklch */ color: oklch(41.7% 0.202 276.0);
Tailwind
colors: {
custom: {
50: '#816acd',
500: '#382fb6',
950: '#000000',
},
}SCSS
$custom: #382fb6; $custom-light: #816acd; $custom-dark: #000000;
JSON
{
"hex": "#382fb6",
"rgb": {
"r": 56,
"g": 47,
"b": 182
},
"hsl": {
"h": 244,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.41663,
"c": 0.20188,
"h": 276
},
"luminance": 0.06251
}Semantic roles & 50–950 ramp
primary
#382FB6
secondary
#C2C779
accent
#E246D8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82