#003166 Color Information

Hex color code: #003166

The hex color #003166 is a dark blue with RGB values of (0, 49, 102) and HSL of (211°, 100%, 20%). It is frequently seen in web interfaces.

Try:
Color NameNavy
HEX
#003166
RGB
0, 49, 102
HSL
211°, 100%, 20%
CMYK
100%, 52%, 0%, 60%

Shades

CSS Usage
color: #003166;
background-color: #003166;
border-color: #003166;
box-shadow: 0 0 10px #003166;
border: 2px solid #003166;
Tailwind Usage
bg-[#003166]
text-[#003166]
border-[#003166]
shadow-[0_0_10px_003166]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #003166, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #003166; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #003166; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #003166; background-color: #00316615; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #00316620; border-left: 4px solid #003166; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #003166; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #003166 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

0, 49, 102

Red: 0 / Green: 49 / Blue: 102

HSL

211°, 100%, 20%

Hue: 211° / Saturation: 100% / Lightness: 20%

CMYK

100%, 52%, 0%, 60%

Cyan: 100% / Magenta: 52% / Yellow: 0% / Key: 60%

What color is #003166?

#003166 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #003166 to RGB:

rgb(0, 49, 102)HEX to RGB Converter →

HEX to HSL

Convert #003166 to HSL:

hsl(211, 100%, 20%)RGB to HSL Converter →

HEX to CMYK

Convert #003166 to CMYK:

cmyk(100%, 52%, 0%, 60%)Color Converter →

Color Meaning and Usage

#003166 is a dark blue color with RGB values of 0, 49, 102 and HSL of 211°, 100%, 20%. This highly saturated hue evokes energy and excitement, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #003166 is #663500, creating high-contrast pairings. For softer combinations, try analogous colors like #006466.

Use #003166 in CSS: color: #003166 or background-color: #003166. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #003166

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 1.63:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #003166?

#003166 is a dark blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #003166?

#003166 in RGB is (0, 49, 102) - 0 red, 49 green, and 102 blue.

How to use #003166 in CSS?

Use #003166 directly in your CSS properties like color or background-color.

What colors go well with #003166?

#663500 (complementary), #006466 (analogous), and #000C19 (lighter shade) work well with #003166.