Skip to content

CSS named color

SkyBlue #87CEEB

SkyBlue (CSS keyword skyblue) has the hex code #87CEEB and the RGB value rgb(135, 206, 235): a very light, muted sky blue.

SkyBlue#87CEEB

A light, clear blue (#87ceeb) like a midday sky. It is slightly less saturated than lightskyblue.

Color codes for SkyBlue

Color codes for SkyBlue
CSS keywordskyblue
HEX#87CEEB
RGBrgb(135, 206, 235)
HSLhsl(197, 71%, 73%)
HWBhwb(197 53% 8%)
OKLCHoklch(81.5% 0.082 225.8)
CMYK (naive, no ICC profile)cmyk(43%, 12%, 0%, 8%)
Decimal8,900,331
Hue familyBlues

Contrast and accessibility

On skyblue, black text has a contrast ratio of 12.05:1 and passes AAA at any text size; white text reaches 1.74:1.

WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on skyblue12.05:1PassPassPassPass72.3
White text on skyblue1.74:1FailFailFailFail−35.5
Skyblue text on white1.74:1FailFailFailFail31.6
Skyblue text on black12.05:1PassPassPassPass−71.2

Tints and shades

Each step mixes skyblue with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, skyblue, white 25%) in CSS.

Tints (mixed with white)

  1. 5%
    #8dd0ec
  2. 15%
    #99d5ee
  3. 25%
    #a5daf0
  4. 35%
    #b1dff2
  5. 45%
    #bde4f4
  6. 55%
    #c9e9f6
  7. 65%
    #d5eef8
  8. 75%
    #e1f3fa
  9. 85%
    #edf8fc
  10. 95%
    #f9fdfe

Shades (mixed with black)

  1. 5%
    #80c4df
  2. 15%
    #73afc8
  3. 25%
    #659bb0
  4. 35%
    #588699
  5. 45%
    #4a7181
  6. 55%
    #3d5d6a
  7. 65%
    #2f4852
  8. 75%
    #22343b
  9. 85%
    #141f23
  10. 95%
    #070a0c

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, skyblue's complementary color is #F0B296 (close to burlywood), its analogous colors are #7FD3D3 and #A0C5F7, and its triadic partners are #EAADCE and #C9C688. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#f0b296
Analogous−30°, +30°#7fd3d3#a0c5f7
Triadic+120°, +240°#eaadce#c9c688
Split-complementary+150°, +210°#f3adb1#e1bc86

Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.

Warm or cool?

SkyBlue is a cool color: its hue is 197° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.

Nearest named and Tailwind colors

Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.

Nearest CSS named colors

Nearest CSS named colors
ColorHEXΔE OK
lightskyblue#87cefa2.2
lightsteelblue#b0c4de4.9
lightblue#add8e65.3

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
sky-300#74d4ff3.3
blue-300#8ec5ff4.8
cyan-300#53eafd7.5

Code snippets

CSS
.element {
  color: skyblue;
  background-color: #87ceeb;
  border-color: rgb(135 206 235);
  outline-color: oklch(81.5% 0.082 225.8);
}
Tailwind CSS
<div class="bg-[#87ceeb] text-black">...</div>

/* or register it once in your CSS (Tailwind v4) */
@theme {
  --color-skyblue: #87ceeb;
}
/* then use bg-skyblue, text-skyblue, border-skyblue */
SwiftUI
import SwiftUI

extension Color {
  static let skyblue = Color(red: 0.529, green: 0.808, blue: 0.922)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Skyblue = Color(0xFF87CEEB)
Flutter
import 'package:flutter/material.dart';

const skyblue = Color(0xFF87CEEB);
Android XML
<!-- res/values/colors.xml -->
<color name="skyblue">#87CEEB</color>

Frequently asked questions

What is the hex code for skyblue?
The hex code for skyblue is #87CEEB. The same color is rgb(135, 206, 235), hsl(197, 71%, 73%) and oklch(81.5% 0.082 225.8), and in CSS you can also write the keyword skyblue directly.
Is skyblue a warm or cool color?
SkyBlue is a cool color: its hue is 197° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.
What colors go with skyblue?
Rotating the hue in OKLCH while keeping lightness and chroma, skyblue's complementary color is #F0B296 (close to burlywood), its analogous colors are #7FD3D3 and #A0C5F7, and its triadic partners are #EAADCE and #C9C688. For text on top, black gives the higher contrast.
Can you use white text on skyblue?
White text on skyblue has a contrast ratio of 1.74:1, which fails AA even for large text under WCAG 2.2. Black text reaches 12.05:1 and passes both AA and AAA. In APCA terms that is Lc −35.5 for white and Lc 72.3 for black.
What is the RGB value of skyblue?
SkyBlue is rgb(135, 206, 235): red 135, green 206 and blue 235 on the 0 to 255 scale, or 52.9%, 80.8% and 92.2%. As a decimal integer it is 8900331.

Last reviewed by Arielton Oberek.