#382A9C#382A9C
#382A9C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.175 H 279.8°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #382A9C |
|---|---|
| RGB | rgb(56, 42, 156) |
| HSL | hsl(247, 58%, 39%) |
| HSV | hsv(247, 73%, 61%) |
| CMYK | cmyk(64.1%, 73.1%, 0%, 38.8%) |
| CIE-LAB | lab(26.44, 40.30, -59.73) |
| CIE-LCH | lch(26.44, 72.06, 304.01°) |
| OKLab | oklab(38.33% 0.0297 -0.1723) |
| OKLCH | oklch(38.33% 0.175 279.8) |
| XYZ | xyz(8.4577, 4.8963, 31.9454) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.39
Sapphire (survey)
#2138AB
ΔE00 5.26
Royal
#0C1793
ΔE00 5.46
Cobalt Blue
#030AA7
ΔE00 6.43
Darkslateblue
#483D8B
ΔE00 6.67
Ultramarine
#2000B1
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382A9C #8E9C2A
analogous
#2A559C #382A9C #712A9C
triadic
#382A9C #9C382A #2A9C38
tetradic
#382A9C #9C2A55 #8E9C2A #2A9C71
square
#382A9C #9C2A55 #8E9C2A #2A9C71
split-complementary
#382A9C #9C712A #559C2A
monochromatic
#15103C #271D6C #382A9C #4B39CA #776AD7
Accessibility & contrast
On white
10.61
#382A9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#382A9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382A9C
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382A9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382A9C | 1.00 | 10.61 | 1.98 | 10.61 |
| #FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #382a9c; /* rgb */ color: rgb(56, 42, 156); /* oklch */ color: oklch(38.3% 0.175 279.8);
Tailwind
colors: {
custom: {
50: '#7c65ba',
500: '#382a9c',
950: '#000000',
},
}SCSS
$custom: #382a9c; $custom-light: #7c65ba; $custom-dark: #000000;
JSON
{
"hex": "#382a9c",
"rgb": {
"r": 56,
"g": 42,
"b": 156
},
"hsl": {
"h": 247.368,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.38328,
"c": 0.17486,
"h": 279.8
},
"luminance": 0.04897
}Semantic roles & 50–950 ramp
primary
#382A9C
secondary
#B2BD65
accent
#E147CE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81