Toolman

#818CF8 color

#818CF8#818CF8

The swatch above shows #818CF8 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.

#818CF8 is a light, vivid blue, closest to the CSS named color cornflowerblue (#6495ED).

It is also a Tailwind CSS default: indigo-400. That means you can write bg-indigo-400 or text-indigo-400 directly, with no arbitrary-value brackets and no entry in your theme config.

Color values

HEX#818CF8
RGBrgb(129, 140, 248)
HSLhsl(234, 89%, 74%)
CMYKcmyk(48%, 44%, 0%, 3%)
Decimal8490232
CSScolor: #818CF8;
Android0xFF818CF8
SwiftUIColor(red: 0.506, green: 0.549, blue: 0.973, alpha: 1)

Accessibility and contrast

White text on #818CF82.98:1 — AA fail · AA large fail · AAA fail
Black text on #818CF87.04:1 — AA pass · AA large pass · AAA pass
Recommended text colorblack

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 #818CF8

Each swatch keeps the hue and saturation of #818CF8 and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #818CF8

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #818CF8 in code

/* CSS */
.element { color: #818CF8; background-color: #818CF8; }
.element { color: rgb(129 140 248); }
.element { color: hsl(234 89% 74%); }

/* Tailwind */
<div class="bg-indigo-400 text-black">

/* SCSS variable */
$brand: #818CF8;

Frequently asked questions

What color is #818CF8?

#818CF8 is a light, vivid blue. Its hue sits at 234° on the color wheel, with 89% saturation and 74% lightness.

What is #818CF8 in RGB?

#818CF8 converts to rgb(129, 140, 248) — 129 red, 140 green and 248 blue.

What is #818CF8 in CMYK?

Approximately cmyk(48%, 44%, 0%, 3%). 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 #818CF8 be white or black?

Black gives the better contrast ratio (7.04:1 versus 2.98:1).

What is the complementary color of #818CF8?

#F8EC82 — the hue directly opposite #818CF8 on the color wheel.

Convert any color → · Browse all colors