Skip to content

Tailwind CSS v4 default palette

Tailwind cyan-700: #007595

In Tailwind CSS v4, cyan-700 is defined as --color-cyan-700: oklch(52% 0.105 223.128), which is #007595 in hex and rgb(0, 117, 149): a medium-dark, moderately saturated sky blue. In Tailwind v3, cyan-700 was #0E7490.

cyan-700#007595

In OKLCH, cyan-700 has a lightness of 52.0%, chroma 0.105 and hue 223.1°.

This OKLCH value lies outside sRGB. The hex #007595 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.1641 0.4514 0.5706).

In v3, cyan-700 was #0E7490. The v4 value is ΔE OK 1.1 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-700

Color codes for cyan-700
Tailwind v4 token--color-cyan-700
OKLCH (source value)oklch(52% 0.105 223.128)
HEX#007595
RGBrgb(0, 117, 149)
HSLhsl(193, 100%, 29%)
HWBhwb(193 0% 42%)
CMYK (naive, no ICC profile)cmyk(100%, 21%, 0%, 42%)
Decimal30,101
Display P3color(display-p3 0.1641 0.4514 0.5706)
Tailwind v3 hex#0E7490
Utility classesbg-cyan-700, text-cyan-700, border-cyan-700

Tailwind cyan scale

Contrast and accessibility

On cyan-700, white text has a contrast ratio of 5.27:1 and passes AA for normal text; black text reaches 3.97: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-7003.97:1FailPassFailFail28.4
White text on cyan-7005.27:1PassPassFailPass−81.0
Cyan-700 text on white5.27:1PassPassFailPass75.6
Cyan-700 text on black3.97:1FailPassFailFail−26.1

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #0d7c9a
  2. 15%
    #268aa5
  3. 25%
    #4098b0
  4. 35%
    #59a5ba
  5. 45%
    #73b3c5
  6. 55%
    #8cc1cf
  7. 65%
    #a6cfda
  8. 75%
    #bfdde5
  9. 85%
    #d9eaef
  10. 95%
    #f2f8fa

Shades (mixed with black)

  1. 5%
    #006f8e
  2. 15%
    #00637f
  3. 25%
    #005870
  4. 35%
    #004c61
  5. 45%
    #004052
  6. 55%
    #003543
  7. 65%
    #002934
  8. 75%
    #001d25
  9. 85%
    #001216
  10. 95%
    #000607

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, cyan-700's complementary color is #9A5334 (close to sienna), its analogous colors are #007B7A and #396BA4, and its triadic partners are #924F79 and #746B0D. For text on top, white gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#9a5334
Analogous−30°, +30°#007b7a#396ba4
Triadic+120°, +240°#924f79#746b0d
Split-complementary+150°, +210°#9c4d57#8d5e10

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-700 is a cool color: its hue is 193° 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
teal#0080805.5
darkcyan#008b8b7.6
steelblue#4682b47.9

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
sky-700#0069a85.4
teal-700#00786f6.5
cyan-800#005f787.3

Code snippets

Tailwind CSS
<div class="bg-cyan-700 text-white">...</div>
<p class="text-cyan-700 border-cyan-700">...</p>
CSS
.element {
  color: var(--color-cyan-700);
  background-color: oklch(52% 0.105 223.128);
  border-color: #007595;
  outline-color: rgb(0 117 149);
}
SwiftUI
import SwiftUI

extension Color {
  static let cyan700 = Color(red: 0.000, green: 0.459, blue: 0.584)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const cyan700 = Color(0xFF007595);
Android XML
<!-- res/values/colors.xml -->
<color name="cyan_700">#007595</color>

Frequently asked questions

What is the hex code for Tailwind cyan-700?
In Tailwind CSS v4, cyan-700 is oklch(52% 0.105 223.128), which converts to #007595 (rgb(0, 117, 149)) in sRGB after gamut mapping, because the OKLCH value is outside sRGB. In Tailwind v3 the same name was #0E7490.
What is the difference between cyan-700 in Tailwind v3 and v4?
v3 used the hex #0E7490; v4 redefined the palette in OKLCH as oklch(52% 0.105 223.128). In v3, cyan-700 was #0E7490. The v4 value is ΔE OK 1.1 away, below the point where most people can tell them apart; v4 is more saturated.
How do I use cyan-700 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-cyan-700). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on cyan-700?
White text on cyan-700 has a contrast ratio of 5.27:1, which passes AA for normal text but not AAA under WCAG 2.2. Black text reaches 3.97:1 and passes AA only for large text (24 px, or 18.66 px bold, and up). In APCA terms that is Lc −81.0 for white and Lc 28.4 for black.
Which CSS named color is closest to cyan-700?
The closest is teal (#008080) at ΔE OK 5.5, followed by darkcyan and steelblue.

Last reviewed by Arielton Oberek.