#C7D2FE color
The swatch above shows #C7D2FE 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.
#C7D2FE is a very light, vivid blue, closest to the CSS named color lightgray (#D3D3D3).
It is also a Tailwind CSS default: indigo-200. That means you can write bg-indigo-200 or text-indigo-200 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #C7D2FE |
| RGB | rgb(199, 210, 254) |
| HSL | hsl(228, 96%, 89%) |
| CMYK | cmyk(22%, 17%, 0%, 0%) |
| Decimal | 13095678 |
| CSS | color: #C7D2FE; |
| Android | 0xFFC7D2FE |
| Swift | UIColor(red: 0.780, green: 0.824, blue: 0.996, alpha: 1) |
Accessibility and contrast
| White text on #C7D2FE | 1.49:1 — AA fail · AA large fail · AAA fail |
| Black text on #C7D2FE | 14.08:1 — AA pass · AA large pass · AAA pass |
| Recommended text color | black |
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 #C7D2FE
Each swatch keeps the hue and saturation of #C7D2FE and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #C7D2FE
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #C7D2FE in code
/* CSS */
.element { color: #C7D2FE; background-color: #C7D2FE; }
.element { color: rgb(199 210 254); }
.element { color: hsl(228 96% 89%); }
/* Tailwind */
<div class="bg-indigo-200 text-black">
/* SCSS variable */
$brand: #C7D2FE;
Frequently asked questions
What color is #C7D2FE?
#C7D2FE is a very light, vivid blue. Its hue sits at 228° on the color wheel, with 96% saturation and 89% lightness.
What is #C7D2FE in RGB?
#C7D2FE converts to rgb(199, 210, 254) — 199 red, 210 green and 254 blue.
What is #C7D2FE in CMYK?
Approximately cmyk(22%, 17%, 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 #C7D2FE be white or black?
Black gives the better contrast ratio (14.08:1 versus 1.49:1).
What is the complementary color of #C7D2FE?
#FEF3C8 — the hue directly opposite #C7D2FE on the color wheel.