Azure
Hex #F0FFFF, rgb(240 255 255). A white CSS named color.
Open in palette generatorAzure color codes
Click any value to copy it.
- HEX
- RGB
- HSL
- HSV
- HWB
- CMYK
- OKLCH
- OKLab
- Lab
- LCH
- CSS keyword
About Azure
Azure is a very light near-white with the hex code #F0FFFF. In RGB it is made of 240 red, 255 green and 255 blue; in HSL its hue is 180°, with 100% saturation and 97% lightness. Its perceptual lightness (OKLCH L) is 98.9%.
It is a CSS named color, so you can write "azure" anywhere CSS accepts a color. Against white it has a contrast ratio of 1.03:1 and against black 20.45:1, so black text reads better on it and passes WCAG AA for normal text.
Tints, shades and tones
Azure mixed step by step with white, black and middle gray (#808080).
Tints (with white)
Shades (with black)
Tones (with gray)
Azure 50-950 scale
A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.
Colors that go with Azure
Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.
Analogous
Triadic
Tetradic
Contrast and readability
WCAG 2 contrast of Azure with white and black. The readable text color on Azure is black.
On white1.03:1
- AA fail
- AA Large fail
- AAA fail
- UI 3:1 fail
APCA Lc 0
On black20.45:1
- AA pass
- AA Large pass
- AAA pass
- UI 3:1 pass
APCA Lc -106
Test any pair in the contrast checker.
Color blindness preview
How Azure appears with each type of color vision deficiency (simulated with the Machado model).
- Protanopia#FDFDFF
- Deuteranopia#FAFBFF
- Tritanopia#ECFFFF
- Protanomaly#F9FEFF
- Deuteranomaly#F8FCFF
- Tritanomaly#EEFFFF
- Achromatopsia#FCFCFC
Colors similar to Azure
The closest named colors by perceptual difference (OKLab).
Use Azure in CSS and Tailwind
.azure {
color: azure; /* #F0FFFF */
background-color: rgb(240 255 255);
border-color: oklch(98.9% 0.016 196.9);
}/* Tailwind CSS v4: bg-azure-500, text-azure-700... */
@theme {
--color-azure-50: #F0FFFF;
--color-azure-100: #D4F7F7;
--color-azure-200: #A7EAEB;
--color-azure-300: #40D9DC;
--color-azure-400: #00B2B5;
--color-azure-500: #00999C;
--color-azure-600: #008385;
--color-azure-700: #00696B;
--color-azure-800: #005456;
--color-azure-900: #004546;
--color-azure-950: #001B1B;
}
<!-- or the exact color, no config -->
<div class="bg-[#F0FFFF] text-[#000000]">…</div>