CSS named color
DeepSkyBlue #00BFFF
DeepSkyBlue (CSS keyword deepskyblue) has the hex code #00BFFF and the RGB value rgb(0, 191, 255): a light, vivid sky blue.
A fully saturated sky blue with red at zero. It is one of the brightest blues in the list, too light for text on white but vivid as a fill.
Color codes for DeepSkyBlue
| CSS keyword | deepskyblue |
|---|---|
| HEX | #00BFFF |
| RGB | rgb(0, 191, 255) |
| HSL | hsl(195, 100%, 50%) |
| HWB | hwb(195 0% 0%) |
| OKLCH | oklch(75.5% 0.153 231.6) |
| CMYK (naive, no ICC profile) | cmyk(100%, 25%, 0%, 0%) |
| Decimal | 49,151 |
| Hue family | Blues |
Contrast and accessibility
On deepskyblue, black text has a contrast ratio of 9.89:1 and passes AAA at any text size; white text reaches 2.12: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 deepskyblue | 9.89:1 | Pass | Pass | Pass | Pass | 63.1 |
| White text on deepskyblue | 2.12:1 | Fail | Fail | Fail | Fail | −45.5 |
| Deepskyblue text on white | 2.12:1 | Fail | Fail | Fail | Fail | 40.9 |
| Deepskyblue text on black | 9.89:1 | Pass | Pass | Pass | Pass | −61.4 |
Tints and shades
Each step mixes deepskyblue with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, deepskyblue, white 25%) in CSS.
Tints (mixed with white)
- 5%
#0dc2ff - 15%
#26c9ff - 25%
#40cfff - 35%
#59d5ff - 45%
#73dcff - 55%
#8ce2ff - 65%
#a6e9ff - 75%
#bfefff - 85%
#d9f5ff - 95%
#f2fcff
Shades (mixed with black)
- 5%
#00b5f2 - 15%
#00a2d9 - 25%
#008fbf - 35%
#007ca6 - 45%
#00698c - 55%
#005673 - 65%
#004359 - 75%
#003040 - 85%
#001d26 - 95%
#000a0d
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, deepskyblue's complementary color is #FA904A (close to darkorange), its analogous colors are #00CAD7 and #7AAEFF, and its triadic partners are #F783BA and #B3B82C. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #fa904a |
| Analogous | −30°, +30° | #00cad7#7aaeff |
| Triadic | +120°, +240° | #f783ba#b3b82c |
| Split-complementary | +150°, +210° | #ff8484#e0a40f |
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?
DeepSkyBlue is a cool color: its hue is 195° 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 |
|---|---|---|
| lightskyblue | #87cefa | 8.9 |
| darkturquoise | #00ced1 | 9.0 |
| skyblue | #87ceeb | 9.4 |
Code snippets
.element {
color: deepskyblue;
background-color: #00bfff;
border-color: rgb(0 191 255);
outline-color: oklch(75.5% 0.153 231.6);
}<div class="bg-[#00bfff] text-black">...</div>
/* or register it once in your CSS (Tailwind v4) */
@theme {
--color-deepskyblue: #00bfff;
}
/* then use bg-deepskyblue, text-deepskyblue, border-deepskyblue */import SwiftUI
extension Color {
static let deepskyblue = Color(red: 0.000, green: 0.749, blue: 1.000)
}import androidx.compose.ui.graphics.Color
val Deepskyblue = Color(0xFF00BFFF)import 'package:flutter/material.dart';
const deepskyblue = Color(0xFF00BFFF);<!-- res/values/colors.xml -->
<color name="deepskyblue">#00BFFF</color>Frequently asked questions
- What is the hex code for deepskyblue?
- The hex code for deepskyblue is #00BFFF. The same color is rgb(0, 191, 255), hsl(195, 100%, 50%) and oklch(75.5% 0.153 231.6), and in CSS you can also write the keyword deepskyblue directly.
- Is deepskyblue a warm or cool color?
- DeepSkyBlue is a cool color: its hue is 195° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.
- What colors go with deepskyblue?
- Rotating the hue in OKLCH while keeping lightness and chroma, deepskyblue's complementary color is #FA904A (close to darkorange), its analogous colors are #00CAD7 and #7AAEFF, and its triadic partners are #F783BA and #B3B82C. For text on top, black gives the higher contrast.
- Can you use white text on deepskyblue?
- White text on deepskyblue has a contrast ratio of 2.12:1, which fails AA even for large text under WCAG 2.2. Black text reaches 9.89:1 and passes both AA and AAA. In APCA terms that is Lc −45.5 for white and Lc 63.1 for black.
- What is the RGB value of deepskyblue?
- DeepSkyBlue is rgb(0, 191, 255): red 0, green 191 and blue 255 on the 0 to 255 scale, or 0.0%, 74.9% and 100.0%. As a decimal integer it is 49151.
Last reviewed by Arielton Oberek.