Free Accessible CSS Gradient Generator

← All Colors
#87CEEB Sky Blue

Sky Blue Hex Code #87CEEB

Sky Blue is a light, moderate blue with the hex code #87CEEB. In RGB it is 135, 206, 235, and in HSL it is 197°, 71%, 73%. It is one of the 148 named colors in CSS, so you can write “skyblue” instead of the hex code.

HEX
#87CEEB
RGB
rgb(135, 206, 235)
HSL
hsl(197, 71%, 73%)
HSV
hsv(197°, 43%, 92%)
CMYK
cmyk(43%, 12%, 0%, 8%)
CSS name
skyblue

CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.

About Sky Blue

On a white background Sky Blue has a contrast ratio of 1.74:1 (Fail), and on black 12.06:1 (AAA). Black text is the better choice on top of it.

It sits on the cool side of the color wheel, a range that tends to feel calm and appears to recede.

Blue is the most common color in interfaces. It signals trust and calm, which is why banks, software and healthcare brands favour it.

Good to know: Skyblue (#87ceeb) and lightskyblue (#87cefa) are almost identical: they differ only in the blue channel, 235 versus 250. For a more saturated sky blue, see deepskyblue (#00bfff).

Shades and tints of Sky Blue

Tints mix Sky Blue with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.

Color harmonies for Sky Blue

These schemes are calculated from Sky Blue on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.

Analogous

Open in the color wheel

Triadic

Open in the color wheel

Tetradic

Open in the color wheel

Square

Open in the color wheel

On the artist’s RYB wheel, the complement of Sky Blue is #EBAC87, close to the named color Dark Salmon.

Sky Blue contrast and accessibility

WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Sky Blue scores against white and black.

Contrast of Sky Blue with white and black
AgainstRatioAA normalAA largeAAA normalAAA large
White (#ffffff) 1.74:1 ✕ Fail ✕ Fail ✕ Fail ✕ Fail
Black (#000000) 12.06:1 ✓ Pass ✓ Pass ✓ Pass ✓ Pass
Aa White text on Sky Blue1.74:1
Aa Black text on Sky Blue12.06:1

Sky Blue and color blindness

These are approximate previews of how Sky Blue can look with the main types of color vision deficiency.

Protanopia #BECBED

Sky Blue shifts slightly.

Deuteranopia #AFBFEB

Sky Blue shifts slightly.

Tritanopia #5DD7D7

Sky Blue changes noticeably.

Achromatopsia #C4C4C4

Sky Blue changes noticeably.

Gradients with Sky Blue

Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.

Sky Blue to a lighter tint

background: linear-gradient(135deg, #87ceeb 0%, #cfebf7 100%);

Sky Blue to its analogous neighbour

background: linear-gradient(135deg, #87ceeb 0%, #879ceb 100%);

Sky Blue to its complement

background: linear-gradient(135deg, #87ceeb 0%, #eba487 100%);

Colors similar to Sky Blue

How each close match differs from Sky Blue.

More blue colors →

Use Sky Blue in code

CSS
.element {
  color: #87ceeb;
  background-color: #87ceeb;
  border-color: skyblue;   /* skyblue is a valid CSS color name */
}
CSS variable
:root {
  --color-sky-blue: #87ceeb;
}
Tailwind
<!-- Tailwind arbitrary values -->
<div class="bg-[#87ceeb] text-[#87ceeb] border-[#87ceeb]"></div>

/* Tailwind v4 theme color */
@theme {
  --color-sky-blue: #87ceeb;
}

Sky Blue questions

What is the hex code for Sky Blue?

The hex code for Sky Blue is #87CEEB. In RGB that is rgb(135, 206, 235), and in HSL it is hsl(197, 71%, 73%).

What is the complementary color of Sky Blue?

On the RGB (screen) color wheel, the complement of Sky Blue is #EBA487, which is close to Dark Salmon. On the artist’s RYB wheel it is #EBAC87, close to Dark Salmon.

Should I use white or black text on Sky Blue?

Black text. It has a contrast ratio of 12.06:1 against Sky Blue, which is WCAG AAA. The other option scores 1.74:1.

Is Sky Blue accessible as a text color on white?

No. Sky Blue on white scores 1.74:1, which is below the WCAG minimum of 3:1 even for large text.

What are darker and lighter shades of Sky Blue?

Mixing Sky Blue with black gives #6CA5BC, #517C8D, #36525E, #1B292F (20% to 80% black). Mixing it with white gives #9FD8EF, #B7E2F3, #CFEBF7, #E7F5FB (20% to 80% white).

More color tools