#382C9E#382C9E
#382C9E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.175 H 279.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #382C9E |
|---|---|
| RGB | rgb(56, 44, 158) |
| HSL | hsl(246, 56%, 40%) |
| HSV | hsv(246, 72%, 62%) |
| CMYK | cmyk(64.6%, 72.2%, 0%, 38%) |
| CIE-LAB | lab(27.05, 39.80, -59.95) |
| CIE-LCH | lch(27.05, 71.96, 303.58°) |
| OKLab | oklab(38.82% 0.0278 -0.173) |
| OKLCH | oklch(38.82% 0.175 279.1) |
| XYZ | xyz(8.7012, 5.1101, 32.8689) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.60
Sapphire (survey)
#2138AB
ΔE00 4.76
Royal
#0C1793
ΔE00 5.86
Blueberry
#464196
ΔE00 6.31
Darkslateblue
#483D8B
ΔE00 6.44
Cobalt Blue
#030AA7
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382C9E #929E2C
analogous
#2C599E #382C9E #712C9E
triadic
#382C9E #9E382C #2C9E38
tetradic
#382C9E #9E2C59 #929E2C #2C9E71
square
#382C9E #9E2C59 #929E2C #2C9E71
split-complementary
#382C9E #9E712C #599E2C
monochromatic
#16113E #271F6E #382C9E #4D3EC9 #796ED7
Accessibility & contrast
On white
10.38
#382C9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#382C9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382C9E
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382C9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382C9E | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #382c9e; /* rgb */ color: rgb(56, 44, 158); /* oklch */ color: oklch(38.8% 0.175 279.1);
Tailwind
colors: {
custom: {
50: '#7c67bc',
500: '#382c9e',
950: '#000000',
},
}SCSS
$custom: #382c9e; $custom-light: #7c67bc; $custom-dark: #000000;
JSON
{
"hex": "#382c9e",
"rgb": {
"r": 56,
"g": 44,
"b": 158
},
"hsl": {
"h": 246.316,
"s": 56.436,
"l": 39.608
},
"oklch": {
"l": 0.3882,
"c": 0.1752,
"h": 279.1
},
"luminance": 0.05111
}Semantic roles & 50–950 ramp
primary
#382C9E
secondary
#B5BE68
accent
#E048D0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81