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.
A light, clear blue (#87ceeb) like a midday sky. It is slightly less saturated than lightskyblue.
Color codes for SkyBlue
| CSS keyword | skyblue |
|---|---|
| HEX | #87CEEB |
| RGB | rgb(135, 206, 235) |
| HSL | hsl(197, 71%, 73%) |
| HWB | hwb(197 53% 8%) |
| OKLCH | oklch(81.5% 0.082 225.8) |
| CMYK (naive, no ICC profile) | cmyk(43%, 12%, 0%, 8%) |
| Decimal | 8,900,331 |
| Hue family | Blues |
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.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on skyblue | 12.05:1 | Pass | Pass | Pass | Pass | 72.3 |
| White text on skyblue | 1.74:1 | Fail | Fail | Fail | Fail | −35.5 |
| Skyblue text on white | 1.74:1 | Fail | Fail | Fail | Fail | 31.6 |
| Skyblue text on black | 12.05:1 | Pass | Pass | Pass | Pass | −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)
- 5%
#8dd0ec - 15%
#99d5ee - 25%
#a5daf0 - 35%
#b1dff2 - 45%
#bde4f4 - 55%
#c9e9f6 - 65%
#d5eef8 - 75%
#e1f3fa - 85%
#edf8fc - 95%
#f9fdfe
Shades (mixed with black)
- 5%
#80c4df - 15%
#73afc8 - 25%
#659bb0 - 35%
#588699 - 45%
#4a7181 - 55%
#3d5d6a - 65%
#2f4852 - 75%
#22343b - 85%
#141f23 - 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.
| Harmony | Rotation | Color |
|---|---|---|
| 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
| Color | HEX | ΔE OK |
|---|---|---|
| lightskyblue | #87cefa | 2.2 |
| lightsteelblue | #b0c4de | 4.9 |
| lightblue | #add8e6 | 5.3 |
Code snippets
.element {
color: skyblue;
background-color: #87ceeb;
border-color: rgb(135 206 235);
outline-color: oklch(81.5% 0.082 225.8);
}<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 */import SwiftUI
extension Color {
static let skyblue = Color(red: 0.529, green: 0.808, blue: 0.922)
}import androidx.compose.ui.graphics.Color
val Skyblue = Color(0xFF87CEEB)import 'package:flutter/material.dart';
const skyblue = Color(0xFF87CEEB);<!-- 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.