Tailwind CSS v4 default palette
Tailwind sky-700: #0069A8
In Tailwind CSS v4, sky-700 is defined as --color-sky-700: oklch(50% 0.134 242.749), which is #0069A8 in hex and rgb(0, 105, 168): a medium-dark, moderately saturated sky blue. In Tailwind v3, sky-700 was #0369A1.
In OKLCH, sky-700 has a lightness of 50.0%, chroma 0.134 and hue 242.7°.
This OKLCH value lies outside sRGB. The hex #0069A8 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.1303 0.4046 0.6408).
In v3, sky-700 was #0369A1. The v4 value is ΔE OK 1.5 away, below the point where most people can tell them apart; v4 is more saturated.
Tailwind sky is a light, clear blue between cyan and blue. In v2.2 it replaced the older lightBlue name.
Color codes for sky-700
| Tailwind v4 token | --color-sky-700 |
|---|---|
| OKLCH (source value) | oklch(50% 0.134 242.749) |
| HEX | #0069A8 |
| RGB | rgb(0, 105, 168) |
| HSL | hsl(203, 100%, 33%) |
| HWB | hwb(203 0% 34%) |
| CMYK (naive, no ICC profile) | cmyk(100%, 38%, 0%, 34%) |
| Decimal | 27,048 |
| Display P3 | color(display-p3 0.1303 0.4046 0.6408) |
| Tailwind v3 hex | #0369A1 |
| Utility classes | bg-sky-700, text-sky-700, border-sky-700 |
Tailwind sky scale
Contrast and accessibility
On sky-700, white text has a contrast ratio of 5.85:1 and passes AA for normal text; black text reaches 3.58: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-700 | 3.58:1 | Fail | Pass | Fail | Fail | 25.4 |
| White text on sky-700 | 5.85:1 | Pass | Pass | Fail | Pass | −83.9 |
| Sky-700 text on white | 5.85:1 | Pass | Pass | Fail | Pass | 78.6 |
| Sky-700 text on black | 3.58:1 | Fail | Pass | Fail | Fail | −23.1 |
Tints and shades
Each step mixes var(--color-sky-700) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-sky-700), white 25%) in CSS.
Tints (mixed with white)
- 5%
#0d71ac - 15%
#2680b5 - 25%
#408fbe - 35%
#599ec6 - 45%
#73adcf - 55%
#8cbcd8 - 65%
#a6cbe1 - 75%
#bfdae9 - 85%
#d9e9f2 - 95%
#f2f8fb
Shades (mixed with black)
- 5%
#0064a0 - 15%
#00598f - 25%
#004f7e - 35%
#00446d - 45%
#003a5c - 55%
#002f4c - 65%
#00253b - 75%
#001a2a - 85%
#001019 - 95%
#000508
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, sky-700's complementary color is #974D00 (close to saddlebrown), its analogous colors are #007287 and #4B5AAF, and its triadic partners are #9E3C5C and #566E00. For text on top, white gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #974d00 |
| Analogous | −30°, +30° | #007287#4b5aaf |
| Triadic | +120°, +240° | #9e3c5c#566e00 |
| Split-complementary | +150°, +210° | #a1402d#7b6000 |
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-700 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.
Code snippets
<div class="bg-sky-700 text-white">...</div>
<p class="text-sky-700 border-sky-700">...</p>.element {
color: var(--color-sky-700);
background-color: oklch(50% 0.134 242.749);
border-color: #0069a8;
outline-color: rgb(0 105 168);
}import SwiftUI
extension Color {
static let sky700 = Color(red: 0.000, green: 0.412, blue: 0.659)
}import androidx.compose.ui.graphics.Color
val Sky700 = Color(0xFF0069A8)import 'package:flutter/material.dart';
const sky700 = Color(0xFF0069A8);<!-- res/values/colors.xml -->
<color name="sky_700">#0069A8</color>Frequently asked questions
- What is the hex code for Tailwind sky-700?
- In Tailwind CSS v4, sky-700 is oklch(50% 0.134 242.749), which converts to #0069A8 (rgb(0, 105, 168)) in sRGB after gamut mapping, because the OKLCH value is outside sRGB. In Tailwind v3 the same name was #0369A1.
- What is the difference between sky-700 in Tailwind v3 and v4?
- v3 used the hex #0369A1; v4 redefined the palette in OKLCH as oklch(50% 0.134 242.749). In v3, sky-700 was #0369A1. 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 sky-700 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-sky-700). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on sky-700?
- White text on sky-700 has a contrast ratio of 5.85:1, which passes AA for normal text but not AAA under WCAG 2.2. Black text reaches 3.58:1 and passes AA only for large text (24 px, or 18.66 px bold, and up). In APCA terms that is Lc −83.9 for white and Lc 25.4 for black.
- Which CSS named color is closest to sky-700?
- The closest is steelblue (#4682B4) at ΔE OK 9.5, followed by royalblue and teal.
Last reviewed by Arielton Oberek.