#1F81B2 color

#1F81B2 is rgb(31, 129, 178) in RGB and hsl(200, 70%, 41%) in HSL. The closest CSS named color is steelblue (#4682b4, ΔE 4.4). Use black text on it (contrast 4.84:1).

#1F81B2azure
HEX#1F81B2
RGBrgb(31, 129, 178)
RGB percentrgb(12.2%, 50.6%, 69.8%)
HSLhsl(200, 70%, 41%)
HSV / HSBhsv(200, 83%, 70%)
CMYKcmyk(83%, 28%, 0%, 30%)
CIELAB (D65)lab(50.9 -9.8 -33.5)

Edit in the color converter → · Check contrast → · Shades →

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.

Color conversions

HEX#1F81B2
RGBrgb(31, 129, 178)
RGB percentrgb(12.2%, 50.6%, 69.8%)
HSLhsl(200, 70%, 41%)
HSV / HSBhsv(200, 83%, 70%)
CMYKcmyk(83%, 28%, 0%, 30%)
CIELAB (D65)lab(50.9 -9.8 -33.5)
Decimal2064818
Binary00011111 10000001 10110010

HEX 1F 81 B2 → 31, 129, 178 (each pair is a base-16 number: 1×16 + F = 31)

Color harmonies

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 #1F81B2RatioAA normalAA largeAAA normalAAA large
White text4.34:1FailPassFailFail
Black text4.84:1PassPassFailPass
White text on #1F81B2
Black text on #1F81B2
#1F81B2 text on white
#1F81B2 text on black

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

NameHEXΔE 2000
steelblue#4682b44.4
dodgerblue#1e90ff11.2
slategray#70809012.7
lightslategray#77889913.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; }

Frequently asked questions

What color is #1F81B2?
A medium-dark saturated azure in the blue family. Closest CSS name: steelblue.
What is #1F81B2 in RGB?
rgb(31, 129, 178): red 31, green 129, blue 178.
What is the complementary color of #1F81B2?
#B2501F, found by rotating the hue 180°.