#38477F#38477F
#38477F is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.095 H 270.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #38477F |
|---|---|
| RGB | rgb(56, 71, 127) |
| HSL | hsl(227, 39%, 36%) |
| HSV | hsv(227, 56%, 50%) |
| CMYK | cmyk(55.9%, 44.1%, 0%, 50.2%) |
| CIE-LAB | lab(31.53, 11.61, -33.60) |
| CIE-LCH | lch(31.53, 35.55, 289.06°) |
| OKLab | oklab(41.4% 0.0008 -0.0954) |
| OKLCH | oklch(41.4% 0.095 270.5) |
| XYZ | xyz(7.7136, 6.8790, 20.9959) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.92
Twilight
#4E518B
ΔE00 4.94
Dusk
#4E5481
ΔE00 5.74
Blueberry
#464196
ΔE00 6.13
Darkish Blue
#014182
ΔE00 6.37
Darkslateblue
#483D8B
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38477F #7F7038
analogous
#386A7F #38477F #4C387F
triadic
#38477F #7F3847 #477F38
tetradic
#38477F #7F386A #7F7038 #387F4C
square
#38477F #7F386A #7F7038 #387F4C
split-complementary
#38477F #7F4C38 #6A7F38
monochromatic
#13182A #252F55 #38477F #4B5FA9 #7182C0
Accessibility & contrast
On white
8.84
#38477F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#38477F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38477F
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38477F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38477F | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4D81
Deuteranopia (green-blind)
#27477E
Tritanopia (blue-blind)
#14535D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #38477f; /* rgb */ color: rgb(56, 71, 127); /* oklch */ color: oklch(41.4% 0.095 270.5);
Tailwind
colors: {
custom: {
50: '#7479a4',
500: '#38477f',
950: '#000000',
},
}SCSS
$custom: #38477f; $custom-light: #7479a4; $custom-dark: #000000;
JSON
{
"hex": "#38477f",
"rgb": {
"r": 56,
"g": 71,
"b": 127
},
"hsl": {
"h": 227.324,
"s": 38.798,
"l": 35.882
},
"oklch": {
"l": 0.41395,
"c": 0.09542,
"h": 270.5
},
"luminance": 0.0688
}Semantic roles & 50–950 ramp
primary
#38477F
secondary
#A99C69
accent
#B659CF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09090F
muted
#7B7B7F