CSS named colour
Azure
#f0ffff
A CSS named colour: azure is valid anywhere a colour is expected.
- RGB
- rgb(240 255 255)
- HSL
- 180°, 100%, 97%
- OKLCh
- 98.9% 0.016 196.9
Azure in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #f0ffff | |
|---|---|---|
| RGB | rgb(240 255 255) | |
| RGB legacy | rgb(240, 255, 255) | |
| RGB percent | rgb(94.12% 100% 100%) | |
| HSL | hsl(180 100% 97.1%) | |
| HSL legacy | hsl(180, 100%, 97.1%) | |
| HSV / HSB | hsv(180, 5.9%, 100%) | |
| HWB | hwb(180 94.1% 0%) | |
| Nearest name | azure | |
| CMYK | cmyk(5.9%, 0%, 0%, 0%)Naive conversion. Real print work needs an ICC profile. |
Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.
| OKLCh | oklch(98.895% 0.01572 196.902)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(98.895% -0.01504 -0.00457) | |
| CIE LCh | lch(98.883% 5.377 199.352) | |
| CIE Lab | lab(98.883% -5.073 -1.782) | |
| Display P3 | color(display-p3 0.952 0.9981 0.999) | |
| Rec. 2020 | color(rec2020 0.9592 0.9956 0.999) | |
| srgb-linear | color(srgb-linear 0.8714 1 1)Light-linear sRGB — the same numbers a shader wants for maths. | |
| CIE XYZ (D65) | color(xyz-d65 0.8974 0.9726 1.0866) |
ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.
| GLSL vec3 — sRGB | vec3(0.941, 1.0, 1.0)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.871, 1.0, 1.0)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.941, 1.0, 1.0, 1.0) | |
| GLSL vec4 — linear | vec4(0.871, 1.0, 1.0, 1.0) | |
| GLSL ivec3 | ivec3(240, 255, 255) | |
| HLSL float3 — sRGB | float3(0.941, 1.0, 1.0) | |
| HLSL float3 — linear | float3(0.871, 1.0, 1.0) | |
| HLSL float4 — sRGB | float4(0.941, 1.0, 1.0, 1.0) | |
| HLSL half4 — sRGB | half4(0.941, 1.0, 1.0, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.941, 1.0, 1.0) | |
| WGSL vec4f — sRGB | vec4f(0.941, 1.0, 1.0, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.871, 1.0, 1.0) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new Color(0.941f, 1.0f, 1.0f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255. | |
|---|---|---|
| Unity Color32 | new Color32(240, 255, 255, 255) | |
| Unreal FLinearColor | FLinearColor(0.8714f, 1.0f, 1.0f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(240, 255, 255, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.941, 1, 1, 1) | |
| Flutter Color | Color(0xFFF0FFFF)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(240, 255, 255) | |
| SwiftUI Color | Color(red: 0.941, green: 1, blue: 1) | |
| UIKit UIColor | UIColor(red: 0.941, green: 1, blue: 1, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0xF0FFFF | |
|---|---|---|
| 0x hex (ARGB) | 0xFFF0FFFF | |
| Array 0–1 | [0.941, 1, 1] | |
| Array 0–255 | [240, 255, 255] | |
| Decimal integer | 15794175 |
Contrast and accessibility
WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.
| Pairing | WCAG 2 ratio | Level | APCA | Suitable for |
|---|---|---|---|---|
| Azure on white | 1.03:1 | Fail | Lc 0 | Not usable for text |
| Azure on black | 20.45:1 | AAA | Lc 106 | Body text at any size |
Azure text on a white background
Azure text on a black background
White text on Azure
Black text on Azure
Tonal scale
Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.
- 50#effafa
- 100#e5f0f0
- 200#d3dfdf
- 300#bcc9c9
- 400#9facac
- 500#818e8e
- 600#687475
- 700#525d5d
- 800#404a4a
- 900#313a3a
- 950#1a2121
Tints and shades
Mixed perceptually toward white and black, so the steps feel evenly spaced.
- Tint 1#f3ffff
- Tint 2#f5ffff
- Tint 3#f8ffff
- Tint 4#faffff
- Tint 5#fdffff
- Shade 1#bcc8c8
- Shade 2#8b9494
- Shade 3#5d6363
- Shade 4#323636
- Shade 5#0d0f0f
Colours that work with Azure
Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.
- #fff7f8
- #fff8ff
- #fffaf0
- #f2fff9
- #f1feff
Closest CSS names
azureexact matchmintcreamΔEok 0.009aliceblueΔEok 0.018whiteΔEok 0.019lightcyanΔEok 0.020ghostwhiteΔEok 0.020