Tailwind CSS v3 color

Tailwind blue-300 #93C5FD

Tailwind CSS v3's blue-300 is #93C5FD. It is a light muted blue in the blue family. In OKLCH it sits at lightness 0.809, chroma 0.096 and hue 251.8°. The nearest CSS named color is lightskyblue (#87CEFA), ΔE2000 5.9 away.

Relative luminance
0.5323
OKLCH L · C · h
0.809 · 0.096 · 251.8
Best text
Black 11.64:1
Hue family
Blue

#93C5FD color codes

HEX
#93C5FD
RGB
rgb(147, 197, 253)
HSL
hsl(212, 96%, 78%)
OKLCH
oklch(0.809 0.096 251.8)
OKLab
oklab(0.809 -0.030 -0.091)
CIELAB (D65)
L* 78.01, a* -2.32, b* -32.69
XYZ (D65)
X 49.72, Y 53.22, Z 100.56
CMYK (naive)
cmyk(42%, 22%, 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 #93C5FD accessible?

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

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

    1.80:1

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

    11.64:1

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

    1.80:1

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

Nearest versions that pass 4.5:1

  • For text on white

    #4A79AC 4.54:1

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

  • For text on black

    #93C5FD 11.64:1

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

Checking another pair? Use the Contrast Checker.

Studio

Adjust #93C5FD 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 #93C5FD

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

  1. 50#EEF6FF
    White
    1.09
    Black
    19.26
  2. 100#DDEDFF
    White
    1.19
    Black
    17.63
  3. 200#BBDBFF
    White
    1.42
    Black
    14.68
  4. 300This color#93C5FD
    White
    1.80
    Black
    11.64
  5. 400#76A5DB
    White
    2.56
    Black
    8.17
  6. 500#5A8ABE
    White
    3.61
    Black
    5.81
  7. 600#4372A4
    White
    5.02
    Black
    4.18
  8. 700#2D5A8A
    White
    7.14
    Black
    2.94
  9. 800#17416C
    White
    10.45
    Black
    2.00
  10. 900#02294F
    White
    14.65
    Black
    1.43
  11. 950#001630
    White
    18.14
    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. 200#BFDBFE
    White
    1.42
    Black
    14.77
  4. 300This color#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 #93C5FD can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.099; #93C5FD uses 97% of it. Display P3, which many recent phones and laptops show, reaches 0.108 there: 9% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.096
sRGB edge
0.099
Display P3 edge
0.108
Rec. 2020 edge
0.109
Dominant wavelength
478 nm
Excitation purity
32%
Chromaticity
x 0.2443, y 0.2615
  • This color#93C5FD
  • Most vivid in sRGB#91C5FF
  • Most vivid in Display P3oklch(0.809 0.108 251.8)

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

Use the wider color where screens show it
.accent {
  color: #93c5fd;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.5983 0.7673 1); }
}

Mixing

Mixing #93C5FD

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

Black #000000

  • sRGB50%#4A637F
  • OKLab50%#364B62
  • OKLCH50%#364B62

Its complement #E7B77A

  • sRGB50%#BDBEBC
  • OKLab50%#C0C1C0
  • OKLCH50%#85D4AE
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #93c5fd, white);
color: color-mix(in oklch, #93c5fd 50%, white);

In use

#93C5FD 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.64:1 Passes
  • Link and body-size textText, 4.5:11.80:1 Fails
  • Large headingLarge text, 3:11.80:1 Fails
  • Icons, borders and focus ringsNon-text, 3:11.80:1 Fails

For text on this page, the nearest shade that passes is #4A79AC 4.54:1

Dark page

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

Color vision

How #93C5FD looks with color blindness

Tritanopia changes it most, ΔE2000 19.2; deuteranopia changes it least, 6.2.

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

    #AFC7FF ΔE2000 6.5

    Noticeable

    Reads as pale muted blue

  • Deuteranopia

    No working green (medium-wavelength) cones

    #A3BCFC ΔE2000 6.2

    Noticeable

    Reads as light muted blue

  • Tritanopia

    No working blue (short-wavelength) cones

    #6BD2D8 ΔE2000 19.2

    Distinct

    Reads as light muted cyan

  • Achromatopsia

    No cone color vision; lightness only

    #C1C1C1 ΔE2000 18.9

    Distinct

    Reads as light gray

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#93C5FD · #E7B77A40.3Stays distinct
Protanopia#AFC7FF · #C8B97542.2Stays distinct
Deuteranopia#A3BCFC · #D4C47B44.9Stays distinct
Tritanopia#6BD2D8 · #F7ABA843.9Stays distinct
Achromatopsia#C1C1C1 · #BFBFBF0.5Easily confused

Harmony

Color harmonies for #93C5FD

Its complement is #E7B77A, a light 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#93C5FD
  • Complement#E7B77A

Complementary

Open in Harmony Studio
  • −30°#75CFED
  • Base#93C5FD
  • +30°#B6BAFD
  • Base#93C5FD
  • +120°#F7A7B0
  • +240°#AACE8D
  • Base#93C5FD
  • +150°#F6AC90
  • +210°#CDC379

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-300: #93c5fd;
}

Tailwind config

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

Tailwind v4 theme

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

@theme {
  /* v4 has its own blue-300; this pins the v3 value. */
  --color-blue-300: oklch(0.809 0.096 251.8);
}

Design token (W3C DTCG)

{
  "color": {
    "blue-300": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.5765, 0.7725, 0.9922],
        "hex": "#93c5fd"
      },
      "$description": "Tailwind CSS v3 blue-300"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let blue300 = Color(.sRGB, red: 0.576, green: 0.773, blue: 0.992, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Blue300 = Color(0xFF93C5FD)
}

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

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