Azure Color Codes
Azure is an off-white with the hex code #F0FFFF, RGB values of 240, 255, 255 and an HSL value of hsl(180, 100%, 97%).
| HEX | #F0FFFF |
|---|---|
| RGB | 240, 255, 255 |
| HSL | hsl(180, 100%, 97%) |
| HSV | 180°, 6%, 100% |
| CMYK | 6%, 0%, 0%, 0% |
| LAB | 98.93, -4.88, -1.69 |
| CIELCHuv | 98.93, 8.36, 192.17° |
- Nearest Pantone
- PMS 628 C ΔE 11.4 · approximate
- Nearest CSS name
-
azureΔE 0.0
Source CSS Color Module Level 4 keyword 'Azure'
Azure Color Hex Code
The Azure color hex code is #F0FFFF. Those six digits are three pairs, F0 for red, FF for green and FF for blue, which is the same triplet a browser reads from the CSS value below.
#F0FFFF
Azure Color RGB Code
The Azure RGB code is rgb(240, 255, 255). Green carries the most light at 255 of 255, which is what puts this color where it sits on the wheel.
rgb(240, 255, 255)
Azure Color HSV Code
The Azure HSV code is 180°, 6%, 100%. Read it as a hue of 180 degrees, 6% saturation and 100% value, which is the form most color pickers use because moving one number changes one thing.
180°, 6%, 100%
Azure Color CIELChuv Code
The Azure CIELCHuv code is 98.93, 8.36, 192.17°. Unlike hex or RGB this one is perceptual: lightness 99 means light to the eye rather than to the screen, and chroma 8 is how far it sits from grey.
98.93, 8.36, 192.17°
Tonal scale
What are Azure Color Palettes?
A shade mixes toward black, a tint toward white, a tone toward grey. Every step keeps the hue and is copy-ready.
Shades, toward black
Tints, toward white
Tones, toward grey
Palettes
What are Azure Color Palette Codes?
Each of these is a hue rotation from #F0FFFF. They are generated, not curated, so they are exact.
Complementary
The opposite hue is #FFF0F0, an off-white. Complements carry the strongest contrast of any two-color scheme, so this pair suits a call to action better than a background. Both are saturated, so give the complement much less area than the base or the two will fight.
Analogous
Its two neighbours are #F0FFF8 and #F0F8FF. Because they overlap heavily in hue, nothing in the group competes, and the eye reads the whole set as a single color with variation.
Triadic
#FFF0FF and #FFFFF0 complete an even 120 degree split. Three fully independent hues, so one has to lead: keep this base dominant and let the other two appear in small quantities.
Split-complementary
Instead of the direct complement, this takes the two hues either side of it: #FFF0F8 and #FFF8F0. Almost the same contrast, without the edge shimmer a true complementary pair produces at high saturation.
Tetradic
Two complementary pairs forming a rectangle: this base with #FFF0F0, and #F8F0FF with #F8FFF0. The richest of the five and the hardest to balance, so treat the darkest of the four as the lead and hold the other three well back.
Accessibility
Contrast checker: is Azure accessible?
Measured against white and against black, with a separate verdict for each element type. Small text, large text and UI components have different thresholds, so one pass or fail for the whole color would be wrong roughly a third of the time.
White background
1.03:11.03
contrast ratio on white background
| Element | AA | AAA |
|---|---|---|
| Small text needs 4.5:1 / 7:1 | Fails | Fails |
| Large text needs 3:1 / 4.5:1 | Fails | Fails |
| UI component needs 3:1 | Fails | n/a |
Black background
20.45:120.45
contrast ratio on black background
| Element | AA | AAA |
|---|---|---|
| Small text needs 4.5:1 / 7:1 | Passes | Passes |
| Large text needs 3:1 / 4.5:1 | Passes | Passes |
| UI component needs 3:1 | Passes | n/a |
At 1.03:1 against white, Azure is a fill color rather than a text color. Use it for surfaces, borders and large display type, and set the copy in ink. Text placed on it should be black, which gives 20.45:1. It is a highly saturated color, so it will dominate anything it sits beside. Give it space rather than surrounding it with other strong colors.
Color vision
How Azure looks with color blindness
Around 300 million people see color differently from the way it is specified. Each card shows the actual color beside how it appears, and how common that form of vision is.
Protanopia
About 1% of men#F7F7FF
Azure shifts slightly here. ΔE 6.8
No working red cones. Reds darken sharply and drift toward the same muddy olive as green.
Deuteranopia
About 1% of men#F6F5FF
Azure shifts slightly here. ΔE 7.9
No working green cones. With the milder deuteranomaly at nearer 6% of men, this is by far the most common form, and the one worth designing around.
Tritanopia
About 1 in 10,000#F1FFFF
Azure holds up almost unchanged here. ΔE 0.3
No working blue cones. Blues shift toward green and yellows toward pink. Rare, and unlike the others it is not sex-linked, so it affects men and women equally.
Achromatopsia
About 1 in 30,000#FCFCFC
Azure shifts slightly here. ΔE 5.2
No color vision at all. Also a fair proxy for how the color survives a greyscale print or a failing screen.
To a deuteranope, the most common form, Azure reads as #F6F5FF. That is a shift of ΔE 7.9, so it is a different color to roughly one man in sixteen. The widest shift is under deuteranopia, at ΔE 7.9. The rule this leads to needs no simulator: never let color be the only thing carrying a message. Add a label, an icon, or a clear difference in lightness, and the problem disappears for everyone.
Snippets
Using Azure in code
:root {
--azure: #F0FFFF;
}
.example {
color: var(--azure);
}
// tailwind.config.js
theme: {
extend: {
colors: {
'azure': '#F0FFFF',
},
},
}
// SwiftUI takes 0–1 components, not 0–255.
let azure = Color(
red: 0.941,
green: 1.000,
blue: 1.000
)
<!-- res/values/colors.xml -->
<color name="azure">#F0FFFF</color>
// Flutter wants ARGB: FF for full opacity, then the hex.
const azure = Color(0xFFF0FFFF);