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.
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.
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.
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.
- 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.
.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
/* 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.
| Vision | The pair | ΔE2000 | Verdict |
|---|---|---|---|
| Normal vision | #93C5FD · #E7B77A | 40.3 | Stays distinct |
| Protanopia | #AFC7FF · #C8B975 | 42.2 | Stays distinct |
| Deuteranopia | #A3BCFC · #D4C47B | 44.9 | Stays distinct |
| Tritanopia | #6BD2D8 · #F7ABA8 | 43.9 | Stays distinct |
| Achromatopsia | #C1C1C1 · #BFBFBF | 0.5 | Easily 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
Analogous
Open in Harmony Studio- Base#93C5FD
- +120°#F7A7B0
- +240°#AACE8D
Triadic
Open in Harmony Studio- Base#93C5FD
- +150°#F6AC90
- +210°#CDC379
Split-complementary
Open in Harmony StudioCode
Design tokens
Ready-to-paste tokens in six formats. Rename them to fit your system.
:root {
--color-blue-300: #93c5fd;
}
// tailwind.config.js — already built in as blue-300;
// pin the v3 value explicitly like this:
module.exports = {
theme: {
extend: {
colors: {
blue: { 300: '#93c5fd' },
},
},
},
};
/* 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);
}
{
"color": {
"blue-300": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.5765, 0.7725, 0.9922],
"hex": "#93c5fd"
},
"$description": "Tailwind CSS v3 blue-300"
}
}
}
import SwiftUI
enum Palette {
static let blue300 = Color(.sRGB, red: 0.576, green: 0.773, blue: 0.992, opacity: 1)
}
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.
- Color InspectorEvery format, its names, contrast and color vision in one panel.
- Contrast SystemBlack and white text on this color, with fixes in both directions.
- Harmony StudioPalettes built from this color, walked to a contrast target if you ask.
- Color Space ConverterThe same color in 34 notations, with its gamut headroom.
- Color Name FinderThe nearest of 1,055 color names by ΔE2000.