#382D9F#382D9F
#382D9F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.175 H 278.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #382D9F |
|---|---|
| RGB | rgb(56, 45, 159) |
| HSL | hsl(246, 56%, 40%) |
| HSV | hsv(246, 72%, 62%) |
| CMYK | cmyk(64.8%, 71.7%, 0%, 37.6%) |
| CIE-LAB | lab(27.35, 39.55, -60.05) |
| CIE-LCH | lch(27.35, 71.91, 303.37°) |
| OKLab | oklab(39.07% 0.0269 -0.1733) |
| OKLCH | oklch(39.07% 0.175 278.8) |
| XYZ | xyz(8.8253, 5.2200, 33.3367) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.51
Indigo Blue
#3A18B1
ΔE00 4.73
Royal
#0C1793
ΔE00 6.08
Blueberry
#464196
ΔE00 6.13
Darkslateblue
#483D8B
ΔE00 6.35
Ocean Blue
#4F42B5
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382D9F #949F2D
analogous
#2D5B9F #382D9F #712D9F
triadic
#382D9F #9F382D #2D9F38
tetradic
#382D9F #9F2D5B #949F2D #2D9F71
square
#382D9F #9F2D5B #949F2D #2D9F71
split-complementary
#382D9F #9F712D #5B9F2D
monochromatic
#161240 #27206F #382D9F #4D40C9 #7A70D6
Accessibility & contrast
On white
10.27
#382D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#382D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382D9F
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382D9F | 1.00 | 10.27 | 2.04 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #382d9f; /* rgb */ color: rgb(56, 45, 159); /* oklch */ color: oklch(39.1% 0.175 278.8);
Tailwind
colors: {
custom: {
50: '#7c67bc',
500: '#382d9f',
950: '#000000',
},
}SCSS
$custom: #382d9f; $custom-light: #7c67bc; $custom-dark: #000000;
JSON
{
"hex": "#382d9f",
"rgb": {
"r": 56,
"g": 45,
"b": 159
},
"hsl": {
"h": 245.789,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.39068,
"c": 0.17537,
"h": 278.8
},
"luminance": 0.05221
}Semantic roles & 50–950 ramp
primary
#382D9F
secondary
#B6BE6A
accent
#DF49D1
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81