#4D4DFF color
#4D4DFF is a light, vivid blue, closest to the CSS named color royalblue (#4169E1).
Color values
| HEX | #4D4DFF |
| RGB | rgb(77, 77, 255) |
| HSL | hsl(240, 100%, 65%) |
| CMYK | cmyk(70%, 70%, 0%, 0%) |
| Decimal | 5066239 |
| CSS | color: #4D4DFF; |
| Android | 0xFF4D4DFF |
| Swift | UIColor(red: 0.302, green: 0.302, blue: 1.000, alpha: 1) |
Accessibility and contrast
| White text on #4D4DFF | 5.50:1 — AA pass · AA large pass · AAA fail |
| Black text on #4D4DFF | 3.82:1 — AA fail · AA large pass · AAA fail |
| Recommended text color | white |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #4D4DFF
Each swatch keeps the hue and saturation of #4D4DFF and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #4D4DFF
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #4D4DFF in code
/* CSS */
.element { color: #4D4DFF; background-color: #4D4DFF; }
.element { color: rgb(77 77 255); }
.element { color: hsl(240 100% 65%); }
/* Tailwind arbitrary value */
<div class="bg-[#4D4DFF] text-white">
/* SCSS variable */
$brand: #4D4DFF;
Frequently asked questions
What color is #4D4DFF?
#4D4DFF is a light, vivid blue. Its hue sits at 240° on the color wheel, with 100% saturation and 65% lightness.
What is #4D4DFF in RGB?
#4D4DFF converts to rgb(77, 77, 255) — 77 red, 77 green and 255 blue.
What is #4D4DFF in CMYK?
Approximately cmyk(70%, 70%, 0%, 0%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #4D4DFF be white or black?
White gives the better contrast ratio (5.50:1 versus 3.82:1).
What is the complementary color of #4D4DFF?
#FFFF4D — the hue directly opposite #4D4DFF on the color wheel.