Darkblue to HSL

Color Code

#00008b
Format Value
HEX #00008b
RGB rgb(0, 0, 139)
HSL hsl(240, 100%, 27.3%)
CMYK cmyk(100%, 100%, 0%, 45.5%)
HSV hsv(240, 100%, 54.5%)

darkblue color harmonies

Tints & shades of darkblue

Tints (lighter)

#171796 #2e2ea0 #4646ab #5d5db5 #7474c0 #8b8bca #a2a2d5 #b9b9df #d1d1ea #e8e8f4

Shades (darker)

#00007e #000072 #000065 #000058 #00004c #00003f #000033 #000026 #000019 #00000d

Contrast & accessibility

The quick brown fox

On white · 15.3:1 · AAA

The quick brown fox

On black · 1.37:1 · Fail

Recommended text color: #ffffff

Use darkblue in code

CSS color: #00008b;
SCSS $color: #00008b;
Tailwind bg-[#00008b]
Swift UIColor(red: 0.000, green: 0.000, blue: 0.545, alpha: 1)
Android Color.parseColor("#00008b")
Flutter Color(0xFF00008B)

Colors similar to darkblue

Browse all Blue colors →

What is the HSL code for darkblue?

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

How do I use darkblue in CSS?

To apply darkblue in CSS:

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

What are all the color format values for darkblue?

FormatValue
HEX#00008b
RGBrgb(0, 0, 139)
HSLhsl(240, 100%, 27.3%)
CMYKcmyk(100%, 100%, 0%, 45.5%)

How do I convert darkblue to HSL?

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

What color family does darkblue belong to?

darkblue belongs to the blue color family. It is a dark, vivid color with HSL values: hue 240°, saturation 100%, lightness 27.3%.

How do I create lighter and darker shades of darkblue?

Lighter variant (lightness 42.3%): #0000d8. Darker variant (lightness 12.3%): #00003f. 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.