#382F79#382F79
#382F79 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.121 H 284.0°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).
Color values
| HEX | #382F79 |
|---|---|
| RGB | rgb(56, 47, 121) |
| HSL | hsl(247, 44%, 33%) |
| HSV | hsv(247, 61%, 47%) |
| CMYK | cmyk(53.7%, 61.2%, 0%, 52.5%) |
| CIE-LAB | lab(24.49, 25.62, -41.13) |
| CIE-LCH | lch(24.49, 48.45, 301.92°) |
| OKLab | oklab(35.97% 0.0294 -0.1177) |
| OKLCH | oklch(35.97% 0.121 284) |
| XYZ | xyz(6.0976, 4.2539, 18.5852) |
| Luminance | 0.0425 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.78
Blueberry
#464196
ΔE00 6.46
Midnight Blue
#191970
ΔE00 6.67
Royal
#0C1793
ΔE00 8.59
Sapphire (survey)
#2138AB
ΔE00 8.64
Marine
#042E60
ΔE00 9.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382F79 #70792F
analogous
#2F4B79 #382F79 #5D2F79
triadic
#382F79 #79382F #2F7938
tetradic
#382F79 #792F4B #70792F #2F795D
square
#382F79 #792F4B #70792F #2F795D
split-complementary
#382F79 #795D2F #4B792F
monochromatic
#0F0D21 #241E4D #382F79 #4C40A5 #6D61C2
Accessibility & contrast
On white
11.35
#382F79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#382F79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382F79
11.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382F79 | 1.00 | 11.35 | 1.85 | 11.35 |
| #FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#1E404F
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #382f79; /* rgb */ color: rgb(56, 47, 121); /* oklch */ color: oklch(36.0% 0.121 284.0);
Tailwind
colors: {
custom: {
50: '#7568a0',
500: '#382f79',
950: '#000000',
},
}SCSS
$custom: #382f79; $custom-light: #7568a0; $custom-dark: #000000;
JSON
{
"hex": "#382f79",
"rgb": {
"r": 56,
"g": 47,
"b": 121
},
"hsl": {
"h": 247.297,
"s": 44.048,
"l": 32.941
},
"oklch": {
"l": 0.35967,
"c": 0.12135,
"h": 284
},
"luminance": 0.04254
}Semantic roles & 50–950 ramp
primary
#382F79
secondary
#9FA85B
accent
#D454C4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060F
muted
#7B7A7E