Azure color (#F0FFFF)
Azure is one of the 148 CSS named colors. Use the keyword azure
anywhere CSS accepts a color, or its hex code #F0FFFF, which is rgb(240, 255, 255) in RGB.
It is a very light neutral and a perceived lightness of 99% in OKLCH. On a azure background, black text gives the higher contrast at 20.45:1, which passes WCAG AA for normal text.
Azure color codes
| CSS name | azure |
|
|---|---|---|
| HEX | #F0FFFF |
|
| HEX (8-digit) | #F0FFFFFF |
|
| RGB | rgb(240, 255, 255) |
|
| HSL | hsl(180, 100%, 97%) |
|
| HSV / HSB | hsv(180, 6%, 100%) |
|
| OKLCH | oklch(98.9% 0.0157 196.9) |
|
| CMYK | cmyk(5.9%, 0%, 0%, 0%) |
Contrast with white and black
WCAG 2 contrast ratios and APCA lightness contrast (Lc) for azure used as text and as a background.
Tints and shades of azure
Tints mix azure 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 azure
Harmonies calculated on the HSL color wheel. Explore more in the color scheme generator.
Complementary
Analogous
Triadic
Split-Complementary
Azure with color blindness
Approximately how azure appears with each type of color vision deficiency. Test full designs with the color blindness simulator.
Using azure in CSS
.element {
color: azure;
background-color: #f0ffff;
border-color: rgb(240 255 255 / 50%);
outline-color: oklch(98.9% 0.0157 196.9);
}Similar named colors
See all shades of white or browse every CSS color name.