#1DA1F2 color
#1DA1F2 is a medium, vivid blue, closest to the CSS named color dodgerblue (#1E90FF).
Color values
| HEX | #1DA1F2 |
| RGB | rgb(29, 161, 242) |
| HSL | hsl(203, 89%, 53%) |
| CMYK | cmyk(88%, 33%, 0%, 5%) |
| Decimal | 1942002 |
| CSS | color: #1DA1F2; |
| Android | 0xFF1DA1F2 |
| Swift | UIColor(red: 0.114, green: 0.631, blue: 0.949, alpha: 1) |
Accessibility and contrast
| White text on #1DA1F2 | 2.83:1 — AA fail · AA large fail · AAA fail |
| Black text on #1DA1F2 | 7.43:1 — AA pass · AA large pass · AAA pass |
| Recommended text color | black |
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 #1DA1F2
Each swatch keeps the hue and saturation of #1DA1F2 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #1DA1F2
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #1DA1F2 in code
/* CSS */
.element { color: #1DA1F2; background-color: #1DA1F2; }
.element { color: rgb(29 161 242); }
.element { color: hsl(203 89% 53%); }
/* Tailwind arbitrary value */
<div class="bg-[#1DA1F2] text-black">
/* SCSS variable */
$brand: #1DA1F2;
Frequently asked questions
What color is #1DA1F2?
#1DA1F2 is a medium, vivid blue. Its hue sits at 203° on the color wheel, with 89% saturation and 53% lightness.
What is #1DA1F2 in RGB?
#1DA1F2 converts to rgb(29, 161, 242) — 29 red, 161 green and 242 blue.
What is #1DA1F2 in CMYK?
Approximately cmyk(88%, 33%, 0%, 5%). 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 #1DA1F2 be white or black?
Black gives the better contrast ratio (7.43:1 versus 2.83:1).
What is the complementary color of #1DA1F2?
#F26E1C — the hue directly opposite #1DA1F2 on the color wheel.