Medium blue to HSL — Color Code

#2c6fbb
Format Value
HEX #2c6fbb
RGB rgb(44, 111, 187)
HSL hsl(211.9, 61.9%, 45.3%)
CMYK cmyk(76.5%, 40.6%, 0%, 26.7%)
HSV hsv(211.9, 76.5%, 73.3%)

medium blue color harmonies

Tints & shades of medium blue

Tints (lighter)

#3f7cc1 #5289c7 #6696ce #79a3d4 #8cb0da #9fbee0 #b2cbe6 #c5d8ec #d9e5f3 #ecf2f9

Shades (darker)

#2865aa #245b99 #205188 #1c4777 #183d66 #143255 #102844 #0c1e33 #081422 #040a11

Contrast & accessibility

The quick brown fox

On white · 5.12:1 · AA

The quick brown fox

On black · 4.1:1 · AA Large

Recommended text color: #ffffff

Use medium blue in code

CSS color: #2c6fbb;
SCSS $color: #2c6fbb;
Tailwind bg-[#2c6fbb]
Swift UIColor(red: 0.173, green: 0.435, blue: 0.733, alpha: 1)
Android Color.parseColor("#2c6fbb")
Flutter Color(0xFF2C6FBB)

Colors similar to medium blue

Browse all Blue colors →

What is the HSL code for medium blue?

The CSS color medium blue in HSL format is hsl(211.9, 61.9%, 45.3%). Use this value directly in CSS, SVG, and most design tools.

How do I use medium blue in CSS?

To apply medium blue in CSS:

  • Text color: color: hsl(211.9, 61.9%, 45.3%);
  • Background: background-color: hsl(211.9, 61.9%, 45.3%);
  • Border: border-color: hsl(211.9, 61.9%, 45.3%);

What are all the color format values for medium blue?

FormatValue
HEX#2c6fbb
RGBrgb(44, 111, 187)
HSLhsl(211.9, 61.9%, 45.3%)
CMYKcmyk(76.5%, 40.6%, 0%, 26.7%)

How do I convert medium blue to HSL?

Select medium blue from the color name list in our color converter. The HSL value — hsl(211.9, 61.9%, 45.3%) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does medium blue belong to?

medium blue belongs to the blue color family. It is a medium, moderately saturated color with HSL values: hue 211.9°, saturation 61.9%, lightness 45.3%.

How do I create lighter and darker shades of medium blue?

Lighter variant (lightness 60.3%): #5b96d8. Darker variant (lightness 30.299999999999997%): #1d4a7d. 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.