#1166EE color

#1166EE is rgb(17, 102, 238) in RGB and hsl(217, 87%, 50%) in HSL. The closest CSS named color is royalblue (#4169e1, ΔE 2.8). Use white text on it (contrast 5.05:1).

#1166EEblue
HEX#1166EE
Short HEX#16E
RGBrgb(17, 102, 238)
RGB percentrgb(6.7%, 40%, 93.3%)
HSLhsl(217, 87%, 50%)
HSV / HSBhsv(217, 93%, 93%)
CMYKcmyk(93%, 57%, 0%, 7%)

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

About #1166EE

#1166EE is a medium, vivid blue with a hue angle of 217°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 238 (93%) 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#1166EE
Short HEX#16E
RGBrgb(17, 102, 238)
RGB percentrgb(6.7%, 40%, 93.3%)
HSLhsl(217, 87%, 50%)
HSV / HSBhsv(217, 93%, 93%)
CMYKcmyk(93%, 57%, 0%, 7%)
CIELAB (D65)lab(46.7 29.1 -74.5)
Decimal1140462
Binary00010001 01100110 11101110

HEX 11 66 EE → 17, 102, 238 (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 #1166EE

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #1166EERatioAA normalAA largeAAA normalAAA large
White text5.05:1PassPassFailPass
Black text4.16:1FailPassFailFail
White text on #1166EE
Black text on #1166EE
#1166EE text on white
#1166EE text on black

Relative luminance is 0.1579 (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
#0079f3

Deuteranopia
#0065eb

Tritanopia
#0089a0

Achromatopsia
#6f6f6f

People with red–green color blindness see this color almost unchanged (ΔE 0.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#4169e12.8
steelblue#4682b410.7
slateblue#6a5acd11.1
mediumslateblue#7b68ee11.6

Nearby colors

CSS

.element {
  color: #1166ee;
  background-color: rgb(17, 102, 238);
  border: 1px solid hsl(217, 87%, 50%);
  box-shadow: 0 2px 8px rgb(17 102 238 / 50%);
}
:root { --brand: #1166ee; }

Frequently asked questions

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