#1A264D color
#1A264D is a dark, moderately saturated blue, closest to the CSS named color midnightblue (#191970).
Color values
| HEX | #1A264D |
| RGB | rgb(26, 38, 77) |
| HSL | hsl(226, 50%, 20%) |
| CMYK | cmyk(66%, 51%, 0%, 70%) |
| Decimal | 1713741 |
| CSS | color: #1A264D; |
| Android | 0xFF1A264D |
| Swift | UIColor(red: 0.102, green: 0.149, blue: 0.302, alpha: 1) |
Accessibility and contrast
| White text on #1A264D | 14.70:1 — AA pass · AA large pass · AAA pass |
| Black text on #1A264D | 1.43: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 #1A264D
Each swatch keeps the hue and saturation of #1A264D and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #1A264D
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #1A264D in code
/* CSS */
.element { color: #1A264D; background-color: #1A264D; }
.element { color: rgb(26 38 77); }
.element { color: hsl(226 50% 20%); }
/* Tailwind arbitrary value */
<div class="bg-[#1A264D] text-white">
/* SCSS variable */
$brand: #1A264D;
Frequently asked questions
What color is #1A264D?
#1A264D is a dark, moderately saturated blue. Its hue sits at 226° on the color wheel, with 50% saturation and 20% lightness.
What is #1A264D in RGB?
#1A264D converts to rgb(26, 38, 77) — 26 red, 38 green and 77 blue.
What is #1A264D in CMYK?
Approximately cmyk(66%, 51%, 0%, 70%). 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 #1A264D be white or black?
White gives the better contrast ratio (14.70:1 versus 1.43:1).
What is the complementary color of #1A264D?
#4D411A — the hue directly opposite #1A264D on the color wheel.