Medium blue Color — HEX, RGB, HSL & CMYK Codes

#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 HEX code for medium blue?

The CSS color medium blue in HEX format is #2c6fbb. 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: #2c6fbb;
  • Background: background-color: #2c6fbb;
  • Border: border-color: #2c6fbb;

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

Select medium blue from the color name list in our color converter. The HEX value — #2c6fbb — 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 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.