#382FB2#382FB2
#382FB2 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.3% C 0.197 H 276.4°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #382FB2 |
|---|---|
| RGB | rgb(56, 47, 178) |
| HSL | hsl(244, 58%, 44%) |
| HSV | hsv(244, 74%, 70%) |
| CMYK | cmyk(68.5%, 73.6%, 0%, 30.2%) |
| CIE-LAB | lab(29.63, 44.59, -67.74) |
| CIE-LCH | lch(29.63, 81.10, 303.36°) |
| OKLab | oklab(41.26% 0.022 -0.1958) |
| OKLCH | oklch(41.26% 0.197 276.4) |
| XYZ | xyz(10.6807, 6.0872, 42.7229) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.04
Indigo Blue
#3A18B1
ΔE00 4.41
Blue With A Hint Of Purple
#533CC6
ΔE00 5.41
Ocean Blue
#4F42B5
ΔE00 5.44
Blurple
#5539CC
ΔE00 5.75
True Blue
#010FCC
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382FB2 #A9B22F
analogous
#2F68B2 #382FB2 #7A2FB2
triadic
#382FB2 #B2382F #2FB238
tetradic
#382FB2 #B22F68 #A9B22F #2FB27A
square
#382FB2 #B22F68 #A9B22F #2FB27A
split-complementary
#382FB2 #B27A2F #68B22F
monochromatic
#1A1551 #292282 #382FB2 #574ED0 #857EDD
Accessibility & contrast
On white
9.47
#382FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#382FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382FB2
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382FB2 | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #382fb2; /* rgb */ color: rgb(56, 47, 178); /* oklch */ color: oklch(41.3% 0.197 276.4);
Tailwind
colors: {
custom: {
50: '#8069ca',
500: '#382fb2',
950: '#000000',
},
}SCSS
$custom: #382fb2; $custom-light: #8069ca; $custom-dark: #000000;
JSON
{
"hex": "#382fb2",
"rgb": {
"r": 56,
"g": 47,
"b": 178
},
"hsl": {
"h": 244.122,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.41255,
"c": 0.19699,
"h": 276.4
},
"luminance": 0.06088
}Semantic roles & 50–950 ramp
primary
#382FB2
secondary
#C0C677
accent
#E146D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82