CSS named color

DarkCyan #008B8B

darkcyan rgb(0, 139, 139)

DarkCyan is a dark cyan with the hex code #008B8B, which converts to rgb(0, 139, 139). Open #008B8B in the converter to tweak it.

DarkCyan color values

HEX#008B8B
HEX (shorthand)—
RGBrgb(0, 139, 139)
RGBArgba(0, 139, 139, 1)
8-digit HEX#008B8BFF
HSLhsl(180, 100%, 27%)
HSV / HSB180°, 100%, 55%
CMYK100%, 0%, 0%, 45%
RGB 0–10, 0.545, 0.545
Decimal35723
CSS keyworddarkcyan

How #008B8B converts to RGB

Split the hex code into three pairs and read each pair as a base-16 number: 00 → 0, 8B → 139, 8B → 139. That gives rgb(0, 139, 139). The step-by-step guide explains the math.

Shades of DarkCyan

Mixed toward black in 10% steps. Click a swatch to copy its hex.

Tints of DarkCyan

Mixed toward white in 10% steps.

Color harmonies

Hue rotations of DarkCyan on the HSL color wheel, keeping saturation and lightness fixed. The color harmony guide explains when each scheme works.

Complementary

Analogous

Split-complementary

Triadic

Tetradic (square)

Contrast and accessibility

TextBackgroundRatioWCAG 2.x
White DarkCyan 4.14:1AA Large only
Black DarkCyan 5.06:1AA

Use black text on a darkcyan background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.

Use DarkCyan in CSS

.element {
  color: darkcyan;                         /* keyword */
  background-color: #008B8B;            /* hex */
  border-color: rgb(0 139 139 / 50%);    /* 50% transparent */
}

Need it semi-transparent? Append an alpha byte: #008B8B80 is DarkCyan at 50% opacity. See RGBA & transparency.

Similar named colors

FAQ

What is the HEX code for DarkCyan?

The CSS named color darkcyan is #008B8B in hexadecimal. In CSS you can write color: darkcyan; or color: #008B8B; — both produce the same pixel.

What is DarkCyan in RGB?

DarkCyan is rgb(0, 139, 139): red 0, green 139, blue 139 on the 0–255 scale. As normalized 0–1 floats that is (0, 0.545, 0.545).

Is white or black text more readable on DarkCyan?

Black text is more readable. White on #008B8B has a contrast ratio of 4.14:1 (AA Large only), black on #008B8B has 5.06:1 (AA). WCAG AA needs 4.5:1 for normal text.

Copied!