True blue to HSL — Color Code

#010fcc
Format Value
HEX #010fcc
RGB rgb(1, 15, 204)
HSL hsl(235.9, 99%, 40.2%)
CMYK cmyk(99.5%, 92.6%, 0%, 20%)
HSV hsv(235.9, 99.5%, 80%)

true blue color harmonies

Tints & shades of true blue

Tints (lighter)

#1825d1 #2f3bd5 #4650da #5d66df #747ce3 #8c92e8 #a3a8ec #babef1 #d1d3f6 #e8e9fa

Shades (darker)

#010eb9 #010ca7 #010b94 #010a82 #01086f #00075d #00054a #000438 #000325 #000113

Contrast & accessibility

The quick brown fox

On white · 10.82:1 · AAA

The quick brown fox

On black · 1.94:1 · Fail

Recommended text color: #ffffff

Use true blue in code

CSS color: #010fcc;
SCSS $color: #010fcc;
Tailwind bg-[#010fcc]
Swift UIColor(red: 0.004, green: 0.059, blue: 0.800, alpha: 1)
Android Color.parseColor("#010fcc")
Flutter Color(0xFF010FCC)

Colors similar to true blue

Browse all Blue colors →

What is the HSL code for true blue?

The CSS color true blue in HSL format is hsl(235.9, 99%, 40.2%). Use this value directly in CSS, SVG, and most design tools.

How do I use true blue in CSS?

To apply true blue in CSS:

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

What are all the color format values for true blue?

FormatValue
HEX#010fcc
RGBrgb(1, 15, 204)
HSLhsl(235.9, 99%, 40.2%)
CMYKcmyk(99.5%, 92.6%, 0%, 20%)

How do I convert true blue to HSL?

Select true blue from the color name list in our color converter. The HSL value — hsl(235.9, 99%, 40.2%) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does true blue belong to?

true blue belongs to the blue color family. It is a medium, vivid color with HSL values: hue 235.9°, saturation 99%, lightness 40.2%.

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

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