#382C9F#382C9F
#382C9F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.176 H 279.0°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #382C9F |
|---|---|
| RGB | rgb(56, 44, 159) |
| HSL | hsl(246, 57%, 40%) |
| HSV | hsv(246, 72%, 62%) |
| CMYK | cmyk(64.8%, 72.3%, 0%, 37.6%) |
| CIE-LAB | lab(27.14, 40.13, -60.40) |
| CIE-LCH | lch(27.14, 72.51, 303.60°) |
| OKLab | oklab(38.92% 0.0276 -0.1743) |
| OKLCH | oklch(38.92% 0.176 279) |
| XYZ | xyz(8.7876, 5.1446, 33.3241) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.51
Sapphire (survey)
#2138AB
ΔE00 4.71
Royal
#0C1793
ΔE00 5.89
Blueberry
#464196
ΔE00 6.35
Darkslateblue
#483D8B
ΔE00 6.52
Cobalt Blue
#030AA7
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382C9F #939F2C
analogous
#2C599F #382C9F #722C9F
triadic
#382C9F #9F382C #2C9F38
tetradic
#382C9F #9F2C59 #939F2C #2C9F72
square
#382C9F #9F2C59 #939F2C #2C9F72
split-complementary
#382C9F #9F722C #599F2C
monochromatic
#16113F #271F6F #382C9F #4D3ECA #796ED7
Accessibility & contrast
On white
10.35
#382C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#382C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382C9F
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382C9F | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #382c9f; /* rgb */ color: rgb(56, 44, 159); /* oklch */ color: oklch(38.9% 0.176 279.0);
Tailwind
colors: {
custom: {
50: '#7c67bc',
500: '#382c9f',
950: '#000000',
},
}SCSS
$custom: #382c9f; $custom-light: #7c67bc; $custom-dark: #000000;
JSON
{
"hex": "#382c9f",
"rgb": {
"r": 56,
"g": 44,
"b": 159
},
"hsl": {
"h": 246.261,
"s": 56.65,
"l": 39.804
},
"oklch": {
"l": 0.38919,
"c": 0.17647,
"h": 279
},
"luminance": 0.05145
}Semantic roles & 50–950 ramp
primary
#382C9F
secondary
#B5BE69
accent
#E048D0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81