Skip to content

CSS named color

DarkCyan #008B8B

DarkCyan (CSS keyword darkcyan) has the hex code #008B8B and the RGB value rgb(0, 139, 139): a medium-dark, moderately saturated cyan.

DarkCyan#008B8B

Dark cyan (#008b8b) follows the X11 pattern of 139 for the dark variants, so it is a touch brighter than teal (#008080). The two are hard to tell apart side by side.

Color codes for DarkCyan

Color codes for DarkCyan
CSS keyworddarkcyan
HEX#008B8B
RGBrgb(0, 139, 139)
HSLhsl(180, 100%, 27%)
HWBhwb(180 0% 45%)
OKLCHoklch(57.7% 0.098 194.8)
CMYK (naive, no ICC profile)cmyk(100%, 0%, 0%, 45%)
Decimal35,723
Hue familyCyans and teals

Contrast and accessibility

On darkcyan, black text has a contrast ratio of 5.06:1 and passes AA for normal text; white text reaches 4.14: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 darkcyan5.06:1PassPassFailPass36.2
White text on darkcyan4.14:1FailPassFailFail−73.4
Darkcyan text on white4.14:1FailPassFailFail67.9
Darkcyan text on black5.06:1PassPassFailPass−33.7

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #0d9191
  2. 15%
    #269c9c
  3. 25%
    #40a8a8
  4. 35%
    #59b4b4
  5. 45%
    #73bfbf
  6. 55%
    #8ccbcb
  7. 65%
    #a6d6d6
  8. 75%
    #bfe2e2
  9. 85%
    #d9eeee
  10. 95%
    #f2f9f9

Shades (mixed with black)

  1. 5%
    #008484
  2. 15%
    #007676
  3. 25%
    #006868
  4. 35%
    #005a5a
  5. 45%
    #004c4c
  6. 55%
    #003f3f
  7. 65%
    #003131
  8. 75%
    #002323
  9. 85%
    #001515
  10. 95%
    #000707

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, darkcyan's complementary color is #AB6067 (close to indianred), its analogous colors are #348B6A and #2385A5, and its triadic partners are #8F67A1 and #9B702E. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#ab6067
Analogous−30°, +30°#348b6a#2385a5
Triadic+120°, +240°#8f67a1#9b702e
Split-complementary+150°, +210°#a26187#a96546

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?

DarkCyan is a cool color: its hue is 180° 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#0080803.4
seagreen#2e8b577.7
slategray#7080908.5

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
teal-600#0096893.6
teal-700#00786f6.7
cyan-600#0092b86.7

Code snippets

CSS
.element {
  color: darkcyan;
  background-color: #008b8b;
  border-color: rgb(0 139 139);
  outline-color: oklch(57.7% 0.098 194.8);
}
Tailwind CSS
<div class="bg-[#008b8b] text-black">...</div>

/* or register it once in your CSS (Tailwind v4) */
@theme {
  --color-darkcyan: #008b8b;
}
/* then use bg-darkcyan, text-darkcyan, border-darkcyan */
SwiftUI
import SwiftUI

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

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

const darkcyan = Color(0xFF008B8B);
Android XML
<!-- res/values/colors.xml -->
<color name="darkcyan">#008B8B</color>

Frequently asked questions

What is the hex code for darkcyan?
The hex code for darkcyan is #008B8B. The same color is rgb(0, 139, 139), hsl(180, 100%, 27%) and oklch(57.7% 0.098 194.8), and in CSS you can also write the keyword darkcyan directly.
Is darkcyan a warm or cool color?
DarkCyan is a cool color: its hue is 180° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.
What colors go with darkcyan?
Rotating the hue in OKLCH while keeping lightness and chroma, darkcyan's complementary color is #AB6067 (close to indianred), its analogous colors are #348B6A and #2385A5, and its triadic partners are #8F67A1 and #9B702E. For text on top, black gives the higher contrast.
Can you use white text on darkcyan?
White text on darkcyan has a contrast ratio of 4.14: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.06:1 and passes AA for normal text but not AAA. In APCA terms that is Lc −73.4 for white and Lc 36.2 for black.
What is the RGB value of darkcyan?
DarkCyan is rgb(0, 139, 139): red 0, green 139 and blue 139 on the 0 to 255 scale, or 0.0%, 54.5% and 54.5%. As a decimal integer it is 35723.

Last reviewed by Arielton Oberek.