Cornflowerblue — #6495ED
#6495ED is a light, vivid blue. It is the CSS named color cornflowerblue.
Color values
| HEX | #6495ED |
| RGB | rgb(100, 149, 237) |
| HSL | hsl(219, 79%, 66%) |
| CMYK | cmyk(58%, 37%, 0%, 7%) |
| Decimal | 6591981 |
| CSS | color: #6495ED; |
| Android | 0xFF6495ED |
| Swift | UIColor(red: 0.392, green: 0.584, blue: 0.929, alpha: 1) |
Accessibility and contrast
| White text on #6495ED | 2.97:1 — AA fail · AA large fail · AAA fail |
| Black text on #6495ED | 7.06: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 #6495ED
Each swatch keeps the hue and saturation of #6495ED and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #6495ED
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #6495ED in code
/* CSS */
.element { color: #6495ED; background-color: #6495ED; }
.element { color: rgb(100 149 237); }
.element { color: hsl(219 79% 66%); }
/* Tailwind arbitrary value */
<div class="bg-[#6495ED] text-black">
/* SCSS variable */
$brand: #6495ED;
Frequently asked questions
What color is #6495ED?
#6495ED is a light, vivid blue, which CSS calls cornflowerblue. Its hue sits at 219° on the color wheel, with 79% saturation and 66% lightness.
What is #6495ED in RGB?
#6495ED converts to rgb(100, 149, 237) — 100 red, 149 green and 237 blue.
What is #6495ED in CMYK?
Approximately cmyk(58%, 37%, 0%, 7%). 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 #6495ED be white or black?
Black gives the better contrast ratio (7.06:1 versus 2.97:1).
What is the complementary color of #6495ED?
#EDBD64 — the hue directly opposite #6495ED on the color wheel.