#0D2059 color
#0D2059 is a dark, vivid blue, closest to the CSS named color midnightblue (#191970).
Color values
| HEX | #0D2059 |
| RGB | rgb(13, 32, 89) |
| HSL | hsl(225, 75%, 20%) |
| CMYK | cmyk(85%, 64%, 0%, 65%) |
| Decimal | 860249 |
| CSS | color: #0D2059; |
| Android | 0xFF0D2059 |
| Swift | UIColor(red: 0.051, green: 0.125, blue: 0.349, alpha: 1) |
Accessibility and contrast
| White text on #0D2059 | 15.35:1 — AA pass · AA large pass · AAA pass |
| Black text on #0D2059 | 1.37:1 — AA fail · AA large fail · AAA fail |
| Recommended text color | white |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #0D2059
Each swatch keeps the hue and saturation of #0D2059 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #0D2059
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #0D2059 in code
/* CSS */
.element { color: #0D2059; background-color: #0D2059; }
.element { color: rgb(13 32 89); }
.element { color: hsl(225 75% 20%); }
/* Tailwind arbitrary value */
<div class="bg-[#0D2059] text-white">
/* SCSS variable */
$brand: #0D2059;
Frequently asked questions
What color is #0D2059?
#0D2059 is a dark, vivid blue. Its hue sits at 225° on the color wheel, with 75% saturation and 20% lightness.
What is #0D2059 in RGB?
#0D2059 converts to rgb(13, 32, 89) — 13 red, 32 green and 89 blue.
What is #0D2059 in CMYK?
Approximately cmyk(85%, 64%, 0%, 65%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #0D2059 be white or black?
White gives the better contrast ratio (15.35:1 versus 1.37:1).
What is the complementary color of #0D2059?
#59460D — the hue directly opposite #0D2059 on the color wheel.