Maroon Colors  ·  Color Library

Palettes / Colors / #08397D

#08397D — Deep Vivid Blue

#08397D 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 #08397D 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.

#08397D is a cool blue color associated with trust, calm and professionalism. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #7D4C08; it also sits naturally between #08737D and #12087D. In the palettes below you can see it working alongside real color combinations from our collection.

#08397D · RGB 8, 57, 125

Download PNG swatch SVG

Color values

HEX#08397D
RGB8, 57, 125
HSL215°, 88%, 26%
HSV215°, 94%, 49%
CMYK94%, 54%, 0%, 51%
XYZ5.26, 4.46, 19.99
Yxy4.46, 0.1772, 0.1501
CIE-Lab25.13, 13.30, -42.74
Hunter Lab21.12, 8.82, -44.12

RGB & CMYK percentages

Red 3% · Green 22% · Blue 49%

Cyan 94% · Magenta 54% · Yellow 0% · Key 51%

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

Previews

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

CSS code for #08397D

.text { color: #08397D; }
.background { background-color: #08397D; }
.border { border: 3px solid #08397D; }
.text-rgb { color: rgb(8, 57, 125); }
.text-hsl { color: hsl(215, 88%, 26%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #08397D; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(8, 57, 125, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #08397D; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(8, 57, 125, 0.8); }

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

Shades of #08397D

#073473#073069#06295B#052551#052148#041C3E#031835#021126#020D1D#010913

Tints of #08397D

#0A489E#0C57C0#0E66E1#2278F1#448DF3#66A1F5#87B6F7#A9CAF9#CADFFC#ECF3FE

Tones of #08397D

#113A74#193B6C#213D63#293E5B#324053#3A414B

Color harmonies

Complementary — #7D4C08:

Analogous:

Triadic:

Contrast & accessibility

Against white text11.10:1 AAA
Against black text1.89:1 Fails

Best text color on #08397D: #FFFFFF.

Semi-transparent (opacity) text on #08397D

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 #08397D: ·

How #08397D looks with color blindness

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

Protanopia · #1D1E6DDeuteranopia · #1A1769Tritanopia · #0A605D

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:

Tailwind slate 600 · #475569Tailwind gray 600 · #4B5563Material Indigo 500 · #3F51B5

Palettes with a similar color

These palettes use a close neighbour of #08397D rather than the exact color:

Palette D4ebf8
#D4EBF8 · #1F509A · #0A3981 · #E38E49
Palette 04879c
#04879C · #0C3C78 · #090030 · #F30A49
Vintage Ember
#0C337E · #2F87B0 · #41EEE6 · #95EBE9
Palette 004182
#004182 · #118DF0 · #FBFFA3 · #FF4B68
Serene Dusk
#0D3076 · #34ADAB · #38DACE · #9DC2ED
Palette 074173
#074173 · #1679AB · #5DEBD7 · #C5FF95

Similar colors

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

#0A3981#0C3C78#0C337E#004182#0D3076#074173#0C457A#003285#124076#134077#10457E#112E81

Browse neighbouring colors

← #08397C  ·  #08397E →

Frequently asked questions

What color is #08397D?

#08397D is Deep Vivid Blue, a blue color (RGB 8, 57, 125). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #08397D?

#08397D is RGB 8, 57, 125 — HSL 215°, 88%, 26% — CMYK 94%, 54%, 0%, 51%.

What colors go with #08397D?

Its complement is #7D4C08; analogous partners are #08737D and #12087D. It also appears in 6+ palettes in our collection.

Can I use #08397D for text?

White text on #08397D has a contrast ratio of 11.10:1 (passes WCAG AA); black text gives 1.89:1.