#4338CA color
The swatch above shows #4338CA 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.
#4338CA is a medium, moderately saturated blue, closest to the CSS named color darkslateblue (#483D8B).
It is also a Tailwind CSS default: indigo-700. That means you can write bg-indigo-700 or text-indigo-700 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #4338CA |
| RGB | rgb(67, 56, 202) |
| HSL | hsl(245, 58%, 51%) |
| CMYK | cmyk(67%, 72%, 0%, 21%) |
| Decimal | 4405450 |
| CSS | color: #4338CA; |
| Android | 0xFF4338CA |
| Swift | UIColor(red: 0.263, green: 0.220, blue: 0.792, alpha: 1) |
Accessibility and contrast
| White text on #4338CA | 7.90:1 — AA pass · AA large pass · AAA pass |
| Black text on #4338CA | 2.66:1 — AA fail · AA large fail · 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 #4338CA
Each swatch keeps the hue and saturation of #4338CA and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #4338CA
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #4338CA in code
/* CSS */
.element { color: #4338CA; background-color: #4338CA; }
.element { color: rgb(67 56 202); }
.element { color: hsl(245 58% 51%); }
/* Tailwind */
<div class="bg-indigo-700 text-white">
/* SCSS variable */
$brand: #4338CA;
Frequently asked questions
What color is #4338CA?
#4338CA is a medium, moderately saturated blue. Its hue sits at 245° on the color wheel, with 58% saturation and 51% lightness.
What is #4338CA in RGB?
#4338CA converts to rgb(67, 56, 202) — 67 red, 56 green and 202 blue.
What is #4338CA in CMYK?
Approximately cmyk(67%, 72%, 0%, 21%). 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 #4338CA be white or black?
White gives the better contrast ratio (7.90:1 versus 2.66:1).
What is the complementary color of #4338CA?
#BECB3A — the hue directly opposite #4338CA on the color wheel.