#7F8CD9 Cornflower Blue
The nearest named color to #7F8CD9 is Cornflower Blue (#6495ED).
#7F8CD9
Cornflower Blue
What are the RGB, HSL, OKLCH and CMYK values of #7F8CD9?
- HEX
- #7F8CD9
- RGB
- rgb(127, 140, 217)
- HSL
- hsl(231, 54%, 67%)
- OKLCH
- oklch(66.2% 0.115 276)
- CMYK
- 41, 35, 0, 15
#7F8CD9 has a contrast ratio of 3.16:1 against white and 6.66:1 against black, so black is the better background for text in this color and dark text reads best on it.
Contrast checker
Text color (rows) on background (columns), scored against WCAG 2.2. White and near-black text on this color.
| Text ↓ / Bg → | #7F8CD9 |
|---|---|
| #7F8CD9 | Same color |
| White | 3.2AA18 |
| Near-black | 5.5AA |
AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only
Text that works on each color
- Near-black on #7F8CD9 · 5.5:1
Tints and shades of #7F8CD9
Same hue and chroma in OKLCH, lighter to darker.
Colors that go with #7F8CD9
Six harmony rules built from this color. Open any in the Studio.
- AnalogousNeighboring hues. Calm and cohesive, with little tension.
- ComplementaryOpposite hues. Maximum contrast — strong for accents.
- SplitA hue plus the two neighbors of its opposite. Contrast without the clash.
- TriadicThree evenly spaced hues. Vivid and balanced.
- TetradicFour hues in two complementary pairs. Rich, and easy to overuse.
- MonoOne hue across a range of lightness. Always harmonious.
Color blindness check
About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.
No green cones — the most common form. Cornflower Blue, #7F8CD9 and Blue Gray, #60A8D0; Wisteria, #B79EE2 and Blue Gray, #60A8D0; Wisteria, #B79EE2 and Robin Egg Blue, #40C6B3 become hard to tell apart — don't rely on color alone to separate them.
Export
Copy-paste code, or download the swatches.
:root {
--cornflower-blue-1: #7F8CD9; /* Cornflower Blue */
}Palettes, gradients and meshes with #7F8CD9
Items using this color or one perceptually close to it, closest first.