Cornflower to HSL — Color Code

#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 HSL code for cornflower?

The CSS color cornflower in HSL format is hsl(233.6, 89.8%, 69.2%). 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: hsl(233.6, 89.8%, 69.2%);
  • Background: background-color: hsl(233.6, 89.8%, 69.2%);
  • Border: border-color: hsl(233.6, 89.8%, 69.2%);

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 HSL?

Select cornflower from the color name list in our color converter. The HSL value — hsl(233.6, 89.8%, 69.2%) — 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 HSL used for?

HSL describes colors by hue (0–360°), saturation (0–100%) and lightness (0–100%). It is more intuitive for designers — easy to create lighter, darker or less saturated variants of any color.