#4D478C#4D478C
#4D478C is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.9% C 0.111 H 284.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #4D478C |
|---|---|
| RGB | rgb(77, 71, 140) |
| HSL | hsl(245, 33%, 41%) |
| HSV | hsv(245, 49%, 55%) |
| CMYK | cmyk(45%, 49.3%, 0%, 45.1%) |
| CIE-LAB | lab(33.94, 21.17, -37.69) |
| CIE-LCH | lch(33.94, 43.23, 299.32°) |
| OKLab | oklab(43.89% 0.0283 -0.1069) |
| OKLCH | oklch(43.89% 0.111 284.8) |
| XYZ | xyz(10.0461, 7.9773, 25.8163) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.21
Blueberry
#464196
ΔE00 3.29
Twilight
#4E518B
ΔE00 3.68
Dusk
#4E5481
ΔE00 5.99
Ocean Blue
#4F42B5
ΔE00 7.33
Cobalt (survey)
#1E488F
ΔE00 8.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D478C #868C47
analogous
#47648C #4D478C #70478C
triadic
#4D478C #8C4D47 #478C4D
tetradic
#4D478C #8C4764 #868C47 #478C70
square
#4D478C #8C4764 #868C47 #478C70
split-complementary
#4D478C #8C7047 #648C47
monochromatic
#201E3B #373263 #4D478C #6861AF #8F8AC4
Accessibility & contrast
On white
8.09
#4D478C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#4D478C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D478C
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D478C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D478C | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B528E
Deuteranopia (green-blind)
#294E8A
Tritanopia (blue-blind)
#395563
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #4d478c; /* rgb */ color: rgb(77, 71, 140); /* oklch */ color: oklch(43.9% 0.111 284.8);
Tailwind
colors: {
custom: {
50: '#837aae',
500: '#4d478c',
950: '#000000',
},
}SCSS
$custom: #4d478c; $custom-light: #837aae; $custom-dark: #000000;
JSON
{
"hex": "#4d478c",
"rgb": {
"r": 77,
"g": 71,
"b": 140
},
"hsl": {
"h": 245.217,
"s": 32.701,
"l": 41.373
},
"oklch": {
"l": 0.4389,
"c": 0.11056,
"h": 284.8
},
"luminance": 0.07978
}Semantic roles & 50–950 ramp
primary
#4D478C
secondary
#ABAF80
accent
#C95FC0
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F