Skip to content

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.

DeepSkyBlue#00BFFF

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

Color codes for DeepSkyBlue
CSS keyworddeepskyblue
HEX#00BFFF
RGBrgb(0, 191, 255)
HSLhsl(195, 100%, 50%)
HWBhwb(195 0% 0%)
OKLCHoklch(75.5% 0.153 231.6)
CMYK (naive, no ICC profile)cmyk(100%, 25%, 0%, 0%)
Decimal49,151
Hue familyBlues

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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on deepskyblue9.89:1PassPassPassPass63.1
White text on deepskyblue2.12:1FailFailFailFail−45.5
Deepskyblue text on white2.12:1FailFailFailFail40.9
Deepskyblue text on black9.89:1PassPassPassPass−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)

  1. 5%
    #0dc2ff
  2. 15%
    #26c9ff
  3. 25%
    #40cfff
  4. 35%
    #59d5ff
  5. 45%
    #73dcff
  6. 55%
    #8ce2ff
  7. 65%
    #a6e9ff
  8. 75%
    #bfefff
  9. 85%
    #d9f5ff
  10. 95%
    #f2fcff

Shades (mixed with black)

  1. 5%
    #00b5f2
  2. 15%
    #00a2d9
  3. 25%
    #008fbf
  4. 35%
    #007ca6
  5. 45%
    #00698c
  6. 55%
    #005673
  7. 65%
    #004359
  8. 75%
    #003040
  9. 85%
    #001d26
  10. 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.

Color harmonies
HarmonyRotationColor
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

Nearest CSS named colors
ColorHEXΔE OK
lightskyblue#87cefa8.9
darkturquoise#00ced19.0
skyblue#87ceeb9.4

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
sky-400#00bcff1.2
cyan-500#00b8db5.9
cyan-400#00d3f26.3

Code snippets

CSS
.element {
  color: deepskyblue;
  background-color: #00bfff;
  border-color: rgb(0 191 255);
  outline-color: oklch(75.5% 0.153 231.6);
}
Tailwind CSS
<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 */
SwiftUI
import SwiftUI

extension Color {
  static let deepskyblue = Color(red: 0.000, green: 0.749, blue: 1.000)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const deepskyblue = Color(0xFF00BFFF);
Android XML
<!-- 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.