#08316D Color Information

Hex color code: #08316D

The hex color #08316D is a dramatic blue with RGB values of (8, 49, 109) and HSL of (216°, 86%, 23%). It is typically applied in digital products.

Try:
Color NameNavy
HEX
#08316D
RGB
8, 49, 109
HSL
216°, 86%, 23%
CMYK
93%, 55%, 0%, 57%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #08316D; 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 #08316D; background-color: #08316D15; }

Alert / Toast

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

Link / Accent

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

a { color: #08316D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #08316D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

8, 49, 109

Red: 8 / Green: 49 / Blue: 109

HSL

216°, 86%, 23%

Hue: 216° / Saturation: 86% / Lightness: 23%

CMYK

93%, 55%, 0%, 57%

Cyan: 93% / Magenta: 55% / Yellow: 0% / Key: 57%

What color is #08316D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #08316D to RGB:

rgb(8, 49, 109)HEX to RGB Converter →

HEX to HSL

Convert #08316D to HSL:

hsl(216, 86%, 23%)RGB to HSL Converter →

HEX to CMYK

Convert #08316D to CMYK:

cmyk(93%, 55%, 0%, 57%)Color Converter →

Color Meaning and Usage

A dramatic blue tone, #08316D has RGB (8, 49, 109) and HSL (216°, 86%, 23%). Known for evoking energy and excitement, this highly saturated hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #08316D is #6D4508, creating high-contrast pairings. For softer combinations, try analogous colors like #08636D.

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

Contrast with #08316D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #08316D?

#08316D is a dramatic blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #08316D?

#08316D in RGB is (8, 49, 109) - 8 red, 49 green, and 109 blue.

How to use #08316D in CSS?

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

What colors go well with #08316D?

#6D4508 (complementary), #08636D (analogous), and #031126 (lighter shade) work well with #08316D.