CSS named color

Light Steel Blue #B0C4DE

The CSS keyword lightsteelblue is #B0C4DE. It is a light grayish blue in the blue family. In OKLCH it sits at lightness 0.814, chroma 0.043 and hue 255.0°.

Relative luminance
0.5398
OKLCH L · C · h
0.814 · 0.043 · 255.0
Best text
Black 11.79:1
Hue family
Blue

#B0C4DE color codes

HEX
#B0C4DE
RGB
rgb(176, 196, 222)
HSL
hsl(214, 41%, 78%)
OKLCH
oklch(0.814 0.043 255.0)
OKLab
oklab(0.814 -0.011 -0.041)
CIELAB (D65)
L* 78.45, a* -1.28, b* -15.21
XYZ (D65)
X 50.83, Y 53.98, Z 76.83
CMYK (naive)
cmyk(21%, 12%, 0%, 13%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

Legibility

Contrast: is #B0C4DE accessible?

Black text on it reaches 11.79:1, passing AAA. White text fails at 1.78:1.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    11.79:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc +71
  • White text on it

    1.78:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc −36
  • As text on black

    11.79:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc −69
  • As text on white

    1.78:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc +32

Nearest versions that pass 4.5:1

  • For text on white

    #65778F 4.57:1

    Darkening its OKLCH lightness from 0.81 to 0.56 reaches 4.57:1 on white, keeping the hue.

  • For text on black

    #B0C4DE 11.79:1

    It already reaches 11.79:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #B0C4DE live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #B0C4DE

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #B0C4DE sits at step 300.

  1. 50#EFF6FF
    White
    1.08
    Black
    19.29
  2. 100#DFEDFF
    White
    1.18
    Black
    17.69
  3. 200#C7D9F1
    White
    1.43
    Black
    14.62
  4. 300This color#B0C4DE
    White
    1.78
    Black
    11.79
  5. 400#90A3BC
    White
    2.57
    Black
    8.15
  6. 500#7588A0
    White
    3.62
    Black
    5.78
  7. 600#5E7088
    White
    5.06
    Black
    4.14
  8. 700#48596F
    White
    7.15
    Black
    2.93
  9. 800#324154
    White
    10.39
    Black
    2.01
  10. 900#1D2A3B
    White
    14.51
    Black
    1.44
  11. 950#0C1724
    White
    18.04
    Black
    1.16

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #B0C4DE can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.095; #B0C4DE uses 45% of it. Display P3, which many recent phones and laptops show, reaches 0.104 there: 9% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.043
sRGB edge
0.095
Display P3 edge
0.104
Rec. 2020 edge
0.105
Dominant wavelength
479 nm
Excitation purity
15%
Chromaticity
x 0.2798, y 0.2972
  • This color#B0C4DE
  • Most vivid in sRGB#98C5FF
  • Most vivid in Display P3oklch(0.814 0.104 255.0)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #b0c4de;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.6215 0.7684 1); }
}

Mixing

Mixing #B0C4DE

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#D8E2EF
  • OKLab50%#D7E1EF
  • OKLCH50%#D7E1EF

Black #000000

  • sRGB50%#58626F
  • OKLab50%#424A55
  • OKLCH50%#424A55

Its complement #D3BFA4

  • sRGB50%#C2C2C1
  • OKLab50%#C2C2C2
  • OKLCH50%#A9CBBB
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #b0c4de, white);
color: color-mix(in oklch, #b0c4de 50%, white);

In use

#B0C4DE in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:111.79:1 Passes
  • Link and body-size textText, 4.5:11.78:1 Fails
  • Large headingLarge text, 3:11.78:1 Fails
  • Icons, borders and focus ringsNon-text, 3:11.78:1 Fails

For text on this page, the nearest shade that passes is #65778F 4.57:1

Dark page

  • Button labelText, 4.5:111.79:1 Passes
  • Link and body-size textText, 4.5:110.52:1 Passes
  • Large headingLarge text, 3:110.52:1 Passes
  • Icons, borders and focus ringsNon-text, 3:110.52:1 Passes

Color vision

How #B0C4DE looks with color blindness

Tritanopia changes it most, ΔE2000 13.2; protanopia changes it least, 4.1.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #BBC5DF ΔE2000 4.1

    Close match

    Reads as pale grayish blue

  • Deuteranopia

    No working green (medium-wavelength) cones

    #B6C0DD ΔE2000 4.6

    Close match

    Reads as light grayish blue

  • Tritanopia

    No working blue (short-wavelength) cones

    #A4CACC ΔE2000 13.2

    Distinct

    Reads as light grayish cyan

  • Achromatopsia

    No cone color vision; lightness only

    #C2C2C2 ΔE2000 11.4

    Distinct

    Reads as light gray

Pairing check

Checked against its complement, #D3BFA4. Their lightness contrast is only 1.00:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#B0C4DE · #D3BFA423.8Stays distinct
Protanopia#BBC5DF · #C7BFA224.1Stays distinct
Deuteranopia#B6C0DD · #CCC4A525.9Stays distinct
Tritanopia#A4CACC · #DBBAB729.1Stays distinct
Achromatopsia#C2C2C2 · #C2C2C20.0Easily confused

Harmony

Color harmonies for #B0C4DE

Its complement is #D3BFA4, a light grayish amber, on the warm side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#B0C4DE
  • Complement#D3BFA4

Complementary

Open in Harmony Studio
  • −30°#A5C9D7
  • Base#B0C4DE
  • +30°#BFBFDD
  • Base#B0C4DE
  • +120°#DCB7B9
  • +240°#B6C9AD
  • Base#B0C4DE
  • +150°#DBBAAC
  • +210°#C6C4A5

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-lightsteelblue: #b0c4de;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        lightsteelblue: '#b0c4de',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-lightsteelblue: oklch(0.814 0.043 255.0);
}

Design token (W3C DTCG)

{
  "color": {
    "lightsteelblue": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.6902, 0.7686, 0.8706],
        "hex": "#b0c4de"
      },
      "$description": "CSS named color lightsteelblue"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let lightsteelblue = Color(.sRGB, red: 0.690, green: 0.769, blue: 0.871, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Lightsteelblue = Color(0xFFB0C4DE)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #B0C4DE in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.