Tailwind CSS v3 color

Tailwind blue-200 #BFDBFE

Tailwind CSS v3's blue-200 is #BFDBFE. It is a pale muted blue in the blue family. In OKLCH it sits at lightness 0.882, chroma 0.057 and hue 254.1°. The nearest CSS named color is lightsteelblue (#B0C4DE), ΔE2000 6.1 away.

Relative luminance
0.6890
OKLCH L · C · h
0.882 · 0.057 · 254.1
Best text
Black 14.77:1
Hue family
Blue

#BFDBFE color codes

HEX
#BFDBFE
RGB
rgb(191, 219, 254)
HSL
hsl(213, 97%, 87%)
OKLCH
oklch(0.882 0.057 254.1)
OKLab
oklab(0.882 -0.016 -0.055)
CIELAB (D65)
L* 86.45, a* -1.76, b* -20.09
XYZ (D65)
X 64.70, Y 68.89, Z 103.64
CMYK (naive)
cmyk(25%, 14%, 0%, 0%)

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

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

    14.77:1

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

    1.42:1

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

    Text is here, unreadable at 1.42:1

  • As text on black

    14.77:1

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

    1.42:1

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

    Text is here, unreadable at 1.42:1

Nearest versions that pass 4.5:1

  • For text on white

    #5E7796 4.61:1

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

  • For text on black

    #BFDBFE 14.77:1

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

Checking another pair? Use the Contrast Checker.

Studio

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

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

  1. 50#EFF6FF
    White
    1.08
    Black
    19.29
  2. 100#DEEDFF
    White
    1.18
    Black
    17.66
  3. 200This color#BFDBFE
    White
    1.42
    Black
    14.77
  4. 300#A7C0E0
    White
    1.86
    Black
    11.25
  5. 400#8AA4C4
    White
    2.56
    Black
    8.18
  6. 500#6F88A8
    White
    3.64
    Black
    5.76
  7. 600#58718F
    White
    5.03
    Black
    4.17
  8. 700#425A77
    White
    7.09
    Black
    2.96
  9. 800#2C415B
    White
    10.42
    Black
    2.01
  10. 900#172A40
    White
    14.56
    Black
    1.44
  11. 950#071629
    White
    18.16
    Black
    1.15

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

Tailwind CSS v3 blue scale

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

  1. 50#EFF6FF
    White
    1.08
    Black
    19.29
  2. 100#DBEAFE
    White
    1.22
    Black
    17.21
  3. 200This color#BFDBFE
    White
    1.42
    Black
    14.77
  4. 300#93C5FD
    White
    1.80
    Black
    11.64
  5. 400#60A5FA
    White
    2.54
    Black
    8.25
  6. 500#3B82F6
    White
    3.67
    Black
    5.70
  7. 600#2563EB
    White
    5.16
    Black
    4.06
  8. 700#1D4ED8
    White
    6.70
    Black
    3.13
  9. 800#1E40AF
    White
    8.72
    Black
    2.40
  10. 900#1E3A8A
    White
    10.35
    Black
    2.02
  11. 950#172554
    White
    14.69
    Black
    1.42

Gamut

How vivid #BFDBFE can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.059; #BFDBFE uses 97% of it. Display P3, which many recent phones and laptops show, reaches 0.064 there: 10% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.057
sRGB edge
0.059
Display P3 edge
0.064
Rec. 2020 edge
0.065
Dominant wavelength
479 nm
Excitation purity
18%
Chromaticity
x 0.2727, y 0.2904
  • This color#BFDBFE
  • Most vivid in sRGB#BEDBFF
  • Most vivid in Display P3oklch(0.882 0.064 254.1)

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

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

Mixing

Mixing #BFDBFE

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

Black #000000

  • sRGB50%#606E7F
  • OKLab50%#485463
  • OKLCH50%#485463

Its complement #EFD3AF

  • sRGB50%#D7D7D7
  • OKLab50%#D8D8D8
  • OKLCH50%#F4CAE1
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #bfdbfe, white);
color: color-mix(in oklch, #bfdbfe 50%, white);

In use

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

For text on this page, the nearest shade that passes is #5E7796 4.61:1

Dark page

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

Color vision

How #BFDBFE looks with color blindness

Tritanopia changes it most, ΔE2000 15.4; deuteranopia changes it least, 5.3.

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

    #CFDCFF ΔE2000 5.3

    Noticeable

    Reads as pale muted blue

  • Deuteranopia

    No working green (medium-wavelength) cones

    #C8D6FD ΔE2000 5.3

    Noticeable

    Reads as pale muted blue

  • Tritanopia

    No working blue (short-wavelength) cones

    #AEE3E6 ΔE2000 15.4

    Distinct

    Reads as pale muted cyan

  • Achromatopsia

    No cone color vision; lightness only

    #D8D8D8 ΔE2000 13.9

    Distinct

    Reads as light gray

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#BFDBFE · #EFD3AF29.0Stays distinct
Protanopia#CFDCFF · #DED3AD29.4Stays distinct
Deuteranopia#C8D6FD · #E5DAB031.6Stays distinct
Tritanopia#AEE3E6 · #FACCC935.4Stays distinct
Achromatopsia#D8D8D8 · #D7D7D70.2Easily confused

Harmony

Color harmonies for #BFDBFE

Its complement is #EFD3AF, 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#BFDBFE
  • Complement#EFD3AF

Complementary

Open in Harmony Studio
  • −30°#B0E1F5
  • Base#BFDBFE
  • +30°#D3D4FD
  • Base#BFDBFE
  • +120°#FCCACD
  • +240°#C9E1BB
  • Base#BFDBFE
  • +150°#FACDBA
  • +210°#DEDBB0

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-blue-200: #bfdbfe;
}

Tailwind config

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

Tailwind v4 theme

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

@theme {
  /* v4 has its own blue-200; this pins the v3 value. */
  --color-blue-200: oklch(0.882 0.057 254.1);
}

Design token (W3C DTCG)

{
  "color": {
    "blue-200": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.749, 0.8588, 0.9961],
        "hex": "#bfdbfe"
      },
      "$description": "Tailwind CSS v3 blue-200"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let blue200 = Color(.sRGB, red: 0.749, green: 0.859, blue: 0.996, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Blue200 = Color(0xFFBFDBFE)
}

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

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