Cornflower Color

HEX, RGB, HSL & CMYK Codes

#6a79f7
Format Value
HEX #6a79f7
RGB rgb(106, 121, 247)
HSL hsl(233.6, 89.8%, 69.2%)
CMYK cmyk(57.1%, 51%, 0%, 3.1%)
HSV hsv(233.6, 57.1%, 96.9%)

cornflower color harmonies

Tints & shades of cornflower

Tints (lighter)

#7885f8 #8591f8 #939ef9 #a0aafa #aeb6fb #bbc2fb #c9cefc #d6dafd #e4e7fe #f1f3fe

Shades (darker)

#606ee1 #5763ca #4d58b4 #434d9d #3a4287 #303770 #272c5a #1d2143 #13162d #0a0b16

Contrast & accessibility

The quick brown fox

On white · 3.69:1 · AA Large

The quick brown fox

On black · 5.69:1 · AA

Recommended text color: #000000

Use cornflower in code

CSS color: #6a79f7;
SCSS $color: #6a79f7;
Tailwind bg-[#6a79f7]
Swift UIColor(red: 0.416, green: 0.475, blue: 0.969, alpha: 1)
Android Color.parseColor("#6a79f7")
Flutter Color(0xFF6A79F7)

Colors similar to cornflower

Browse all Blue colors →

What is the HEX code for cornflower?

The CSS color cornflower in HEX format is #6a79f7. Use this value directly in CSS, SVG, and most design tools.

How do I use cornflower in CSS?

To apply cornflower in CSS:

  • Text color: color: #6a79f7;
  • Background: background-color: #6a79f7;
  • Border: border-color: #6a79f7;

What are all the color format values for cornflower?

FormatValue
HEX#6a79f7
RGBrgb(106, 121, 247)
HSLhsl(233.6, 89.8%, 69.2%)
CMYKcmyk(57.1%, 51%, 0%, 3.1%)

How do I convert cornflower to HEX?

Select cornflower from the color name list in our color converter. The HEX value — #6a79f7 — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does cornflower belong to?

cornflower belongs to the blue color family. It is a medium, vivid color with HSL values: hue 233.6°, saturation 89.8%, lightness 69.2%.

How do I create lighter and darker shades of cornflower?

Lighter variant (lightness 84.2%): #b3bafb. Darker variant (lightness 54.2%): #2138f3. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HEX used for?

HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.