Cyan Hex Code #00FFFF
Cyan is a very light, vivid color with the hex code #00FFFF. In RGB it is 0, 255, 255, and in HSL it is 180°, 100%, 50%. It is one of the 148 named colors in CSS, so you can write “cyan” instead of the hex code. It is also written as “aqua”.
- HEX
- #00FFFF
- RGB
- rgb(0, 255, 255)
- HSL
- hsl(180, 100%, 50%)
- HSV
- hsv(180°, 100%, 100%)
- CMYK
- cmyk(100%, 0%, 0%, 0%)
- CSS name
- cyan
CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.
About Cyan
On a white background Cyan has a contrast ratio of 1.25:1 (Fail), and on black 16.75:1 (AAA). Black text is the better choice on top of it.
It sits on the cool side of the color wheel, a range that tends to feel calm and appears to recede.
Cyan, teal and turquoise sit between green and blue and feel fresh and clean. They are popular in technology, health and water-related designs.
Good to know: Cyan and aqua are two names for the same color in CSS (#00ffff). The same is true of magenta and fuchsia (#ff00ff).
Shades and tints of Cyan
Tints mix Cyan with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.
Color harmonies for Cyan
These schemes are calculated from Cyan on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.
On the artist’s RYB wheel, the complement of Cyan is #FF4900, close to the named color Orange Red.
Cyan contrast and accessibility
WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Cyan scores against white and black.
| Against | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White (#ffffff) | 1.25:1 | ✕ Fail | ✕ Fail | ✕ Fail | ✕ Fail |
| Black (#000000) | 16.75:1 | ✓ Pass | ✓ Pass | ✓ Pass | ✓ Pass |
Cyan and color blindness
These are approximate previews of how Cyan can look with the main types of color vision deficiency.
Cyan changes noticeably.
Cyan changes noticeably.
Cyan looks almost the same.
Cyan changes noticeably.
Gradients with Cyan
Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.
Cyan to a lighter tint
background: linear-gradient(135deg, #00ffff 0%, #99ffff 100%); Cyan to its analogous neighbour
background: linear-gradient(135deg, #00ffff 0%, #0080ff 100%); Cyan to its complement
background: linear-gradient(135deg, #00ffff 0%, #ff0000 100%); Colors similar to Cyan
How each close match differs from Cyan.
Use Cyan in code
.element {
color: #00ffff;
background-color: #00ffff;
border-color: cyan; /* cyan is a valid CSS color name */
} :root {
--color-cyan: #00ffff;
} <!-- Tailwind arbitrary values -->
<div class="bg-[#00ffff] text-[#00ffff] border-[#00ffff]"></div>
/* Tailwind v4 theme color */
@theme {
--color-cyan: #00ffff;
} Cyan questions
What is the hex code for Cyan?
The hex code for Cyan is #00FFFF. In RGB that is rgb(0, 255, 255), and in HSL it is hsl(180, 100%, 50%).
What is the complementary color of Cyan?
On the RGB (screen) color wheel, the complement of Cyan is #FF0000, which is close to Red. On the artist’s RYB wheel it is #FF4900, close to Orange Red.
Should I use white or black text on Cyan?
Black text. It has a contrast ratio of 16.75:1 against Cyan, which is WCAG AAA. The other option scores 1.25:1.
Is Cyan accessible as a text color on white?
No. Cyan on white scores 1.25:1, which is below the WCAG minimum of 3:1 even for large text.
What are darker and lighter shades of Cyan?
Mixing Cyan with black gives #00CCCC, #009999, #006666, #003333 (20% to 80% black). Mixing it with white gives #33FFFF, #66FFFF, #99FFFF, #CCFFFF (20% to 80% white).