Tailwind CSS v3 color

Tailwind cyan-200 #A5F3FC

Tailwind CSS v3's cyan-200 is #A5F3FC. It is a pale muted cyan in the cyan family. In OKLCH it sits at lightness 0.917, chroma 0.077 and hue 205.0°. The nearest CSS named color is paleturquoise (#AFEEEE), ΔE2000 3.7 away.

Relative luminance
0.7913
OKLCH L · C · h
0.917 · 0.077 · 205.0
Best text
Black 16.82:1
Hue family
Cyan

#A5F3FC color codes

HEX
#A5F3FC
RGB
rgb(165, 243, 252)
HSL
hsl(186, 94%, 82%)
OKLCH
oklch(0.917 0.077 205.0)
OKLab
oklab(0.917 -0.070 -0.033)
CIELAB (D65)
L* 91.29, a* -21.65, b* -11.93
XYZ (D65)
X 65.13, Y 79.12, Z 103.92
CMYK (naive)
cmyk(35%, 4%, 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 #A5F3FC accessible?

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

    16.82:1

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

    1.24:1

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

    Text is here, unreadable at 1.24:1

  • As text on black

    16.82:1

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

    1.24:1

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

    Text is here, unreadable at 1.24:1

Nearest versions that pass 4.5:1

  • For text on white

    #318089 4.58:1

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

  • For text on black

    #A5F3FC 16.82:1

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

Checking another pair? Use the Contrast Checker.

Studio

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

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

  1. 50#DEFCFF
    White
    1.07
    Black
    19.47
  2. 100This color#A5F3FC
    White
    1.24
    Black
    16.82
  3. 200#A2E5ED
    White
    1.40
    Black
    14.96
  4. 300#84CCD4
    White
    1.81
    Black
    11.56
  5. 400#64AFB8
    White
    2.51
    Black
    8.36
  6. 500#46949C
    White
    3.51
    Black
    5.97
  7. 600#2C7B84
    White
    4.91
    Black
    4.27
  8. 700#0E646C
    White
    6.86
    Black
    3.05
  9. 800#004950
    White
    10.15
    Black
    2.06
  10. 900#002F34
    White
    14.42
    Black
    1.45
  11. 950#001A1D
    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 cyan scale

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

  1. 50#ECFEFF
    White
    1.04
    Black
    20.18
  2. 100#CFFAFE
    White
    1.11
    Black
    18.75
  3. 200This color#A5F3FC
    White
    1.24
    Black
    16.82
  4. 300#67E8F9
    White
    1.44
    Black
    14.48
  5. 400#22D3EE
    White
    1.80
    Black
    11.62
  6. 500#06B6D4
    White
    2.42
    Black
    8.64
  7. 600#0891B2
    White
    3.68
    Black
    5.70
  8. 700#0E7490
    White
    5.35
    Black
    3.91
  9. 800#155E75
    White
    7.26
    Black
    2.88
  10. 900#164E63
    White
    9.11
    Black
    2.30
  11. 950#083344
    White
    13.39
    Black
    1.56

Gamut

How vivid #A5F3FC can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.087; #A5F3FC uses 89% of it. Display P3, which many recent phones and laptops show, reaches 0.094 there: 8% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.077
sRGB edge
0.087
Display P3 edge
0.094
Rec. 2020 edge
0.094
Dominant wavelength
489 nm
Excitation purity
19%
Chromaticity
x 0.2624, y 0.3188
  • This color#A5F3FC
  • Most vivid in sRGB#9BF5FF
  • Most vivid in Display P3oklch(0.917 0.094 205.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: #a5f3fc;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.6703 0.9551 1); }
}

Mixing

Mixing #A5F3FC

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

Black #000000

  • sRGB50%#537A7E
  • OKLab50%#3D5E62
  • OKLCH50%#3D5E62

Its complement #FFD9D5

  • sRGB50%#D2E6E9
  • OKLab50%#D7E7E9
  • OKLCH50%#E1E9BB
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #a5f3fc, white);
color: color-mix(in oklch, #a5f3fc 50%, white);

In use

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

For text on this page, the nearest shade that passes is #318089 4.58:1

Dark page

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

Color vision

How #A5F3FC looks with color blindness

Deuteranopia changes it most, ΔE2000 20.2; tritanopia changes it least, 7.0.

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

    #E7EDFD ΔE2000 19.5

    Distinct

    Reads as pale grayish blue

  • Deuteranopia

    No working green (medium-wavelength) cones

    #D8E1FC ΔE2000 20.2

    Distinct

    Reads as pale grayish blue

  • Tritanopia

    No working blue (short-wavelength) cones

    #84F9F5 ΔE2000 7.0

    Noticeable

    Reads as pale soft cyan

  • Achromatopsia

    No cone color vision; lightness only

    #E6E6E6 ΔE2000 19.2

    Distinct

    Reads as off-white

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#A5F3FC · #FFD9D544.0Stays distinct
Protanopia#E7EDFD · #E0DDD511.9Stays distinct
Deuteranopia#D8E1FC · #E9E4D518.6Stays distinct
Tritanopia#84F9F5 · #FFD5D841.1Stays distinct
Achromatopsia#E6E6E6 · #E2E2E20.9Easily confused

Harmony

Color harmonies for #A5F3FC

Its complement is #FFD9D5, a pale grayish red, 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#A5F3FC
  • Complement#FFD9D5

Complementary

Open in Harmony Studio
  • −30°#ADF5E1
  • Base#A5F3FC
  • +30°#C6E9FF
  • Base#A5F3FC
  • +120°#FDD3FF
  • +240°#FBE0A9
  • Base#A5F3FC
  • +150°#FFD7E5
  • +210°#FFDBC4

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-cyan-200: #a5f3fc;
}

Tailwind config

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

Tailwind v4 theme

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

@theme {
  /* v4 has its own cyan-200; this pins the v3 value. */
  --color-cyan-200: oklch(0.917 0.077 205.0);
}

Design token (W3C DTCG)

{
  "color": {
    "cyan-200": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.6471, 0.9529, 0.9882],
        "hex": "#a5f3fc"
      },
      "$description": "Tailwind CSS v3 cyan-200"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let cyan200 = Color(.sRGB, red: 0.647, green: 0.953, blue: 0.988, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Cyan200 = Color(0xFFA5F3FC)
}

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

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