CSS color names · Whites

Azure color: hex #f0ffff, RGB and HSL

Azure is the CSS keyword azure, hex #f0ffff, rgb(240, 255, 255), hsl(180, 100%, 97%). It is a very light, fully saturated cyan in the whites family. Below: the colors that go with it, its tints and shades, how it reads as text, and a complete interface palette built from it.

CSS name
azure
Hex
#f0ffff
RGB
rgb(240, 255, 255)
HSL
hsl(180, 100%, 97%)
On white
1.03:1 — fails AA; use as a fill, not text
On black
20.45:1 — passes AA for body text
.example {
  color: azure;          /* keyword */
  color: #f0ffff;          /* hex */
  color: rgb(240, 255, 255); /* rgb */
  color: hsl(180, 100%, 97%); /* hsl */
}

What colors go with azure

Each match keeps azure's saturation and lightness and rotates only the hue, so the relationship is the wheel's and nothing else. Any of these can be an accent beside azure as the primary; the harmony guides explain which rule suits which interface.

Complementary

The opposite hue, 180° away — the strongest contrast, best kept to one accent per screen.

#fff0f0

Split-complementary

The two neighbors of the complement, at 150° and 210° — most of the contrast with less tension, and two accents instead of one.

#fff0f8
#fff8f0

Triadic

Two hues at 120° and 240° — three evenly spaced signals, the scheme charts and category colors want.

Analogous

The neighbors at −30° and +30° — calm and cohesive, with emphasis coming from weight and size rather than hue.

Tints and shades of azure

Tints add lightness toward white; shades remove it toward black. The hue and saturation stay fixed, so every step still reads as azure — these are the hover, pressed, disabled and surface variants a single brand color needs.

Tints (lighter)

#f3ffff
#f5ffff
#f8ffff
#faffff
#fdffff

Shades (darker)

#9effff
#4bffff
#00f8f8
#00a5a5
#005252

A UI color palette built from azure

The eight semantic roles an interface actually uses, derived from azure as the primary with the split-complementary rule: secondary and accent rotate around the wheel, and the five neutrals take the hue at lightness steps tuned for light and dark mode. This is the same derivation the palette generator runs — open it there to change the rule, drag the anchors, or export the set as CSS variables.

Light mode
primary
#f0ffff
secondary
#fff0f8
accent
#fff8f0
background
#fcfdfd
surface
#f3f7f7
text
#112222
muted
#568f8f
border
#dfecec
Dark mode
primary
#f0ffff
secondary
#fff0f8
accent
#fff8f0
background
#0e1b1b
surface
#152828
text
#f3f6f6
muted
#94b8b8
border
#274949

Using azure in an interface

The near-whites are page backgrounds. A canvas at ivory or alice blue instead of pure white is the difference between a page that feels designed and one that feels blank — and it is exactly what a tinted `background` role does in a semantic palette. Whichever role azure takes, define it once as a token rather than repeating the keyword: the semantic palette guide covers the eight roles, and the guides to complementary, triadic and the other color schemes explain how to weight the matches above.

What is the hex code for Azure?
Azure is #f0ffff. In CSS the keyword azure, the hex #f0ffff, rgb(240, 255, 255) and hsl(180, 100%, 97%) all paint the same color.
What colors go with Azure?
Its complement is #fff0f0, the split-complementary pair is #fff0f8 and #fff8f0, the triadic partners are #fff0ff and #fffff0, and the analogous neighbors are #f0fff8 and #f0f8ff. In an interface, use Azure for most colored elements and one of these for a single accent, at roughly an 80/20 split.
What is the opposite of Azure on the color wheel?
The opposite (complementary) color is #fff0f0, the same saturation and lightness rotated 180° around the HSL wheel. Complementary pairs give the strongest contrast, which is why the complement should be used sparingly rather than at equal weight.
Can I use Azure for text?
Azure as text on white has a contrast ratio of 1.03:1, which fails WCAG AA for body text (4.5:1) and for large text (3:1). On black it is 20.45:1, which passes for body text. Use it as text on dark surfaces, or as a fill with dark text on top.

Similar named colors

More whites

We'd like to use Google cookies to understand how Nodlume is used and to measure our advertising. Nothing loads until you choose, and declining does not affect anything in the app.