Tailwind CSS v3 color

Tailwind sky-200 #BAE6FD

Tailwind CSS v3's sky-200 is #BAE6FD. It is a pale muted blue in the blue family. In OKLCH it sits at lightness 0.901, chroma 0.055 and hue 230.9°. The nearest CSS named color is lightblue (#ADD8E6), ΔE2000 4.8 away.

Relative luminance
0.7412
OKLCH L · C · h
0.901 · 0.055 · 230.9
Best text
Black 15.82:1
Hue family
Blue

#BAE6FD color codes

HEX
#BAE6FD
RGB
rgb(186, 230, 253)
HSL
hsl(201, 94%, 86%)
OKLCH
oklch(0.901 0.055 230.9)
OKLab
oklab(0.901 -0.035 -0.043)
CIELAB (D65)
L* 88.98, a* -9.13, b* -15.79
XYZ (D65)
X 66.27, Y 74.12, Z 103.72
CMYK (naive)
cmyk(26%, 9%, 0%, 1%)

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 #BAE6FD accessible?

Black text on it reaches 15.82:1, passing AAA. White text fails at 1.32: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

    15.82:1

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

    1.32:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc −18

    Text is here, unreadable at 1.32:1

  • As text on black

    15.82:1

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

    1.32:1

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

    Text is here, unreadable at 1.32:1

Nearest versions that pass 4.5:1

  • For text on white

    #527B90 4.57:1

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

  • For text on black

    #BAE6FD 15.82:1

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

Checking another pair? Use the Contrast Checker.

Studio

Adjust #BAE6FD 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 #BAE6FD

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

  1. 50#EAF8FF
    White
    1.08
    Black
    19.36
  2. 100#D4F0FF
    White
    1.18
    Black
    17.70
  3. 200This color#BAE6FD
    White
    1.32
    Black
    15.82
  4. 300#9CC5DA
    White
    1.84
    Black
    11.41
  5. 400#7FA8BE
    White
    2.54
    Black
    8.24
  6. 500#638DA2
    White
    3.58
    Black
    5.86
  7. 600#4C7589
    White
    4.98
    Black
    4.21
  8. 700#375E71
    White
    6.99
    Black
    3.00
  9. 800#204556
    White
    10.25
    Black
    2.04
  10. 900#0B2D3C
    White
    14.43
    Black
    1.45
  11. 950#001925
    White
    18.01
    Black
    1.16

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

Tailwind CSS v3 sky scale

The real Tailwind palette, for comparison with the computed ramp above.

  1. 50#F0F9FF
    White
    1.06
    Black
    19.69
  2. 100#E0F2FE
    White
    1.14
    Black
    18.30
  3. 200This color#BAE6FD
    White
    1.32
    Black
    15.82
  4. 300#7DD3FC
    White
    1.66
    Black
    12.59
  5. 400#38BDF8
    White
    2.14
    Black
    9.80
  6. 500#0EA5E9
    White
    2.77
    Black
    7.57
  7. 600#0284C7
    White
    4.09
    Black
    5.12
  8. 700#0369A1
    White
    5.93
    Black
    3.53
  9. 800#075985
    White
    7.56
    Black
    2.77
  10. 900#0C4A6E
    White
    9.45
    Black
    2.22
  11. 950#082F49
    White
    13.87
    Black
    1.51

Gamut

How vivid #BAE6FD can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.059; #BAE6FD uses 94% of it. Display P3, which many recent phones and laptops show, reaches 0.065 there: 9% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.055
sRGB edge
0.059
Display P3 edge
0.065
Rec. 2020 edge
0.065
Dominant wavelength
484 nm
Excitation purity
17%
Chromaticity
x 0.2715, y 0.3036
  • This color#BAE6FD
  • Most vivid in sRGB#B7E6FF
  • Most vivid in Display P3oklch(0.901 0.065 230.9)

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

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

Mixing

Mixing #BAE6FD

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%#DDF3FE
  • OKLab50%#DDF3FE
  • OKLCH50%#DDF3FE

Black #000000

  • sRGB50%#5D737F
  • OKLab50%#465962
  • OKLCH50%#465962

Its complement #FED5BE

  • sRGB50%#DCDEDE
  • OKLab50%#DEDEDE
  • OKLCH50%#CBE8C6
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #bae6fd, white);
color: color-mix(in oklch, #bae6fd 50%, white);

In use

#BAE6FD 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:115.82:1 Passes
  • Link and body-size textText, 4.5:11.32:1 Fails
  • Large headingLarge text, 3:11.32:1 Fails
  • Icons, borders and focus ringsNon-text, 3:11.32:1 Fails

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

Dark page

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

Color vision

How #BAE6FD looks with color blindness

Achromatopsia changes it most, ΔE2000 14.2; tritanopia changes it least, 11.7.

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

    #DBE4FE ΔE2000 12.2

    Distinct

    Reads as pale grayish blue

  • Deuteranopia

    No working green (medium-wavelength) cones

    #D1DCFD ΔE2000 12.6

    Distinct

    Reads as pale grayish blue

  • Tritanopia

    No working blue (short-wavelength) cones

    #A6EDED ΔE2000 11.7

    Distinct

    Reads as pale muted cyan

  • Achromatopsia

    No cone color vision; lightness only

    #DFDFDF ΔE2000 14.2

    Distinct

    Reads as off-white

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#BAE6FD · #FED5BE31.7Stays distinct
Protanopia#DBE4FE · #E0D8BC23.4Stays distinct
Deuteranopia#D1DCFD · #EAE1BE27.9Stays distinct
Tritanopia#A6EDED · #FFCECF39.3Stays distinct
Achromatopsia#DFDFDF · #DDDDDD0.5Easily confused

Harmony

Color harmonies for #BAE6FD

Its complement is #FED5BE, a pale muted orange, 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#BAE6FD
  • Complement#FED5BE

Complementary

Open in Harmony Studio
  • −30°#B4EAEE
  • Base#BAE6FD
  • +30°#CDE0FF
  • Base#BAE6FD
  • +120°#FDD0E3
  • +240°#DFE3B9
  • Base#BAE6FD
  • +150°#FFD2D0
  • +210°#F2DBB6

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-sky-200: #bae6fd;
}

Tailwind config

// tailwind.config.js — already built in as sky-200;
// pin the v3 value explicitly like this:
module.exports = {
  theme: {
    extend: {
      colors: {
        sky: { 200: '#bae6fd' },
      },
    },
  },
};

Tailwind v4 theme

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

@theme {
  /* v4 has its own sky-200; this pins the v3 value. */
  --color-sky-200: oklch(0.901 0.055 230.9);
}

Design token (W3C DTCG)

{
  "color": {
    "sky-200": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.7294, 0.902, 0.9922],
        "hex": "#bae6fd"
      },
      "$description": "Tailwind CSS v3 sky-200"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let sky200 = Color(.sRGB, red: 0.729, green: 0.902, blue: 0.992, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Sky200 = Color(0xFFBAE6FD)
}

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 #BAE6FD in the tools

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