#38378E#38378E
#38378E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.140 H 278.3°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #38378E |
|---|---|
| RGB | rgb(56, 55, 142) |
| HSL | hsl(241, 44%, 39%) |
| HSV | hsv(241, 61%, 56%) |
| CMYK | cmyk(60.6%, 61.3%, 0%, 44.3%) |
| CIE-LAB | lab(28.18, 27.56, -48.28) |
| CIE-LCH | lch(28.18, 55.59, 299.72°) |
| OKLab | oklab(39.21% 0.0201 -0.1387) |
| OKLCH | oklch(39.21% 0.14 278.3) |
| XYZ | xyz(7.8780, 5.5256, 26.2373) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.32
Blueberry
#464196
ΔE00 3.39
Sapphire (survey)
#2138AB
ΔE00 4.93
Ocean Blue
#4F42B5
ΔE00 7.06
Cobalt (survey)
#1E488F
ΔE00 8.45
Cobalt
#0047AB
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38378E #8D8E37
analogous
#37618E #38378E #63378E
triadic
#38378E #8E3837 #378E38
tetradic
#38378E #8E3761 #8D8E37 #378E63
square
#38378E #8E3761 #8D8E37 #378E63
split-complementary
#38378E #8E6337 #618E37
monochromatic
#151536 #272662 #38378E #4B49B9 #7776CA
Accessibility & contrast
On white
9.98
#38378E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#38378E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38378E
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38378E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38378E | 1.00 | 9.98 | 2.11 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #38378e; /* rgb */ color: rgb(56, 55, 142); /* oklch */ color: oklch(39.2% 0.140 278.3);
Tailwind
colors: {
custom: {
50: '#786eb0',
500: '#38378e',
950: '#000000',
},
}SCSS
$custom: #38378e; $custom-light: #786eb0; $custom-dark: #000000;
JSON
{
"hex": "#38378e",
"rgb": {
"r": 56,
"g": 55,
"b": 142
},
"hsl": {
"h": 240.69,
"s": 44.162,
"l": 38.627
},
"oklch": {
"l": 0.39209,
"c": 0.14018,
"h": 278.3
},
"luminance": 0.05526
}Semantic roles & 50–950 ramp
primary
#38378E
secondary
#B2B36E
accent
#D454D2
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F