Skip to content

Tailwind CSS v4 default palette

Tailwind cyan-600: #0092B8

In Tailwind CSS v4, cyan-600 is defined as --color-cyan-600: oklch(60.9% 0.126 221.723), which is #0092B8 in hex and rgb(0, 146, 184): a medium, moderately saturated sky blue. In Tailwind v3, cyan-600 was #0891B2.

cyan-600#0092B8

In OKLCH, cyan-600 has a lightness of 60.9%, chroma 0.126 and hue 221.7°.

This OKLCH value lies outside sRGB. The hex #0092B8 is the sRGB fallback from the CSS Color 4 gamut mapping algorithm; on Display P3 screens browsers show a more saturated color, close to color(display-p3 0.1932 0.5647 0.7072).

In v3, cyan-600 was #0891B2. The v4 value is ΔE OK 1.5 away, below the point where most people can tell them apart; v4 is more saturated.

Tailwind cyan is a bright aqua blue; its light shades are popular for informational backgrounds.

Color codes for cyan-600

Color codes for cyan-600
Tailwind v4 token--color-cyan-600
OKLCH (source value)oklch(60.9% 0.126 221.723)
HEX#0092B8
RGBrgb(0, 146, 184)
HSLhsl(192, 100%, 36%)
HWBhwb(192 0% 28%)
CMYK (naive, no ICC profile)cmyk(100%, 21%, 0%, 28%)
Decimal37,560
Display P3color(display-p3 0.1932 0.5647 0.7072)
Tailwind v3 hex#0891B2
Utility classesbg-cyan-600, text-cyan-600, border-cyan-600

Tailwind cyan scale

Contrast and accessibility

On cyan-600, black text has a contrast ratio of 5.80:1 and passes AA for normal text; white text reaches 3.61: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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on cyan-6005.80:1PassPassFailPass40.9
White text on cyan-6003.61:1FailPassFailFail−68.6
Cyan-600 text on white3.61:1FailPassFailFail63.1
Cyan-600 text on black5.80:1PassPassFailPass−38.5

Tints and shades

Each step mixes var(--color-cyan-600) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-cyan-600), white 25%) in CSS.

Tints (mixed with white)

  1. 5%
    #0d97bc
  2. 15%
    #26a2c3
  3. 25%
    #40adca
  4. 35%
    #59b8d1
  5. 45%
    #73c3d8
  6. 55%
    #8ccedf
  7. 65%
    #a6d9e6
  8. 75%
    #bfe4ed
  9. 85%
    #d9eff4
  10. 95%
    #f2fafb

Shades (mixed with black)

  1. 5%
    #008baf
  2. 15%
    #007c9c
  3. 25%
    #006e8a
  4. 35%
    #005f78
  5. 45%
    #005065
  6. 55%
    #004253
  7. 65%
    #003340
  8. 75%
    #00252e
  9. 85%
    #00161c
  10. 95%
    #000709

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, cyan-600's complementary color is #C16642 (close to chocolate), its analogous colors are #009996 and #4486CC, and its triadic partners are #B56298 and #938506. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#c16642
Analogous−30°, +30°#009996#4486cc
Triadic+120°, +240°#b56298#938506
Split-complementary+150°, +210°#c2606f#b17411

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-600 is a cool color: its hue is 192° 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

Nearest CSS named colors
ColorHEXΔE OK
steelblue#4682b45.8
darkcyan#008b8b6.7
cadetblue#5f9ea08.6

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
sky-600#0084d16.3
teal-600#0096897.8
cyan-700#0075959.1

Code snippets

Tailwind CSS
<div class="bg-cyan-600 text-black">...</div>
<p class="text-cyan-600 border-cyan-600">...</p>
CSS
.element {
  color: var(--color-cyan-600);
  background-color: oklch(60.9% 0.126 221.723);
  border-color: #0092b8;
  outline-color: rgb(0 146 184);
}
SwiftUI
import SwiftUI

extension Color {
  static let cyan600 = Color(red: 0.000, green: 0.573, blue: 0.722)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Cyan600 = Color(0xFF0092B8)
Flutter
import 'package:flutter/material.dart';

const cyan600 = Color(0xFF0092B8);
Android XML
<!-- res/values/colors.xml -->
<color name="cyan_600">#0092B8</color>

Frequently asked questions

What is the hex code for Tailwind cyan-600?
In Tailwind CSS v4, cyan-600 is oklch(60.9% 0.126 221.723), which converts to #0092B8 (rgb(0, 146, 184)) in sRGB after gamut mapping, because the OKLCH value is outside sRGB. In Tailwind v3 the same name was #0891B2.
What is the difference between cyan-600 in Tailwind v3 and v4?
v3 used the hex #0891B2; v4 redefined the palette in OKLCH as oklch(60.9% 0.126 221.723). In v3, cyan-600 was #0891B2. The v4 value is ΔE OK 1.5 away, below the point where most people can tell them apart; v4 is more saturated.
How do I use cyan-600 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-cyan-600). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on cyan-600?
White text on cyan-600 has a contrast ratio of 3.61:1, which passes AA only for large text (24 px, or 18.66 px bold, and up) under WCAG 2.2. Black text reaches 5.80:1 and passes AA for normal text but not AAA. In APCA terms that is Lc −68.6 for white and Lc 40.9 for black.
Which CSS named color is closest to cyan-600?
The closest is steelblue (#4682B4) at ΔE OK 5.8, followed by darkcyan and cadetblue.

Last reviewed by Arielton Oberek.