#4D4AB5#4D4AB5
#4D4AB5 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.4% C 0.165 H 279.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #4D4AB5 |
|---|---|
| RGB | rgb(77, 74, 181) |
| HSL | hsl(242, 42%, 50%) |
| HSV | hsv(242, 59%, 71%) |
| CMYK | cmyk(57.5%, 59.1%, 0%, 29%) |
| CIE-LAB | lab(37.50, 32.49, -56.59) |
| CIE-LCH | lch(37.50, 65.25, 299.86°) |
| OKLab | oklab(47.44% 0.0267 -0.1624) |
| OKLCH | oklch(47.44% 0.165 279.3) |
| XYZ | xyz(13.8472, 9.8106, 44.8711) |
| Luminance | 0.0981 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.48
Blue With A Hint Of Purple
#533CC6
ΔE00 4.79
Blue Blue
#2242C7
ΔE00 5.11
Bluey Purple
#6241C7
ΔE00 5.23
Blueberry
#464196
ΔE00 5.29
Iris
#6258C4
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D4AB5 #B2B54A
analogous
#4A7DB5 #4D4AB5 #824AB5
triadic
#4D4AB5 #B54D4A #4AB54D
tetradic
#4D4AB5 #B54A7D #B2B54A #4AB582
square
#4D4AB5 #B54A7D #B2B54A #4AB582
split-complementary
#4D4AB5 #B5824A #7DB54A
monochromatic
#28265E #3B388A #4D4AB5 #7875C7 #A2A1D9
Accessibility & contrast
On white
7.09
#4D4AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#4D4AB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D4AB5
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D4AB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D4AB5 | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#106478
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #4d4ab5; /* rgb */ color: rgb(77, 74, 181); /* oklch */ color: oklch(47.4% 0.165 279.3);
Tailwind
colors: {
custom: {
50: '#887ccc',
500: '#4d4ab5',
950: '#000000',
},
}SCSS
$custom: #4d4ab5; $custom-light: #887ccc; $custom-dark: #000000;
JSON
{
"hex": "#4d4ab5",
"rgb": {
"r": 77,
"g": 74,
"b": 181
},
"hsl": {
"h": 241.682,
"s": 41.961,
"l": 50
},
"oklch": {
"l": 0.47442,
"c": 0.16461,
"h": 279.3
},
"luminance": 0.09812
}Semantic roles & 50–950 ramp
primary
#4D4AB5
secondary
#C4C595
accent
#D256CE
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0913
muted
#7D7B82