Mediumblue to HSL — Color Code

HSL

hsl(240, 100%, 40.2%)

Format Value
HEX #0000cd
RGB rgb(0, 0, 205)
HSL hsl(240, 100%, 40.2%)
CMYK cmyk(100%, 100%, 0%, 19.6%)

What is the HSL code for mediumblue?

The CSS color mediumblue in HSL format is hsl(240, 100%, 40.2%). Use this value directly in CSS, SVG, and most design tools.

How do I use mediumblue in CSS?

To apply mediumblue in CSS:

  • Text color: color: hsl(240, 100%, 40.2%);
  • Background: background-color: hsl(240, 100%, 40.2%);
  • Border: border-color: hsl(240, 100%, 40.2%);

What are all the color format values for mediumblue?

FormatValue
HEX#0000cd
RGBrgb(0, 0, 205)
HSLhsl(240, 100%, 40.2%)
CMYKcmyk(100%, 100%, 0%, 19.6%)

How do I convert mediumblue to HSL?

Select mediumblue from the color name list in our color converter. The HSL value — hsl(240, 100%, 40.2%) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does mediumblue belong to?

mediumblue belongs to the blue color family. It is a medium, vivid color with HSL values: hue 240°, saturation 100%, lightness 40.2%.

How do I create lighter and darker shades of mediumblue?

Lighter variant (lightness 55.2%): #1b1bff. Darker variant (lightness 25.200000000000003%): #000081. 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.