Tailwind CSS v4 default palette
Tailwind cyan-950: #053345
In Tailwind CSS v4, cyan-950 is defined as --color-cyan-950: oklch(30.2% 0.056 229.695), which is #053345 in hex and rgb(5, 51, 69): a dark, muted sky blue. In Tailwind v3, cyan-950 was #083344.
In OKLCH, cyan-950 has a lightness of 30.2%, chroma 0.056 and hue 229.7°.
The value fits inside sRGB, so the hex #053345 represents it without loss on any screen.
In v3, cyan-950 was #083344. The v4 value is ΔE OK 0.2 away, below the point where most people can tell them apart.
Tailwind cyan is a bright aqua blue; its light shades are popular for informational backgrounds.
Color codes for cyan-950
| Tailwind v4 token | --color-cyan-950 |
|---|---|
| OKLCH (source value) | oklch(30.2% 0.056 229.695) |
| HEX | #053345 |
| RGB | rgb(5, 51, 69) |
| HSL | hsl(197, 86%, 15%) |
| HWB | hwb(197 2% 73%) |
| CMYK (naive, no ICC profile) | cmyk(93%, 26%, 0%, 73%) |
| Decimal | 340,805 |
| Tailwind v3 hex | #083344 |
| Utility classes | bg-cyan-950, text-cyan-950, border-cyan-950 |
Tailwind cyan scale
Contrast and accessibility
On cyan-950, white text has a contrast ratio of 13.41:1 and passes AAA at any text size; black text reaches 1.56: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 cyan-950 | 1.56:1 | Fail | Fail | Fail | Fail | 0.0 |
| White text on cyan-950 | 13.41:1 | Pass | Pass | Pass | Pass | −102.8 |
| Cyan-950 text on white | 13.41:1 | Pass | Pass | Pass | Pass | 99.6 |
| Cyan-950 text on black | 1.56:1 | Fail | Fail | Fail | Fail | 0.0 |
Tints and shades
Each step mixes var(--color-cyan-950) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-cyan-950), white 25%) in CSS.
Tints (mixed with white)
- 5%
#123d4e - 15%
#2b5261 - 25%
#446674 - 35%
#5d7a86 - 45%
#768f99 - 55%
#8fa3ab - 65%
#a8b8be - 75%
#c1ccd1 - 85%
#dae0e3 - 95%
#f3f5f6
Shades (mixed with black)
- 5%
#053042 - 15%
#042b3b - 25%
#042634 - 35%
#03212d - 45%
#031c26 - 55%
#02171f - 65%
#021218 - 75%
#010d11 - 85%
#01080a - 95%
#000303
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, cyan-950's complementary color is #452513 (close to maroon), its analogous colors are #003639 and #1D2E4A, and its triadic partners are #432232 and #30310A. For text on top, white gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #452513 |
| Analogous | −30°, +30° | #003639#1d2e4a |
| Triadic | +120°, +240° | #432232#30310a |
| Split-complementary | +150°, +210° | #462223#3d2b07 |
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 cyan-950 is a cool color: its hue is 197° 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 |
|---|---|---|
| darkslategray | #2f4f4f | 10.6 |
| midnightblue | #191970 | 11.0 |
| navy | #000080 | 14.8 |
Code snippets
<div class="bg-cyan-950 text-white">...</div>
<p class="text-cyan-950 border-cyan-950">...</p>.element {
color: var(--color-cyan-950);
background-color: oklch(30.2% 0.056 229.695);
border-color: #053345;
outline-color: rgb(5 51 69);
}import SwiftUI
extension Color {
static let cyan950 = Color(red: 0.020, green: 0.200, blue: 0.271)
}import androidx.compose.ui.graphics.Color
val Cyan950 = Color(0xFF053345)import 'package:flutter/material.dart';
const cyan950 = Color(0xFF053345);<!-- res/values/colors.xml -->
<color name="cyan_950">#053345</color>Frequently asked questions
- What is the hex code for Tailwind cyan-950?
- In Tailwind CSS v4, cyan-950 is oklch(30.2% 0.056 229.695), which converts to #053345 (rgb(5, 51, 69)) in sRGB. In Tailwind v3 the same name was #083344.
- What is the difference between cyan-950 in Tailwind v3 and v4?
- v3 used the hex #083344; v4 redefined the palette in OKLCH as oklch(30.2% 0.056 229.695). In v3, cyan-950 was #083344. The v4 value is ΔE OK 0.2 away, below the point where most people can tell them apart.
- How do I use cyan-950 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-cyan-950). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on cyan-950?
- White text on cyan-950 has a contrast ratio of 13.41:1, which passes both AA and AAA under WCAG 2.2. Black text reaches 1.56:1 and fails AA even for large text. In APCA terms that is Lc −102.8 for white and Lc 0.0 for black.
- Which CSS named color is closest to cyan-950?
- The closest is darkslategray (#2F4F4F) at ΔE OK 10.6, followed by midnightblue and navy.
Last reviewed by Arielton Oberek.