Palettes / Colors / #052D61
#052D61 — Deep Vivid Blue
#052D61 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 #052D61 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.
#052D61 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 #613905; it also sits naturally between #055B61 and #0B0561. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #052D61 |
|---|---|
| RGB | 5, 45, 97 |
| HSL | 214°, 90%, 20% |
| HSV | 214°, 95%, 38% |
| CMYK | 95%, 54%, 0%, 62% |
| XYZ | 3.16, 2.77, 11.68 |
| Yxy | 2.77, 0.1794, 0.1574 |
| CIE-Lab | 19.11, 9.43, -34.49 |
| Hunter Lab | 16.65, 5.71, -32.02 |
RGB & CMYK percentages
Red 2% · Green 18% · Blue 38%
Cyan 95% · Magenta 54% · Yellow 0% · Key 62%
CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.
Previews
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
CSS code for #052D61
.text { color: #052D61; }
.background { background-color: #052D61; }
.border { border: 3px solid #052D61; }
.text-rgb { color: rgb(5, 45, 97); }
.text-hsl { color: hsl(214, 90%, 20%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #052D61; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(5, 45, 97, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #052D61; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(5, 45, 97, 0.8); }
HTML: <p style="color:#052D61">Text here</p> · <div style="background-color:#052D61">Div content here</div>
Shades of #052D61
Tints of #052D61
Tones of #052D61
Color harmonies
Complementary — #613905:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 13.51:1 AAA |
|---|---|
| Against black text | 1.55:1 Fails |
Best text color on #052D61: #FFFFFF.
Semi-transparent (opacity) text on #052D61
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:
Smaller body text shows the effect best.
Blended color: · Contrast against #052D61: ·
How #052D61 looks with color blindness
Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:
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:
Palettes with a similar color
These palettes use a close neighbour of #052D61 rather than the exact color:
Similar colors
The closest colors that actually appear in our palette collection — click any to open its page:
Browse neighbouring colors
Frequently asked questions
What color is #052D61?
#052D61 is Deep Vivid Blue, a blue color (RGB 5, 45, 97). Its closest standard named color is MidnightBlue.
What is the RGB and HSL of #052D61?
#052D61 is RGB 5, 45, 97 — HSL 214°, 90%, 20% — CMYK 95%, 54%, 0%, 62%.
What colors go with #052D61?
Its complement is #613905; analogous partners are #055B61 and #0B0561. It also appears in 6+ palettes in our collection.
Can I use #052D61 for text?
White text on #052D61 has a contrast ratio of 13.51:1 (passes WCAG AA); black text gives 1.55:1.