Maroon Colors  ·  Color Library

Palettes / Colors / #00366B

#00366B — Deep Vivid Blue

#00366B 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 #00366B 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.

#00366B 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 #6B3600; it also sits naturally between #006B6B and #00006B. In the palettes below you can see it working alongside real color combinations from our collection.

#00366B · RGB 0, 54, 107

Download PNG swatch SVG

Color values

HEX#00366B
RGB0, 54, 107
HSL210°, 100%, 21%
HSV210°, 100%, 42%
CMYK100%, 50%, 0%, 58%
XYZ3.97, 3.70, 14.41
Yxy3.70, 0.1799, 0.1675
CIE-Lab22.65, 6.92, -35.29
Hunter Lab19.24, 4.30, -33.24

RGB & CMYK percentages

Red 0% · Green 21% · Blue 42%

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

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

Previews

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

CSS code for #00366B

.text { color: #00366B; }
.background { background-color: #00366B; }
.border { border: 3px solid #00366B; }
.text-rgb { color: rgb(0, 54, 107); }
.text-hsl { color: hsl(210, 100%, 21%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #00366B; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(0, 54, 107, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #00366B; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(0, 54, 107, 0.8); }

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

Shades of #00366B

#003061#002E5C#002952#002447#002142#001C38#00172E#001224#000F1F#000A14

Tints of #00366B

#004A94#005CB8#0070E0#0582FF#2E96FF#52A8FF#7ABDFF#9ECFFF#C7E3FF#EBF5FF

Tones of #00366B

#073664#10365C#173654#1F364D#263645#2E363D

Color harmonies

Complementary — #6B3600:

Analogous:

Triadic:

Contrast & accessibility

Against white text12.07:1 AAA
Against black text1.74:1 Fails

Best text color on #00366B: #FFFFFF.

Semi-transparent (opacity) text on #00366B

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 #00366B: ·

How #00366B looks with color blindness

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

Protanopia · #17185EDeuteranopia · #14105BTritanopia · #035452

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 #00366B rather than the exact color:

Palette 021526
#021526 · #03346E · #6EACDA · #E2E2B6
Palette F8bd7f
#F8BD7F · #00416D · #F5F1DA · #E3DFC8
Palette 000b58
#000B58 · #003161 · #006A67 · #FDEB9E
Palette 000b58
#000B58 · #003161 · #006A67 · #FFF4B7
Palette 0c356a
#0C356A · #0174BE · #FFC436 · #FFF0CE
Smoky Ruby Drift
#0E376C · #10128E · #782FE0 · #C72CE6

Similar colors

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

#03346E#00416D#003161#0C356A#0E376C#074173#0B2D72#03256C#093C5D#0D3076#034561#0C3C78

Browse neighbouring colors

← #00366A  ·  #00366C →

Frequently asked questions

What color is #00366B?

#00366B is Deep Vivid Blue, a blue color (RGB 0, 54, 107). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #00366B?

#00366B is RGB 0, 54, 107 — HSL 210°, 100%, 21% — CMYK 100%, 50%, 0%, 58%.

What colors go with #00366B?

Its complement is #6B3600; analogous partners are #006B6B and #00006B. It also appears in 6+ palettes in our collection.

Can I use #00366B for text?

White text on #00366B has a contrast ratio of 12.07:1 (passes WCAG AA); black text gives 1.74:1.