#382F94#382F94
#382F94 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.159 H 279.8°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #382F94 |
|---|---|
| RGB | rgb(56, 47, 148) |
| HSL | hsl(245, 52%, 38%) |
| HSV | hsv(245, 68%, 58%) |
| CMYK | cmyk(62.2%, 68.2%, 0%, 42%) |
| CIE-LAB | lab(26.77, 34.70, -54.29) |
| CIE-LCH | lch(26.77, 64.43, 302.59°) |
| OKLab | oklab(38.33% 0.0271 -0.1564) |
| OKLCH | oklch(38.33% 0.159 279.8) |
| XYZ | xyz(7.9910, 5.0113, 28.5574) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.95
Darkslateblue
#483D8B
ΔE00 5.10
Blueberry
#464196
ΔE00 5.30
Indigo Blue
#3A18B1
ΔE00 6.27
Royal
#0C1793
ΔE00 6.40
Ocean Blue
#4F42B5
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382F94 #8B942F
analogous
#2F5894 #382F94 #6A2F94
triadic
#382F94 #94382F #2F9438
tetradic
#382F94 #942F58 #8B942F #2F946A
square
#382F94 #942F58 #8B942F #2F946A
split-complementary
#382F94 #946A2F #58942F
monochromatic
#151137 #262066 #382F94 #4A3EC2 #766DD1
Accessibility & contrast
On white
10.49
#382F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#382F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382F94
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382F94 | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #382f94; /* rgb */ color: rgb(56, 47, 148); /* oklch */ color: oklch(38.3% 0.159 279.8);
Tailwind
colors: {
custom: {
50: '#7a68b4',
500: '#382f94',
950: '#000000',
},
}SCSS
$custom: #382f94; $custom-light: #7a68b4; $custom-dark: #000000;
JSON
{
"hex": "#382f94",
"rgb": {
"r": 56,
"g": 47,
"b": 148
},
"hsl": {
"h": 245.347,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.38334,
"c": 0.15873,
"h": 279.8
},
"luminance": 0.05012
}Semantic roles & 50–950 ramp
primary
#382F94
secondary
#B1B867
accent
#DB4DCF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80