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