#1166CC color

#1166CC is rgb(17, 102, 204) in RGB and hsl(213, 85%, 43%) in HSL. The closest CSS named color is royalblue (#4169e1, ΔE 5.7). Use white text on it (contrast 5.53:1).

#1166CCblue
HEX#1166CC
Short HEX#16C
RGBrgb(17, 102, 204)
RGB percentrgb(6.7%, 40%, 80%)
HSLhsl(213, 85%, 43%)
HSV / HSBhsv(213, 92%, 80%)
CMYKcmyk(92%, 50%, 0%, 20%)

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

About #1166CC

#1166CC is a medium, vivid blue with a hue angle of 213°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 204 (80%) and red the weakest at 17 (7%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.

Color conversions

HEX#1166CC
Short HEX#16C
RGBrgb(17, 102, 204)
RGB percentrgb(6.7%, 40%, 80%)
HSLhsl(213, 85%, 43%)
HSV / HSBhsv(213, 92%, 80%)
CMYKcmyk(92%, 50%, 0%, 20%)
CIELAB (D65)lab(44.2 15.9 -59.2)
Decimal1140428
Binary00010001 01100110 11001100

HEX 11 66 CC → 17, 102, 204 (each pair is a base-16 number: 1×16 + 1 = 17)

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 #1166CC

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #1166CCRatioAA normalAA largeAAA normalAAA large
White text5.53:1PassPassFailPass
Black text3.80:1FailPassFailFail
White text on #1166CC
Black text on #1166CC
#1166CC text on white
#1166CC text on black

Relative luminance is 0.1398 (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
#2371d0

Deuteranopia
#0061ca

Tritanopia
#007f8f

Achromatopsia
#686868

People with red–green color blindness see this color almost unchanged (ΔE 1.7 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
royalblue#4169e15.7
steelblue#4682b410.3
slateblue#6a5acd13.1
mediumslateblue#7b68ee15.2

Nearby colors

CSS

.element {
  color: #1166cc;
  background-color: rgb(17, 102, 204);
  border: 1px solid hsl(213, 85%, 43%);
  box-shadow: 0 2px 8px rgb(17 102 204 / 50%);
}
:root { --brand: #1166cc; }

Frequently asked questions

What color is #1166CC?
A medium vivid blue in the blue family. Closest CSS name: royalblue.
What is #1166CC in RGB?
rgb(17, 102, 204): red 17, green 102, blue 204.
What is the complementary color of #1166CC?
#CC7711, found by rotating the hue 180°.