CSS named color
Cyan #00FFFF
Cyan is a vivid cyan with the hex code #00FFFF, which converts to rgb(0, 255, 255). It is identical to Aqua — two keywords, one color. Open #00FFFF in the converter to tweak it.
Cyan color values
| HEX | #00FFFF |
|---|---|
| HEX (shorthand) | #0FF |
| RGB | rgb(0, 255, 255) |
| RGBA | rgba(0, 255, 255, 1) |
| 8-digit HEX | #00FFFFFF |
| HSL | hsl(180, 100%, 50%) |
| HSV / HSB | 180°, 100%, 100% |
| CMYK | 100%, 0%, 0%, 0% |
| RGB 0–1 | 0, 1, 1 |
| Decimal | 65535 |
| CSS keyword | cyan |
How #00FFFF converts to RGB
Split the hex code into three pairs and read each pair as a base-16 number: 00 → 0, FF → 255, FF → 255. That gives rgb(0, 255, 255). The step-by-step guide explains the math.
Shades of Cyan
Mixed toward black in 10% steps. Click a swatch to copy its hex.
Tints of Cyan
Mixed toward white in 10% steps.
Color harmonies
Hue rotations of Cyan 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
| Text | Background | Ratio | WCAG 2.x |
|---|---|---|---|
| White | Cyan | 1.25:1 | Fail |
| Black | Cyan | 16.74:1 | AAA |
Use black text on a cyan background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.
Use Cyan in CSS
.element {
color: cyan; /* keyword */
background-color: #00FFFF; /* hex */
border-color: rgb(0 255 255 / 50%); /* 50% transparent */
}
Need it semi-transparent? Append an alpha byte: #00FFFF80 is Cyan at 50% opacity. See RGBA & transparency.
Similar named colors
FAQ
What is the HEX code for Cyan?
The CSS named color cyan is #00FFFF in hexadecimal. In CSS you can write color: cyan; or color: #00FFFF; — both produce the same pixel.
What is Cyan in RGB?
Cyan is rgb(0, 255, 255): red 0, green 255, blue 255 on the 0–255 scale. As normalized 0–1 floats that is (0, 1, 1).
Is white or black text more readable on Cyan?
Black text is more readable. White on #00FFFF has a contrast ratio of 1.25:1 (Fail), black on #00FFFF has 16.74:1 (AAA). WCAG AA needs 4.5:1 for normal text.