Skip to content

CSS named color

LightSkyBlue #87CEFA

LightSkyBlue (CSS keyword lightskyblue) has the hex code #87CEFA and the RGB value rgb(135, 206, 250): a very light, moderately saturated sky blue.

LightSkyBlue#87CEFA

A light, slightly more saturated version of skyblue (#87cefa). It works as a background tint but is too light for text on white.

Color codes for LightSkyBlue

Color codes for LightSkyBlue
CSS keywordlightskyblue
HEX#87CEFA
RGBrgb(135, 206, 250)
HSLhsl(203, 92%, 75%)
HWBhwb(203 53% 2%)
OKLCHoklch(82.1% 0.095 236.8)
CMYK (naive, no ICC profile)cmyk(46%, 18%, 0%, 2%)
Decimal8,900,346
Hue familyBlues

Contrast and accessibility

On lightskyblue, black text has a contrast ratio of 12.23:1 and passes AAA at any text size; white text reaches 1.71: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 lightskyblue12.23:1PassPassPassPass73.1
White text on lightskyblue1.71:1FailFailFailFail−34.6
Lightskyblue text on white1.71:1FailFailFailFail30.8
Lightskyblue text on black12.23:1PassPassPassPass−72.0

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #8dd0fa
  2. 15%
    #99d5fb
  3. 25%
    #a5dafb
  4. 35%
    #b1dffc
  5. 45%
    #bde4fc
  6. 55%
    #c9e9fd
  7. 65%
    #d5eefd
  8. 75%
    #e1f3fe
  9. 85%
    #edf8fe
  10. 95%
    #f9fdff

Shades (mixed with black)

  1. 5%
    #80c4ee
  2. 15%
    #73afd5
  3. 25%
    #659bbc
  4. 35%
    #5886a3
  5. 45%
    #4a718a
  6. 55%
    #3d5d70
  7. 65%
    #2f4858
  8. 75%
    #22343f
  9. 85%
    #141f26
  10. 95%
    #070a0d

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, lightskyblue's complementary color is #F4B588 (close to burlywood), its analogous colors are #73D6E3 and #A8C3FF, and its triadic partners are #F7ABC5 and #C0CD85. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#f4b588
Analogous−30°, +30°#73d6e3#a8c3ff
Triadic+120°, +240°#f7abc5#c0cd85
Split-complementary+150°, +210°#fcada4#dfc17b

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?

LightSkyBlue is a cool color: its hue is 203° 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
skyblue#87ceeb2.2
lightsteelblue#b0c4de5.6
lightblue#add8e66.1

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
sky-300#74d4ff2.1
blue-300#8ec5ff3.0
blue-200#bedbff7.4

Code snippets

CSS
.element {
  color: lightskyblue;
  background-color: #87cefa;
  border-color: rgb(135 206 250);
  outline-color: oklch(82.1% 0.095 236.8);
}
Tailwind CSS
<div class="bg-[#87cefa] text-black">...</div>

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

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

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

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

Frequently asked questions

What is the hex code for lightskyblue?
The hex code for lightskyblue is #87CEFA. The same color is rgb(135, 206, 250), hsl(203, 92%, 75%) and oklch(82.1% 0.095 236.8), and in CSS you can also write the keyword lightskyblue directly.
Is lightskyblue a warm or cool color?
LightSkyBlue is a cool color: its hue is 203° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.
What colors go with lightskyblue?
Rotating the hue in OKLCH while keeping lightness and chroma, lightskyblue's complementary color is #F4B588 (close to burlywood), its analogous colors are #73D6E3 and #A8C3FF, and its triadic partners are #F7ABC5 and #C0CD85. For text on top, black gives the higher contrast.
Can you use white text on lightskyblue?
White text on lightskyblue has a contrast ratio of 1.71:1, which fails AA even for large text under WCAG 2.2. Black text reaches 12.23:1 and passes both AA and AAA. In APCA terms that is Lc −34.6 for white and Lc 73.1 for black.
What is the RGB value of lightskyblue?
LightSkyBlue is rgb(135, 206, 250): red 135, green 206 and blue 250 on the 0 to 255 scale, or 52.9%, 80.8% and 98.0%. As a decimal integer it is 8900346.

Last reviewed by Arielton Oberek.