Primary blue to HSL — Color Code

HSL

hsl(241, 96.8%, 49.6%)

Format Value
HEX #0804f9
RGB rgb(8, 4, 249)
HSL hsl(241, 96.8%, 49.6%)
CMYK cmyk(96.8%, 98.4%, 0%, 2.4%)

What is the HSL code for primary blue?

The CSS color primary blue in HSL format is hsl(241, 96.8%, 49.6%). Use this value directly in CSS, SVG, and most design tools.

How do I use primary blue in CSS?

To apply primary blue in CSS:

  • Text color: color: hsl(241, 96.8%, 49.6%);
  • Background: background-color: hsl(241, 96.8%, 49.6%);
  • Border: border-color: hsl(241, 96.8%, 49.6%);

What are all the color format values for primary blue?

FormatValue
HEX#0804f9
RGBrgb(8, 4, 249)
HSLhsl(241, 96.8%, 49.6%)
CMYKcmyk(96.8%, 98.4%, 0%, 2.4%)

How do I convert primary blue to HSL?

Select primary blue from the color name list in our color converter. The HSL value — hsl(241, 96.8%, 49.6%) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does primary blue belong to?

primary blue belongs to the blue color family. It is a medium, vivid color with HSL values: hue 241°, saturation 96.8%, lightness 49.6%.

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

Lighter variant (lightness 64.6%): #504dfc. Darker variant (lightness 34.6%): #0603ae. 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.