#0077FF color

#0077FF is rgb(0, 119, 255) in RGB and hsl(212, 100%, 50%) in HSL. The closest CSS named color is royalblue (#4169e1, ΔE 6.7). Use black text on it (contrast 5.08:1).

#0077FFblue
HEX#0077FF
Short HEX#07F
RGBrgb(0, 119, 255)
RGB percentrgb(0%, 46.7%, 100%)
HSLhsl(212, 100%, 50%)
HSV / HSBhsv(212, 100%, 100%)
CMYKcmyk(100%, 53%, 0%, 0%)

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

About #0077FF

#0077FF is a medium, vivid blue with a hue angle of 212°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 255 (100%) and red the weakest at 0 (0%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.

Color conversions

HEX#0077FF
Short HEX#07F
RGBrgb(0, 119, 255)
RGB percentrgb(0%, 46.7%, 100%)
HSLhsl(212, 100%, 50%)
HSV / HSBhsv(212, 100%, 100%)
CMYKcmyk(100%, 53%, 0%, 0%)
CIELAB (D65)lab(52.3 24.4 -74.8)
Decimal30719
Binary00000000 01110111 11111111

HEX 00 77 FF → 0, 119, 255 (each pair is a base-16 number: 0×16 + 0 = 0)

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 #0077FF

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #0077FFRatioAA normalAA largeAAA normalAAA large
White text4.13:1FailPassFailFail
Black text5.08:1PassPassFailPass
White text on #0077FF
Black text on #0077FF
#0077FF text on white
#0077FF text on black

Relative luminance is 0.2041 (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
#0088ff

Deuteranopia
#0073fc

Tritanopia
#0099b0

Achromatopsia
#7d7d7d

People with red–green color blindness see this color almost unchanged (ΔE 1.4 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#4169e16.7
steelblue#4682b47.6
dodgerblue#1e90ff8.6
cornflowerblue#6495ed9.9

Nearby colors

CSS

.element {
  color: #0077ff;
  background-color: rgb(0, 119, 255);
  border: 1px solid hsl(212, 100%, 50%);
  box-shadow: 0 2px 8px rgb(0 119 255 / 50%);
}
:root { --brand: #0077ff; }

Frequently asked questions

What color is #0077FF?
A medium vivid blue in the blue family. Closest CSS name: royalblue.
What is #0077FF in RGB?
rgb(0, 119, 255): red 0, green 119, blue 255.
What is the complementary color of #0077FF?
#FF8800, found by rotating the hue 180°.