Maroon Colors  ·  Color Library

Palettes / Colors / #08366C

#08366C — Deep Vivid Blue

#08366C 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 #08366C 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.

#08366C 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 #6D3E08; it also sits naturally between #086A6D and #0C086D. In the palettes below you can see it working alongside real color combinations from our collection.

#08366C · RGB 8, 54, 108

Download PNG swatch SVG

Color values

HEX#08366C
RGB8, 54, 108
HSL212°, 86%, 23%
HSV212°, 93%, 42%
CMYK93%, 50%, 0%, 58%
XYZ4.13, 3.77, 14.70
Yxy3.77, 0.1826, 0.1670
CIE-Lab22.91, 8.03, -35.52
Hunter Lab19.42, 5.04, -33.57

RGB & CMYK percentages

Red 3% · Green 21% · Blue 42%

Cyan 93% · Magenta 50% · Yellow 0% · Key 58%

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

Previews

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

CSS code for #08366C

.text { color: #08366C; }
.background { background-color: #08366C; }
.border { border: 3px solid #08366C; }
.text-rgb { color: rgb(8, 54, 108); }
.text-hsl { color: hsl(212, 86%, 23%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #08366C; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(8, 54, 108, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #08366C; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(8, 54, 108, 0.8); }

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

Shades of #08366C

#073264#072E5A#062951#052447#052242#041D39#04182F#031326#020E1C#010A13

Tints of #08366C

#0B488E#0E5BB4#106CD5#1B7EEE#4193F1#62A6F3#84B9F6#A5CCF8#CBE1FB#ECF4FE

Tones of #08366C

#0F3866#17385E#1E3957#253950#2C3A49#343A42

Color harmonies

Complementary — #6D3E08:

Analogous:

Triadic:

Contrast & accessibility

Against white text11.97:1 AAA
Against black text1.75:1 Fails

Best text color on #08366C: #FFFFFF.

Semi-transparent (opacity) text on #08366C

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 #08366C: ·

How #08366C looks with color blindness

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

Protanopia · #1C1C5FDeuteranopia · #19165CTritanopia · #0A5552

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 · #475569Bootstrap dark · #212529Tailwind gray 600 · #4B5563

Palettes with a similar color

These palettes use a close neighbour of #08366C rather than the exact color:

Palette 0c356a
#0C356A · #0174BE · #FFC436 · #FFF0CE
Palette 021526
#021526 · #03346E · #6EACDA · #E2E2B6
Smoky Ruby Drift
#0E376C · #10128E · #782FE0 · #C72CE6
Palette 0b2d72
#0B2D72 · #0992C2 · #0AC4E0 · #F6E7BC
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:

#0C356A#03346E#0E376C#0B2D72#0D3076#074173#00416D#113F67#0C3C78#0D296F#133563#003161

Browse neighbouring colors

← #08366B  ·  #08366D →

Frequently asked questions

What color is #08366C?

#08366C is Deep Vivid Blue, a blue color (RGB 8, 54, 108). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #08366C?

#08366C is RGB 8, 54, 108 — HSL 212°, 86%, 23% — CMYK 93%, 50%, 0%, 58%.

What colors go with #08366C?

Its complement is #6D3E08; analogous partners are #086A6D and #0C086D. It also appears in 6+ palettes in our collection.

Can I use #08366C for text?

White text on #08366C has a contrast ratio of 11.97:1 (passes WCAG AA); black text gives 1.75:1.