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

#31668a
Format Value
HEX #31668a
RGB rgb(49, 102, 138)
HSL hsl(204.3, 47.6%, 36.7%)
CMYK cmyk(64.5%, 26.1%, 0%, 45.9%)
HSV hsv(204.3, 64.5%, 54.1%)

ugly blue color harmonies

Tints & shades of ugly blue

Tints (lighter)

#447495 #56829f #6990aa #7c9eb5 #8facbf #a1b9ca #b4c7d4 #c7d5df #dae3ea #ecf1f4

Shades (darker)

#2d5d7d #285371 #244a64 #1f4158 #1b384b #162e3f #122532 #0d1c26 #091319 #04090d

Contrast & accessibility

The quick brown fox

On white · 6.18:1 · AA

The quick brown fox

On black · 3.4:1 · AA Large

Recommended text color: #ffffff

Use ugly blue in code

CSS color: #31668a;
SCSS $color: #31668a;
Tailwind bg-[#31668a]
Swift UIColor(red: 0.192, green: 0.400, blue: 0.541, alpha: 1)
Android Color.parseColor("#31668a")
Flutter Color(0xFF31668A)

Colors similar to ugly blue

Browse all Blue colors →

What is the HEX code for ugly blue?

The CSS color ugly blue in HEX format is #31668a. Use this value directly in CSS, SVG, and most design tools.

How do I use ugly blue in CSS?

To apply ugly blue in CSS:

  • Text color: color: #31668a;
  • Background: background-color: #31668a;
  • Border: border-color: #31668a;

What are all the color format values for ugly blue?

FormatValue
HEX#31668a
RGBrgb(49, 102, 138)
HSLhsl(204.3, 47.6%, 36.7%)
CMYKcmyk(64.5%, 26.1%, 0%, 45.9%)

How do I convert ugly blue to HEX?

Select ugly blue from the color name list in our color converter. The HEX value — #31668a — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does ugly blue belong to?

ugly blue belongs to the blue color family. It is a medium, moderately saturated color with HSL values: hue 204.3°, saturation 47.6%, lightness 36.7%.

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

Lighter variant (lightness 51.7%): #498fbe. Darker variant (lightness 21.700000000000003%): #1d3c52. 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.