#38478E#38478E
#38478E is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.4% C 0.118 H 271.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #38478E |
|---|---|
| RGB | rgb(56, 71, 142) |
| HSL | hsl(230, 43%, 39%) |
| HSV | hsv(230, 61%, 56%) |
| CMYK | cmyk(60.6%, 50%, 0%, 44.3%) |
| CIE-LAB | lab(32.48, 16.93, -41.34) |
| CIE-LCH | lch(32.48, 44.67, 292.28°) |
| OKLab | oklab(42.43% 0.0032 -0.1181) |
| OKLCH | oklch(42.43% 0.118 271.5) |
| XYZ | xyz(8.7650, 7.2995, 26.5330) |
| Luminance | 0.0730 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.24
Blueberry
#464196
ΔE00 4.41
Twilight
#4E518B
ΔE00 5.16
Darkslateblue
#483D8B
ΔE00 5.66
Cobalt
#0047AB
ΔE00 5.84
Darkish Blue
#014182
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38478E #8E7F38
analogous
#38728E #38478E #54388E
triadic
#38478E #8E3847 #478E38
tetradic
#38478E #8E3872 #8E7F38 #388E54
square
#38478E #8E3872 #8E7F38 #388E54
split-complementary
#38478E #8E5438 #728E38
monochromatic
#151B36 #273162 #38478E #4B5EB8 #7785C9
Accessibility & contrast
On white
8.54
#38478E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#38478E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38478E
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38478E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38478E | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#235091
Deuteranopia (green-blind)
#14498D
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #38478e; /* rgb */ color: rgb(56, 71, 142); /* oklch */ color: oklch(42.4% 0.118 271.5);
Tailwind
colors: {
custom: {
50: '#7779af',
500: '#38478e',
950: '#000000',
},
}SCSS
$custom: #38478e; $custom-light: #7779af; $custom-dark: #000000;
JSON
{
"hex": "#38478e",
"rgb": {
"r": 56,
"g": 71,
"b": 142
},
"hsl": {
"h": 229.535,
"s": 43.434,
"l": 38.824
},
"oklch": {
"l": 0.42426,
"c": 0.11818,
"h": 271.5
},
"luminance": 0.073
}Semantic roles & 50–950 ramp
primary
#38478E
secondary
#B2A76F
accent
#BD55D3
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090910
muted
#7B7B7F