#382BAB#382BAB
#382BAB is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.0% C 0.192 H 277.7°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #382BAB |
|---|---|
| RGB | rgb(56, 43, 171) |
| HSL | hsl(246, 60%, 42%) |
| HSV | hsv(246, 75%, 67%) |
| CMYK | cmyk(67.3%, 74.9%, 0%, 32.9%) |
| CIE-LAB | lab(28.14, 44.56, -66.02) |
| CIE-LCH | lch(28.14, 79.65, 304.02°) |
| OKLab | oklab(39.98% 0.0258 -0.1907) |
| OKLCH | oklch(39.98% 0.192 277.7) |
| XYZ | xyz(9.8431, 5.5079, 39.0646) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.56
Sapphire (survey)
#2138AB
ΔE00 4.66
True Blue
#010FCC
ΔE00 5.79
Violet Blue
#510AC9
ΔE00 6.20
Ultramarine
#2000B1
ΔE00 6.33
Ocean Blue
#4F42B5
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382BAB #9EAB2B
analogous
#2B5EAB #382BAB #782BAB
triadic
#382BAB #AB382B #2BAB38
tetradic
#382BAB #AB2B5E #9EAB2B #2BAB78
square
#382BAB #AB2B5E #9EAB2B #2BAB78
split-complementary
#382BAB #AB782B #5EAB2B
monochromatic
#181249 #281F7A #382BAB #5243D0 #7F74DC
Accessibility & contrast
On white
9.99
#382BAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#382BAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382BAB
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382BAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382BAB | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #382bab; /* rgb */ color: rgb(56, 43, 171); /* oklch */ color: oklch(40.0% 0.192 277.7);
Tailwind
colors: {
custom: {
50: '#7f67c5',
500: '#382bab',
950: '#000000',
},
}SCSS
$custom: #382bab; $custom-light: #7f67c5; $custom-dark: #000000;
JSON
{
"hex": "#382bab",
"rgb": {
"r": 56,
"g": 43,
"b": 171
},
"hsl": {
"h": 246.094,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.39983,
"c": 0.19244,
"h": 277.7
},
"luminance": 0.05509
}Semantic roles & 50–950 ramp
primary
#382BAB
secondary
#BBC46E
accent
#E345D3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82