Cyan color (#00FFFF)
Cyan is one of the 148 CSS named colors. Use the keyword cyan
anywhere CSS accepts a color, or its hex code #00FFFF, which is rgb(0, 255, 255) in RGB. The keyword aqua produces exactly the same color.
It is a very light, vivid cool color with a hue angle of 180° on the HSL color wheel and a perceived lightness of 91% in OKLCH. On a cyan background, black text gives the higher contrast at 16.74:1, which passes WCAG AA for normal text.
Cyan color codes
| CSS name | cyan |
|
|---|---|---|
| HEX | #00FFFF |
|
| HEX (8-digit) | #00FFFFFF |
|
| RGB | rgb(0, 255, 255) |
|
| HSL | hsl(180, 100%, 50%) |
|
| HSV / HSB | hsv(180, 100%, 100%) |
|
| OKLCH | oklch(90.5% 0.1546 194.8) |
|
| CMYK | cmyk(100%, 0%, 0%, 0%) |
Contrast with white and black
WCAG 2 contrast ratios and APCA lightness contrast (Lc) for cyan used as text and as a background.
Tints and shades of cyan
Tints mix cyan with white; shades mix it with black, in 10% steps. Click a swatch to copy it, or build custom scales in the tint & shade generator.
Tints
Shades
Colors that go with cyan
Harmonies calculated on the HSL color wheel. Explore more in the color scheme generator.
Complementary
Analogous
Triadic
Split-Complementary
Cyan with color blindness
Approximately how cyan appears with each type of color vision deficiency. Test full designs with the color blindness simulator.
Using cyan in CSS
.element {
color: cyan;
background-color: #00ffff;
border-color: rgb(0 255 255 / 50%);
outline-color: oklch(90.5% 0.1546 194.8);
}Similar named colors
See all shades of cyan or browse every CSS color name.