#4F46E5 color
The swatch above shows #4F46E5 with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.
#4F46E5 is a medium, vivid blue, closest to the CSS named color slateblue (#6A5ACD).
It is also a Tailwind CSS default: indigo-600. That means you can write bg-indigo-600 or text-indigo-600 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #4F46E5 |
| RGB | rgb(79, 70, 229) |
| HSL | hsl(243, 75%, 59%) |
| CMYK | cmyk(66%, 69%, 0%, 10%) |
| Decimal | 5195493 |
| CSS | color: #4F46E5; |
| Android | 0xFF4F46E5 |
| Swift | UIColor(red: 0.310, green: 0.275, blue: 0.898, alpha: 1) |
Accessibility and contrast
| White text on #4F46E5 | 6.29:1 — AA pass · AA large pass · AAA fail |
| Black text on #4F46E5 | 3.34: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 #4F46E5
Each swatch keeps the hue and saturation of #4F46E5 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #4F46E5
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #4F46E5 in code
/* CSS */
.element { color: #4F46E5; background-color: #4F46E5; }
.element { color: rgb(79 70 229); }
.element { color: hsl(243 75% 59%); }
/* Tailwind */
<div class="bg-indigo-600 text-white">
/* SCSS variable */
$brand: #4F46E5;
Frequently asked questions
What color is #4F46E5?
#4F46E5 is a medium, vivid blue. Its hue sits at 243° on the color wheel, with 75% saturation and 59% lightness.
What is #4F46E5 in RGB?
#4F46E5 converts to rgb(79, 70, 229) — 79 red, 70 green and 229 blue.
What is #4F46E5 in CMYK?
Approximately cmyk(66%, 69%, 0%, 10%). 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 #4F46E5 be white or black?
White gives the better contrast ratio (6.29:1 versus 3.34:1).
What is the complementary color of #4F46E5?
#DDE548 — the hue directly opposite #4F46E5 on the color wheel.