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