#382BA9#382BA9
#382BA9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.8% C 0.190 H 277.9°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #382BA9 |
|---|---|
| RGB | rgb(56, 43, 169) |
| HSL | hsl(246, 59%, 42%) |
| HSV | hsv(246, 75%, 66%) |
| CMYK | cmyk(66.9%, 74.6%, 0%, 33.7%) |
| CIE-LAB | lab(27.93, 43.92, -65.15) |
| CIE-LCH | lch(27.93, 78.57, 303.99°) |
| OKLab | oklab(39.78% 0.0263 -0.1882) |
| OKLCH | oklch(39.78% 0.19 277.9) |
| XYZ | xyz(9.6539, 5.4323, 38.0682) |
| Luminance | 0.0543 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.64
Sapphire (survey)
#2138AB
ΔE00 4.66
True Blue
#010FCC
ΔE00 5.97
Royal
#0C1793
ΔE00 6.28
Ultramarine
#2000B1
ΔE00 6.36
Violet Blue
#510AC9
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382BA9 #9CA92B
analogous
#2B5DA9 #382BA9 #772BA9
triadic
#382BA9 #A9382B #2BA938
tetradic
#382BA9 #A92B5D #9CA92B #2BA977
square
#382BA9 #A92B5D #9CA92B #2BA977
split-complementary
#382BA9 #A9772B #5DA92B
monochromatic
#181247 #281F78 #382BA9 #5142CF #7E73DB
Accessibility & contrast
On white
10.06
#382BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#382BA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382BA9
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382BA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382BA9 | 1.00 | 10.06 | 2.09 | 10.06 |
| #FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003DA7
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #382ba9; /* rgb */ color: rgb(56, 43, 169); /* oklch */ color: oklch(39.8% 0.190 277.9);
Tailwind
colors: {
custom: {
50: '#7e67c4',
500: '#382ba9',
950: '#000000',
},
}SCSS
$custom: #382ba9; $custom-light: #7e67c4; $custom-dark: #000000;
JSON
{
"hex": "#382ba9",
"rgb": {
"r": 56,
"g": 43,
"b": 169
},
"hsl": {
"h": 246.19,
"s": 59.434,
"l": 41.569
},
"oklch": {
"l": 0.39779,
"c": 0.18999,
"h": 277.9
},
"luminance": 0.05433
}Semantic roles & 50–950 ramp
primary
#382BA9
secondary
#BAC36D
accent
#E345D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82