Cyan Color
HEX #00FFFF · rgb(0, 255, 255) · hsl(180, 100%, 50%)
Cyan color codes
Cyan is one of the named colors every browser understands. In CSS you can write it as cyan or #00FFFF. The keyword "aqua" is an exact synonym.
| Format | Value | |
|---|---|---|
| HEX | #00FFFF | |
| RGB | rgb(0, 255, 255) | |
| HSL | hsl(180, 100%, 50%) | |
| CMYK | 100%, 0%, 0%, 0% | |
| CSS name | cyan |
.example {
color: cyan;
background-color: #00FFFF;
border-color: rgb(0, 255, 255);
}
Colors that go with cyan
These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.
Tints and shades of cyan
Tints mix the color with white; shades mix it with black.
Cyan
Contrast and readability
16.75:1
passes AA and AAA
1.25:1
fails
Use black text on cyan. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.
Frequently asked questions
What is the hex code for cyan?
The hex code for cyan is #00FFFF.
What is the RGB value of cyan?
Cyan is rgb(0, 255, 255): 0 red, 255 green and 255 blue on a 0 to 255 scale.
What color goes with cyan?
Its complementary color is #FF0000, which is closest to the named color red. Analogous and triadic matches are listed on this page.
Should text on cyan be black or white?
Use black text. The contrast ratio is 16.75:1 with black and 1.25:1 with white. WCAG AA asks for at least 4.5:1 for normal text.
Similar named colors
Pick any other color with the color picker, or browse all named colors.