#38479E#38479E
#38479E is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.142 H 271.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #38479E |
|---|---|
| RGB | rgb(56, 71, 158) |
| HSL | hsl(231, 48%, 42%) |
| HSV | hsv(231, 65%, 62%) |
| CMYK | cmyk(64.6%, 55.1%, 0%, 38%) |
| CIE-LAB | lab(33.59, 22.69, -49.27) |
| CIE-LCH | lch(33.59, 54.24, 294.73°) |
| OKLab | oklab(43.62% 0.0046 -0.1415) |
| OKLCH | oklch(43.62% 0.142 271.9) |
| XYZ | xyz(10.0536, 7.8150, 33.3198) |
| Luminance | 0.0782 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.89
Cobalt
#0047AB
ΔE00 4.61
Cobalt (survey)
#1E488F
ΔE00 4.98
Sapphire (survey)
#2138AB
ΔE00 5.22
Darkslateblue
#483D8B
ΔE00 5.96
Ocean Blue
#4F42B5
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38479E #9E8F38
analogous
#387A9E #38479E #5C389E
triadic
#38479E #9E3847 #479E38
tetradic
#38479E #9E387A #9E8F38 #389E5C
square
#38479E #9E387A #9E8F38 #389E5C
split-complementary
#38479E #9E5C38 #7A9E38
monochromatic
#181E44 #283371 #38479E #5262C2 #7F8BD2
Accessibility & contrast
On white
8.19
#38479E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#38479E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38479E
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38479E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38479E | 1.00 | 8.19 | 2.56 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0854A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #38479e; /* rgb */ color: rgb(56, 71, 158); /* oklch */ color: oklch(43.6% 0.142 271.9);
Tailwind
colors: {
custom: {
50: '#7a7abb',
500: '#38479e',
950: '#000000',
},
}SCSS
$custom: #38479e; $custom-light: #7a7abb; $custom-dark: #000000;
JSON
{
"hex": "#38479e",
"rgb": {
"r": 56,
"g": 71,
"b": 158
},
"hsl": {
"h": 231.176,
"s": 47.664,
"l": 41.961
},
"oklch": {
"l": 0.43624,
"c": 0.14155,
"h": 271.9
},
"luminance": 0.07816
}Semantic roles & 50–950 ramp
primary
#38479E
secondary
#BBB177
accent
#C351D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81