azure — #F0FFFF
#F0FFFF
rgb(240, 255, 255) · hsl(180, 100%, 97%) · CSS keyword azure
Can you put text on it?
| Contrast | Body text | Large text | |
|---|---|---|---|
| azure on white | 1.03:1 | — | — |
| azure on black | 20.45:1 | AA | AA |
As a background, azure takes black text: 20.45:1 against 1.03:1 the other way. A colour picker will give you the hex and stop there, which is why so many palettes look right and fail an accessibility audit.
Using it
color: azure;
color: #f0ffff;
color: rgb(240 255 255);
All three are the same colour. The keyword is one of the 141 CSS named colours — a list settled in CSS 2.1 and added to exactly once since, when rebeccapurple was standardised in 2014.
Colours close to azure
- mintcream — #F5FFFA
- honeydew — #F0FFF0
- aliceblue — #F0F8FF
- ghostwhite — #F8F8FF
- white — #FFFFFF
- lightcyan — #E0FFFF
Frequently asked questions
What is the hex code for azure?
The hex code for azure is #F0FFFF — RGB 240, 255, 255.
Can I use azure for text?
Not on a white background. azure reaches only 1.03:1, and WCAG AA asks for 4.5:1. It works as a background or a border, not as ink.
Should text on azure be black or white?
Black — 20.45:1 against 1.03:1 the other way.
Other named colours
- beige — #F5F5DC
- bisque — #FFE4C4
- black — #000000
- blanchedalmond — #FFEBCD
- blue — #0000FF
- blueviolet — #8A2BE2
- brown — #A52A2A
- burlywood — #DEB887
- cadetblue — #5F9EA0
- chartreuse — #7FFF00
- chocolate — #D2691E
- coral — #FF7F50
#F0FFFF in full — tints, shades and harmonies · All named colours · Colour reference