#382F95#382F95
#382F95 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.160 H 279.7°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #382F95 |
|---|---|
| RGB | rgb(56, 47, 149) |
| HSL | hsl(245, 52%, 38%) |
| HSV | hsv(245, 68%, 58%) |
| CMYK | cmyk(62.4%, 68.5%, 0%, 41.6%) |
| CIE-LAB | lab(26.86, 35.04, -54.75) |
| CIE-LCH | lch(26.86, 65.00, 302.61°) |
| OKLab | oklab(38.43% 0.027 -0.1578) |
| OKLCH | oklch(38.43% 0.16 279.7) |
| XYZ | xyz(8.0705, 5.0431, 28.9761) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.86
Darkslateblue
#483D8B
ΔE00 5.17
Blueberry
#464196
ΔE00 5.32
Indigo Blue
#3A18B1
ΔE00 6.15
Royal
#0C1793
ΔE00 6.38
Ocean Blue
#4F42B5
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382F95 #8C952F
analogous
#2F5995 #382F95 #6B2F95
triadic
#382F95 #95382F #2F9538
tetradic
#382F95 #952F59 #8C952F #2F956B
square
#382F95 #952F59 #8C952F #2F956B
split-complementary
#382F95 #956B2F #59952F
monochromatic
#151238 #272066 #382F95 #4A3FC2 #766DD1
Accessibility & contrast
On white
10.45
#382F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#382F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382F95
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382F95 | 1.00 | 10.45 | 2.01 | 10.45 |
| #FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #382f95; /* rgb */ color: rgb(56, 47, 149); /* oklch */ color: oklch(38.4% 0.160 279.7);
Tailwind
colors: {
custom: {
50: '#7a68b5',
500: '#382f95',
950: '#000000',
},
}SCSS
$custom: #382f95; $custom-light: #7a68b5; $custom-dark: #000000;
JSON
{
"hex": "#382f95",
"rgb": {
"r": 56,
"g": 47,
"b": 149
},
"hsl": {
"h": 245.294,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.38427,
"c": 0.16006,
"h": 279.7
},
"luminance": 0.05044
}Semantic roles & 50–950 ramp
primary
#382F95
secondary
#B1B867
accent
#DB4CCF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80