Cornflower #6A79F7
Cornflower is a medium-light, vivid blue with hex code #6A79F7 and RGB rgb(106, 121, 247).
Aa
Black text reads best on this color (5.69:1).
About this color
#6A79F7 is a medium-light, vivid blue. In OKLCH its lightness is 63%, its chroma 0.187 and its hue 275°. Its hue sits on the cool side of the wheel. It is the named color Cornflower. Black text reads best on it, at 5.69:1.
| Hue family | Blues |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.187) |
| Temperature | cool |
| Nearest name | Cornflower |
| Black text | 5.69:1 |
| White text | 3.69:1 |
Colors that go with Cornflower
Matches found by rotating Cornflower around the OKLCH hue wheel, each labelled with the closest name in our list.
Complementary
The opposite hue (180°).
Analogous
Neighbouring hues, 30° either side.
Triadic
Three hues spaced 120° apart.
Color palettes with Cornflower
Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Cornflower, closest first.
No curated palette has a color within ΔE 0.06 of Cornflower yet.
Similar named colors
The eight named colors closest to Cornflower, with their ΔE distance.
- Medium Slate Blue #7B68EE ΔE 0.044
- Soft Blue #6488EA ΔE 0.045
- Periwinkle #8E82FE ΔE 0.058
- Lavender Blue #8B88F8 ΔE 0.062
- Clear Blue #247AFD ΔE 0.062
- Dark Sky Blue #448EE4 ΔE 0.072
- Medium Purple #9370DB ΔE 0.072
- Royal Blue #4169E1 ΔE 0.074
More about Cornflower
How to make Cornflower
A starting recipe from common paint colors, found with a spectral paint model (the color mixer’s paint mode). Real pigments vary, so mix a small test batch and adjust.
- 1 part blue
- 1 part purple
- 1 part white
Recipe result: #6A70CC, a difference of ΔE 0.066 from Cornflower. That is close; add a little more of one paint to match.
Codes for Cornflower in every format
| HEX | #6A79F7 |
| RGB | rgb(106, 121, 247) |
| HSL | hsl(234, 90%, 69%) |
| OKLCH | oklch(62.8% 0.187 274.6) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #6A79F7 | 3.69:1 | AA large text | Lc -69.7 | Content text, not long reading |
| Black text on #6A79F7 | 5.69:1 | AA | Lc 39.9 | Non-text elements, placeholder text |
| #6A79F7 text on white | 3.69:1 | AA large text | Lc 64.2 | Content text, not long reading |
| #6A79F7 text on black | 5.69:1 | AA | Lc -37.5 | Non-text elements, placeholder text |
Shades and tints of Cornflower
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.
-
Step 50
50
#F3F5FE
oklch(97.1% 0.012 276.1)
-
Step 100
100
#E4E9FC
oklch(93.6% 0.026 274.1)
-
Step 200
200
#CFD7FB
oklch(88.5% 0.05 275.4)
-
Step 300
300
#AFBDFC
oklch(81% 0.091 274.5)
-
Step 400
400
#8697FB
oklch(70.6% 0.147 274.7)
-
Step 500
500 (this color)
#6A79F7
oklch(62.8% 0.187 274.6)
-
Step 600
600
#555FE7
oklch(55.6% 0.203 274.5)
-
Step 700
700
#464DC9
oklch(49.1% 0.189 274.6)
-
Step 800
800
#3940A2
oklch(42.6% 0.156 274.5)
-
Step 900
900
#303881
oklch(37.8% 0.122 274.3)
-
Step 950
950
#1C214B
oklch(26.9% 0.077 274.9)
Cornflower with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #338BFB | 0.061 |
| Deuteranopia (no green cones) | #117FF4 | 0.068 |
| Tritanopia (no blue cones) | #0096AD | 0.165 |
| Achromatopsia (no color) | #858585 | 0.187 |
Use Cornflower in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.