#382F7E#382F7E
#382F7E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.129 H 283.1°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).
Color values
| HEX | #382F7E |
|---|---|
| RGB | rgb(56, 47, 126) |
| HSL | hsl(247, 46%, 34%) |
| HSV | hsv(247, 63%, 49%) |
| CMYK | cmyk(55.6%, 62.7%, 0%, 50.6%) |
| CIE-LAB | lab(24.89, 27.30, -43.65) |
| CIE-LCH | lch(24.89, 51.48, 302.02°) |
| OKLab | oklab(36.38% 0.0292 -0.1252) |
| OKLCH | oklch(36.38% 0.129 283.1) |
| XYZ | xyz(6.4121, 4.3798, 20.2421) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.52
Blueberry
#464196
ΔE00 5.99
Midnight Blue
#191970
ΔE00 6.59
Sapphire (survey)
#2138AB
ΔE00 7.82
Royal
#0C1793
ΔE00 7.95
Indigo (survey)
#380282
ΔE00 9.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382F7E #757E2F
analogous
#2F4E7E #382F7E #602F7E
triadic
#382F7E #7E382F #2F7E38
tetradic
#382F7E #7E2F4E #757E2F #2F7E60
square
#382F7E #7E2F4E #757E2F #2F7E60
split-complementary
#382F7E #7E602F #4E7E2F
monochromatic
#100E25 #241E51 #382F7E #4C40AB #6E63C5
Accessibility & contrast
On white
11.19
#382F7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#382F7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382F7E
11.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382F7E | 1.00 | 11.19 | 1.88 | 11.19 |
| #FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#1A4251
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #382f7e; /* rgb */ color: rgb(56, 47, 126); /* oklch */ color: oklch(36.4% 0.129 283.1);
Tailwind
colors: {
custom: {
50: '#7568a4',
500: '#382f7e',
950: '#000000',
},
}SCSS
$custom: #382f7e; $custom-light: #7568a4; $custom-dark: #000000;
JSON
{
"hex": "#382f7e",
"rgb": {
"r": 56,
"g": 47,
"b": 126
},
"hsl": {
"h": 246.835,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.36383,
"c": 0.12851,
"h": 283.1
},
"luminance": 0.0438
}Semantic roles & 50–950 ramp
primary
#382F7E
secondary
#A3AC5D
accent
#D552C6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F