Tailwind CSS v4 default palette
Tailwind sky-950: #052F4A
In Tailwind CSS v4, sky-950 is defined as --color-sky-950: oklch(29.3% 0.066 243.157), which is #052F4A in hex and rgb(5, 47, 74): a very dark, muted sky blue. In Tailwind v3, sky-950 was #082F49.
In OKLCH, sky-950 has a lightness of 29.3%, chroma 0.066 and hue 243.2°.
The value fits inside sRGB, so the hex #052F4A represents it without loss on any screen.
In v3, sky-950 was #082F49. The v4 value is ΔE OK 0.3 away, below the point where most people can tell them apart.
Tailwind sky is a light, clear blue between cyan and blue. In v2.2 it replaced the older lightBlue name.
Color codes for sky-950
| Tailwind v4 token | --color-sky-950 |
|---|---|
| OKLCH (source value) | oklch(29.3% 0.066 243.157) |
| HEX | #052F4A |
| RGB | rgb(5, 47, 74) |
| HSL | hsl(203, 87%, 15%) |
| HWB | hwb(203 2% 71%) |
| CMYK (naive, no ICC profile) | cmyk(93%, 36%, 0%, 71%) |
| Decimal | 339,786 |
| Tailwind v3 hex | #082F49 |
| Utility classes | bg-sky-950, text-sky-950, border-sky-950 |
Tailwind sky scale
Contrast and accessibility
On sky-950, white text has a contrast ratio of 13.88:1 and passes AAA at any text size; black text reaches 1.51:1.
WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on sky-950 | 1.51:1 | Fail | Fail | Fail | Fail | 0.0 |
| White text on sky-950 | 13.88:1 | Pass | Pass | Pass | Pass | −103.3 |
| Sky-950 text on white | 13.88:1 | Pass | Pass | Pass | Pass | 100.2 |
| Sky-950 text on black | 1.51:1 | Fail | Fail | Fail | Fail | 0.0 |
Tints and shades
Each step mixes var(--color-sky-950) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-sky-950), white 25%) in CSS.
Tints (mixed with white)
- 5%
#123953 - 15%
#2b4e65 - 25%
#446377 - 35%
#5d7889 - 45%
#768d9b - 55%
#8fa1ae - 65%
#a8b6c0 - 75%
#c1cbd2 - 85%
#dae0e4 - 95%
#f3f5f6
Shades (mixed with black)
- 5%
#052d46 - 15%
#04283f - 25%
#042338 - 35%
#031f30 - 45%
#031a29 - 55%
#021521 - 65%
#02101a - 75%
#010c13 - 85%
#01070b - 95%
#000204
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, sky-950's complementary color is #432301 (close to maroon), its analogous colors are #003440 and #22294D, and its triadic partners are #461C29 and #263105. For text on top, white gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #432301 |
| Analogous | −30°, +30° | #003440#22294d |
| Triadic | +120°, +240° | #461c29#263105 |
| Split-complementary | +150°, +210° | #471e15#372b00 |
Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.
Warm or cool?
Tailwind sky-950 is a cool color: its hue is 203° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.
Nearest named and Tailwind colors
Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.
Nearest CSS named colors
| Color | HEX | ΔE OK |
|---|---|---|
| midnightblue | #191970 | 9.2 |
| darkslategray | #2f4f4f | 12.0 |
| navy | #000080 | 13.0 |
Code snippets
<div class="bg-sky-950 text-white">...</div>
<p class="text-sky-950 border-sky-950">...</p>.element {
color: var(--color-sky-950);
background-color: oklch(29.3% 0.066 243.157);
border-color: #052f4a;
outline-color: rgb(5 47 74);
}import SwiftUI
extension Color {
static let sky950 = Color(red: 0.020, green: 0.184, blue: 0.290)
}import androidx.compose.ui.graphics.Color
val Sky950 = Color(0xFF052F4A)import 'package:flutter/material.dart';
const sky950 = Color(0xFF052F4A);<!-- res/values/colors.xml -->
<color name="sky_950">#052F4A</color>Frequently asked questions
- What is the hex code for Tailwind sky-950?
- In Tailwind CSS v4, sky-950 is oklch(29.3% 0.066 243.157), which converts to #052F4A (rgb(5, 47, 74)) in sRGB. In Tailwind v3 the same name was #082F49.
- What is the difference between sky-950 in Tailwind v3 and v4?
- v3 used the hex #082F49; v4 redefined the palette in OKLCH as oklch(29.3% 0.066 243.157). In v3, sky-950 was #082F49. The v4 value is ΔE OK 0.3 away, below the point where most people can tell them apart.
- How do I use sky-950 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-sky-950). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on sky-950?
- White text on sky-950 has a contrast ratio of 13.88:1, which passes both AA and AAA under WCAG 2.2. Black text reaches 1.51:1 and fails AA even for large text. In APCA terms that is Lc −103.3 for white and Lc 0.0 for black.
- Which CSS named color is closest to sky-950?
- The closest is midnightblue (#191970) at ΔE OK 9.2, followed by darkslategray and navy.
Last reviewed by Arielton Oberek.