#818CF8 — Tints, Shades & Color Values
#818CF8 is a light, vivid blue. In Tailwind CSS this exact color is the utility class indigo-400 (e.g. bg-indigo-400, text-indigo-400). Its nearest CSS named color is cornflowerblue (#6495ed). For readable text on a #818CF8 background, black text gives the strongest contrast (7.04:1). #818CF8 sits in the middle of the lightness range, so it can serve as a primary brand or accent color — use its tints for backgrounds and its shades for text and pressed states.
Color Values
| Hex | #818CF8 |
|---|---|
| RGB | rgb(129, 140, 248) |
| HSL | hsl(234, 89%, 74%) |
| HSV / HSB | 234°, 48%, 97% |
| Nearest named | cornflowerblue (#6495ed) |
Need these in another format? Use our hex to RGB converter for quick two-way conversion.
#818CF8 in Tailwind CSS (indigo-400)
#818CF8 ships with Tailwind CSS as indigo-400 — use it as bg-indigo-400, text-indigo-400, or border-indigo-400. It sits at step 400 of the indigo ramp; every other step links to its own page:
Browse the full Tailwind palette in the color library, or generate in-between steps with the tint & shade generator.
Tints of #818CF8 (Mixed with White)
Each step blends the base color toward white using new = old + (255 − old) × factor. Click a swatch to open it in the generator.
-
10% tint
#8e98f9 -
20% tint
#9aa3f9 -
30% tint
#a7affa -
40% tint
#b3bafb -
50% tint
#c0c6fc -
60% tint
#cdd1fc -
70% tint
#d9ddfd -
80% tint
#e6e8fe -
90% tint
#f2f4fe
Shades of #818CF8 (Mixed with Black)
Each step blends the base color toward black using new = old × (1 − factor).
-
10% shade
#747edf -
20% shade
#6770c6 -
30% shade
#5a62ae -
40% shade
#4d5495 -
50% shade
#41467c -
60% shade
#343863 -
70% shade
#272a4a -
80% shade
#1a1c32 -
90% shade
#0d0e19
WCAG Contrast & Accessibility
Contrast ratios for text placed on a #818CF8 background. WCAG requires 4.5:1 for normal text (AA), 3:1 for large text (AA), and 7:1 for normal text (AAA).
| Text color | White text 2.98:1 — AA normal: Fail · AA large: Fail · AAA: Fail |
|---|---|
| Black text 7.04:1 — AA normal: Pass · AA large: Pass · AAA: Pass |
If neither pure white nor pure black reaches the level you need, pick a darker shade of #818CF8 from the ramps above as the background instead — small lightness moves change contrast quickly. Test any other pair with the free contrast checker.
More blue colors in the library: #93C5FD (blue-300), #60A5FA (blue-400), #94A3B8 (slate-400), #9CA3AF (gray-400), #CBD5E1 (slate-300), #D1D5DB (gray-300).
Frequently Asked Questions
-
What color is #818CF8?
#818CF8 is a light, vivid blue —
rgb(129, 140, 248). Its nearest CSS named color iscornflowerblue. In Tailwind CSS it isindigo-400. -
How do I make tints and shades of #818CF8?
Mix #818CF8 with white for tints and with black for shades. A 20% tint of #818CF8 is
#9aa3f9and a 20% shade is#6770c6— the full 10%–90% ramps are precomputed on this page, or open #818CF8 in the generator for finer steps. -
What text color is readable on #818CF8?
Black text gives the strongest contrast on a #818CF8 background at 7.04:1, which passes WCAG AA and AAA for normal text.
-
What is the Tailwind CSS class for #818CF8?
indigo-400— use it asbg-indigo-400,text-indigo-400, orborder-indigo-400. The full indigo 50–950 ramp is linked above.
Browse more colors in the color library, or start from any hex code on the HexTints homepage.
#818CF8? Put it on a free link-in-bio page →