AfoliOpen Afoli →

Cornflower color #6A79F7

Cornflower is a color name from the xkcd color survey for the hex code #6A79F7 — RGB 106, 121, 247, HSL 234°, 90%, 69%.

Open in Afoli Colour tools →

#6A79F7Cornflower

Color codes

HEX
#6A79F7
RGB
rgb(106, 121, 247)
HSL
hsl(234, 90%, 69%)
CMYK
57%, 51%, 0%, 3%
OKLCH
oklch(62.8% 0.187 274.6)

Tints and shades

#F2F5FF#CFD8FF#ACBBFF#8B9DFF#6E7DFC#5863DF#4349C3#312EA8#210C8D#130060#060032

Color harmonies

Complementary
#6A79F7#A28600
Analogous
#008FE0#6A79F7#A364E2
Triadic
#6A79F7#E2522F#00A35C
Split complementary
#6A79F7#C27300#749800
Tetradic
#6A79F7#DF4B7A#A28600#009E91

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Cornflower text on white3.69 : 164AA for large text only
Cornflower text on black5.69 : 1-37AA — body text
White text on Cornflower3.69 : 1-70AA for large text only
Black text on Cornflower5.69 : 140AA — body text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Palettes with this color

Frequently asked questions

What is the hex code of Cornflower?

Cornflower has the hex code #6A79F7, which is RGB 106, 121, 247 and HSL 234°, 90%, 69%.

Which text color reads best on Cornflower?

Black text: contrast 5.69 : 1 (white text: 3.69 : 1).

Which colors go well with Cornflower?

Its complementary color is #A28600; analogous colors are #008FE0 and #A364E2; a triadic set adds #E2522F and #00A35C.

Similar colors

Sources and licences

Updated November 21, 2026