Dark royal blue Color

HEX, RGB, HSL & CMYK Codes

#02066f
Format Value
HEX #02066f
RGB rgb(2, 6, 111)
HSL hsl(237.8, 96.5%, 22.2%)
CMYK cmyk(98.2%, 94.6%, 0%, 56.5%)
HSV hsv(237.8, 98.2%, 43.5%)

dark royal blue color harmonies

Tints & shades of dark royal blue

Tints (lighter)

#191d7c #303389 #474a96 #5e61a3 #7577b0 #8c8ebe #a3a4cb #babbd8 #d1d2e5 #e8e8f2

Shades (darker)

#020565 #02055b #010451 #010447 #01033d #010332 #010228 #01021e #000114 #00010a

Contrast & accessibility

The quick brown fox

On white · 16.69:1 · AAA

The quick brown fox

On black · 1.26:1 · Fail

Recommended text color: #ffffff

Use dark royal blue in code

CSS color: #02066f;
SCSS $color: #02066f;
Tailwind bg-[#02066f]
Swift UIColor(red: 0.008, green: 0.024, blue: 0.435, alpha: 1)
Android Color.parseColor("#02066f")
Flutter Color(0xFF02066F)

Colors similar to dark royal blue

Browse all Blue colors →

What is the HEX code for dark royal blue?

The CSS color dark royal blue in HEX format is #02066f. Use this value directly in CSS, SVG, and most design tools.

How do I use dark royal blue in CSS?

To apply dark royal blue in CSS:

  • Text color: color: #02066f;
  • Background: background-color: #02066f;
  • Border: border-color: #02066f;

What are all the color format values for dark royal blue?

FormatValue
HEX#02066f
RGBrgb(2, 6, 111)
HSLhsl(237.8, 96.5%, 22.2%)
CMYKcmyk(98.2%, 94.6%, 0%, 56.5%)

How do I convert dark royal blue to HEX?

Select dark royal blue from the color name list in our color converter. The HEX value — #02066f — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does dark royal blue belong to?

dark royal blue belongs to the blue color family. It is a dark, vivid color with HSL values: hue 237.8°, saturation 96.5%, lightness 22.2%.

How do I create lighter and darker shades of dark royal blue?

Lighter variant (lightness 37.2%): #030aba. Darker variant (lightness 7.199999999999999%): #010224. 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.