#382AAF#382AAF
#382AAF is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.3% C 0.198 H 277.4°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #382AAF |
|---|---|
| RGB | rgb(56, 42, 175) |
| HSL | hsl(246, 61%, 43%) |
| HSV | hsv(246, 76%, 69%) |
| CMYK | cmyk(68%, 76%, 0%, 31.4%) |
| CIE-LAB | lab(28.36, 46.37, -68.05) |
| CIE-LCH | lch(28.36, 82.35, 304.27°) |
| OKLab | oklab(40.26% 0.0255 -0.1966) |
| OKLCH | oklch(40.26% 0.198 277.4) |
| XYZ | xyz(10.1942, 5.5909, 41.0911) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.26
Sapphire (survey)
#2138AB
ΔE00 4.90
True Blue
#010FCC
ΔE00 5.33
Violet Blue
#510AC9
ΔE00 5.71
Ultramarine
#2000B1
ΔE00 6.10
Mediumblue
#0000CD
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382AAF #A1AF2A
analogous
#2A5EAF #382AAF #7B2AAF
triadic
#382AAF #AF382A #2AAF38
tetradic
#382AAF #AF2A5E #A1AF2A #2AAF7B
square
#382AAF #AF2A5E #A1AF2A #2AAF7B
split-complementary
#382AAF #AF7B2A #5EAF2A
monochromatic
#18124C #281E7E #382AAF #5344D2 #8075DE
Accessibility & contrast
On white
9.91
#382AAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#382AAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382AAF
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382AAF | 1.00 | 9.91 | 2.12 | 9.91 |
| #FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003DAD
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #382aaf; /* rgb */ color: rgb(56, 42, 175); /* oklch */ color: oklch(40.3% 0.198 277.4);
Tailwind
colors: {
custom: {
50: '#8066c8',
500: '#382aaf',
950: '#000000',
},
}SCSS
$custom: #382aaf; $custom-light: #8066c8; $custom-dark: #000000;
JSON
{
"hex": "#382aaf",
"rgb": {
"r": 56,
"g": 42,
"b": 175
},
"hsl": {
"h": 246.316,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.40262,
"c": 0.19828,
"h": 277.4
},
"luminance": 0.05592
}Semantic roles & 50–950 ramp
primary
#382AAF
secondary
#BCC66F
accent
#E443D3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82