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.
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
| CSS keyword | darkcyan |
|---|---|
| HEX | #008B8B |
| RGB | rgb(0, 139, 139) |
| HSL | hsl(180, 100%, 27%) |
| HWB | hwb(180 0% 45%) |
| OKLCH | oklch(57.7% 0.098 194.8) |
| CMYK (naive, no ICC profile) | cmyk(100%, 0%, 0%, 45%) |
| Decimal | 35,723 |
| Hue family | Cyans 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.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on darkcyan | 5.06:1 | Pass | Pass | Fail | Pass | 36.2 |
| White text on darkcyan | 4.14:1 | Fail | Pass | Fail | Fail | −73.4 |
| Darkcyan text on white | 4.14:1 | Fail | Pass | Fail | Fail | 67.9 |
| Darkcyan text on black | 5.06:1 | Pass | Pass | Fail | Pass | −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)
- 5%
#0d9191 - 15%
#269c9c - 25%
#40a8a8 - 35%
#59b4b4 - 45%
#73bfbf - 55%
#8ccbcb - 65%
#a6d6d6 - 75%
#bfe2e2 - 85%
#d9eeee - 95%
#f2f9f9
Shades (mixed with black)
- 5%
#008484 - 15%
#007676 - 25%
#006868 - 35%
#005a5a - 45%
#004c4c - 55%
#003f3f - 65%
#003131 - 75%
#002323 - 85%
#001515 - 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.
| Harmony | Rotation | Color |
|---|---|---|
| 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.
Code snippets
.element {
color: darkcyan;
background-color: #008b8b;
border-color: rgb(0 139 139);
outline-color: oklch(57.7% 0.098 194.8);
}<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 */import SwiftUI
extension Color {
static let darkcyan = Color(red: 0.000, green: 0.545, blue: 0.545)
}import androidx.compose.ui.graphics.Color
val Darkcyan = Color(0xFF008B8B)import 'package:flutter/material.dart';
const darkcyan = Color(0xFF008B8B);<!-- 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.