Sky blue hex code

The hex code for sky blue is #87CEEB, or rgb(135, 206, 235). CSS also accepts the keyword skyblue.

#87CEEB
HEX#87CEEB
RGBrgb(135, 206, 235)
HSLhsl(197, 71%, 73%)
HSV / HSBhsv(197, 43%, 92%)
OKLCHoklch(81.48% 0.0819 225.75)
CMYKcmyk(43%, 12%, 0%, 8%)
HEX, 50% opacity#87CEEB80
RGB, 50% opacityrgb(135 206 235 / 50%)
CSS nameskyblue
Defined inCSS Color 3 (from the X11 color names)

About sky blue

In CSS, sky blue is skyblue (#87CEEB), a light, soft blue. Like most light colors it needs dark text: black on sky blue is 12.06:1, while white is only 1.74:1.

Related named colors are lightskyblue (#87CEFA), deepskyblue (#00BFFF) and lightblue (#ADD8E6).

Shades and tints of sky blue

Sky blue lands on the 300 step. The steps follow a lightness curve modeled on Tailwind CSS's default palette; build your own in the Tailwind color generator. For sky blue mixed with white, black or gray in even steps, use the tint and shade generator.

50#F1F9FC100#E1F2F9200#C0E6F6300#87CEEB400#56BBE0500#1DA9D4600#008CB8700#007398800#005E7C900#084E64950#062D3B

Colors that go with sky blue

Partner hues are picked on the OKLCH color wheel.

Complementary: the opposite hue

#87CEEB#F0B296

Open in the palette generator · Compare the screen and painter's complements of sky blue

Analogous: neighboring hues 30° either side

#87CEEB#7FD3D3#A0C5F7

Open in the palette generator · See analogous and monochromatic colors of sky blue on three wheels

Triadic: three hues 120° apart

#87CEEB#EAADCE#C9C688

Open in the palette generator

Split complementary: the two hues beside the complement

#87CEEB#F3ADB1#E1BC86

Open in the palette generator

Text on sky blue

White text on sky blue: 1.74:1
Black text on sky blue: 12.06:1
TextRatioAA normalAA largeAAA normal
White1.74:1FailFailFail
Black12.06:1PassPassPass

The ratio is the same either way round, so sky blue text on a white background is also 1.74:1. Check other pairs in the color contrast checker.

Similar named colors

The CSS named colors closest to sky blue, by deltaE OK distance.

lightskyblue #87CEFAlightsteelblue #B0C4DElightblue #ADD8E6powderblue #B0E0E6mediumturquoise #48D1CCsilver #C0C0C0

See all 148 on the color names page.

Closest Tailwind CSS colors

sky-300 v4: sky-300, #74D4FF, deltaE OK 0.033

sky-300 v3: sky-300, #7DD3FC, deltaE OK 0.024

In Tailwind CSS v4 it is sky-300 (#74D4FF), and in v3 sky-300 (#7DD3FC). For the exact color, use an arbitrary value such as bg-[#87ceeb]. A deltaE OK of around 0.02 is roughly the smallest difference most people notice side by side. Browse every shade on the Tailwind CSS colors page.

Sky blue with color vision deficiency

An approximation of how sky blue may look with protanopia, deuteranopia and tritanopia (simulated with Machado, Oliveira and Fernandes, 2009), and with achromatopsia, shown as a gray of the same luminance.

protanopia #BECBEDdeuteranopia #AFBFEBtritanopia #5DD7D7achromatopsia #C4C4C4

Test a whole palette or image in the color blindness simulator.

Using sky blue in code

.example {
  color: skyblue;                 /* named color */
  background-color: #87ceeb;  /* hex */
  border-color: rgb(135, 206, 235);
}

Frequently asked questions

What is the hex code for sky blue?
#87CEEB. CSS also accepts the keyword skyblue, which means the same color.
What is sky blue in RGB?
rgb(135, 206, 235). In HSL it is hsl(197, 71%, 73%), and in OKLCH oklch(81.48% 0.0819 225.75).
What text color goes on sky blue?
Black text has the higher contrast on #87CEEB: 12.06:1, which meets AAA for all text. White text reaches 1.74:1.
What is the closest Tailwind color to sky blue?
In Tailwind CSS v4 it is sky-300 (#74D4FF), and in v3 sky-300 (#7DD3FC). For the exact color, use an arbitrary value such as bg-[#87ceeb].
How do I make sky blue transparent?
Add an alpha value. Half-transparent sky blue is #87CEEB80 as 8-digit HEX (80 is 128 out of 255) or rgb(135 206 235 / 50%).