Maroon Colors  ·  Color Library

Palettes / Colors / #01166B

#01166B — Deep Vivid Blue

#01166B is a blue color we call Deep Vivid Blue, closest to the named color MidnightBlue (#191970). It belongs to the blue family.

Color name

Closest CSS keyword: midnightblue (#191970) — not an exact match. CSS midnightblue gives you #191970, a different color; use #01166B when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#01166B is a cool blue color associated with trust, calm and professionalism. It is deep enough for text, outlines and dark interface surfaces, and makes light colors glow next to it.

Its strongest partner is its complement #6A5501; it also sits naturally between #014B6A and #21016A. In the palettes below you can see it working alongside real color combinations from our collection.

#01166B · RGB 1, 22, 107

Download PNG swatch SVG

Color values

HEX#01166B
RGB1, 22, 107
HSL228°, 98%, 21%
HSV228°, 99%, 42%
CMYK99%, 79%, 0%, 58%
XYZ2.95, 1.64, 14.07
Yxy1.64, 0.1582, 0.0880
CIE-Lab13.48, 30.11, -50.28
Hunter Lab12.81, 19.71, -59.02

RGB & CMYK percentages

Red 0% · Green 9% · Blue 42%

Cyan 99% · Magenta 79% · Yellow 0% · Key 58%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #01166B on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #01166B on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #01166B

.text { color: #01166B; }
.background { background-color: #01166B; }
.border { border: 3px solid #01166B; }
.text-rgb { color: rgb(1, 22, 107); }
.text-hsl { color: hsl(228, 98%, 21%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #01166B; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(1, 22, 107, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #01166B; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(1, 22, 107, 0.8); }

HTML: <p style="color:#01166B">Text here</p> · <div style="background-color:#01166B">Div content here</div>

Shades of #01166B

#011460#01135B#011151#010F47#010E42#010C38#00092D#000723#00061E#000414

Tints of #01166B

#011E92#0226B6#022EDE#0839FD#3059FD#5375FD#7C96FE#9FB2FE#C7D2FE#EBEFFF

Tones of #01166B

#091B63#101F5B#182454#1F284C#272D45#2E313D

Color harmonies

Complementary — #6A5501:

Analogous:

Triadic:

Contrast & accessibility

Against white text15.81:1 AAA
Against black text1.33:1 Fails

Best text color on #01166B: #FFFFFF.

Semi-transparent (opacity) text on #01166B

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #01166B: ·

How #01166B looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #0A0A56Deuteranopia · #090751Tritanopia · #024643

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Bootstrap dark · #212529Tailwind slate 600 · #475569Tailwind gray 600 · #4B5563

Palettes with a similar color

These palettes use a close neighbour of #01166B rather than the exact color:

Palette 001a6e
#001A6E · #074799 · #009990 · #E1FFBB
Palette 0d1164
#0D1164 · #640D5F · #EA2264 · #F78D60
Palette 001b79
#001B79 · #1640D6 · #ED5AB3 · #FF90C2
Palette 0d1a63
#0D1A63 · #1A2CA3 · #2845D6 · #F68048
Palette 03256c
#03256C · #2541B2 · #1768AC · #E5D549
Palette Bf1a1a
#BF1A1A · #FF6C0C · #FFE08F · #060771

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#001A6E#0D1164#001B79#0D1A63#03256C#060771#00215E#0F2167#0D0B61#002379#0C056D#112073

Browse neighbouring colors

← #01166A  ·  #01166C →

Frequently asked questions

What color is #01166B?

#01166B is Deep Vivid Blue, a blue color (RGB 1, 22, 107). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #01166B?

#01166B is RGB 1, 22, 107 — HSL 228°, 98%, 21% — CMYK 99%, 79%, 0%, 58%.

What colors go with #01166B?

Its complement is #6A5501; analogous partners are #014B6A and #21016A. It also appears in 6+ palettes in our collection.

Can I use #01166B for text?

White text on #01166B has a contrast ratio of 15.81:1 (passes WCAG AA); black text gives 1.33:1.