About #1F81B2
#1F81B2 is a medium-dark, saturated azure with a hue angle of 200°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 178 (70%) and red the weakest at 31 (12%). Colors like this are typically used for headers, navigation bars and strong brand areas.
- It is step 600 in the generated azure scale on this site.
Color conversions
| HEX | #1F81B2 |
|---|---|
| RGB | rgb(31, 129, 178) |
| RGB percent | rgb(12.2%, 50.6%, 69.8%) |
| HSL | hsl(200, 70%, 41%) |
| HSV / HSB | hsv(200, 83%, 70%) |
| CMYK | cmyk(83%, 28%, 0%, 30%) |
| CIELAB (D65) | lab(50.9 -9.8 -33.5) |
| Decimal | 2064818 |
| Binary | 00011111 10000001 10110010 |
HEX 1F 81 B2 → 31, 129, 178 (each pair is a base-16 number: 1×16 + F = 31)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.
Tints and shades of #1F81B2
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #1F81B2 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 4.34:1 | Fail | Pass | Fail | Fail |
| Black text | 4.84:1 | Pass | Pass | Fail | Pass |
Relative luminance is 0.1921 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.
Color blindness simulation
Protanopia#6981b4
Deuteranopia#5673b1
Tritanopia#008e92
Achromatopsia#797979
With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 11.9). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.
Similar named colors
| Name | HEX | ΔE 2000 |
|---|---|---|
| steelblue | #4682b4 | 4.4 |
| dodgerblue | #1e90ff | 11.2 |
| slategray | #708090 | 12.7 |
| lightslategray | #778899 | 13.1 |
CSS
.element {
color: #1f81b2;
background-color: rgb(31, 129, 178);
border: 1px solid hsl(200, 70%, 41%);
box-shadow: 0 2px 8px rgb(31 129 178 / 50%);
}
:root { --brand: #1f81b2; }