#002DB3 color
#002DB3 is a dark, vivid blue, closest to the CSS named color midnightblue (#191970).
Color values
| HEX | #002DB3 |
| RGB | rgb(0, 45, 179) |
| HSL | hsl(225, 100%, 35%) |
| CMYK | cmyk(100%, 75%, 0%, 30%) |
| Decimal | 11699 |
| CSS | color: #002DB3; |
| Android | 0xFF002DB3 |
| Swift | UIColor(red: 0.000, green: 0.176, blue: 0.702, alpha: 1) |
Accessibility and contrast
| White text on #002DB3 | 10.36:1 — AA pass · AA large pass · AAA pass |
| Black text on #002DB3 | 2.03: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 #002DB3
Each swatch keeps the hue and saturation of #002DB3 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #002DB3
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #002DB3 in code
/* CSS */
.element { color: #002DB3; background-color: #002DB3; }
.element { color: rgb(0 45 179); }
.element { color: hsl(225 100% 35%); }
/* Tailwind arbitrary value */
<div class="bg-[#002DB3] text-white">
/* SCSS variable */
$brand: #002DB3;
Frequently asked questions
What color is #002DB3?
#002DB3 is a dark, vivid blue. Its hue sits at 225° on the color wheel, with 100% saturation and 35% lightness.
What is #002DB3 in RGB?
#002DB3 converts to rgb(0, 45, 179) — 0 red, 45 green and 179 blue.
What is #002DB3 in CMYK?
Approximately cmyk(100%, 75%, 0%, 30%). 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 #002DB3 be white or black?
White gives the better contrast ratio (10.36:1 versus 2.03:1).
What is the complementary color of #002DB3?
#B38600 — the hue directly opposite #002DB3 on the color wheel.