CSS named colour
Aliceblue
#f0f8ff
A CSS named colour: aliceblue is valid anywhere a colour is expected.
- RGB
- rgb(240 248 255)
- HSL
- 208°, 100%, 97%
- OKLCh
- 97.5% 0.013 244.3
Aliceblue in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #f0f8ff | |
|---|---|---|
| RGB | rgb(240 248 255) | |
| RGB legacy | rgb(240, 248, 255) | |
| RGB percent | rgb(94.12% 97.25% 100%) | |
| HSL | hsl(208 100% 97.1%) | |
| HSL legacy | hsl(208, 100%, 97.1%) | |
| HSV / HSB | hsv(208, 5.9%, 100%) | |
| HWB | hwb(208 94.1% 0%) | |
| Nearest name | aliceblue | |
| CMYK | cmyk(5.9%, 2.7%, 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(97.514% 0.01266 244.251)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(97.514% -0.0055 -0.0114) | |
| CIE LCh | lch(97.123% 4.682 247.738) | |
| CIE Lab | lab(97.123% -1.774 -4.333) | |
| Display P3 | color(display-p3 0.9468 0.9715 0.9971) | |
| Rec. 2020 | color(rec2020 0.9486 0.9671 0.9963) | |
| srgb-linear | color(srgb-linear 0.8714 0.9387 1)Light-linear sRGB — the same numbers a shader wants for maths. | |
| CIE XYZ (D65) | color(xyz-d65 0.8755 0.9288 1.0793) |
ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.
| GLSL vec3 — sRGB | vec3(0.941, 0.973, 1.0)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.871, 0.939, 1.0)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.941, 0.973, 1.0, 1.0) | |
| GLSL vec4 — linear | vec4(0.871, 0.939, 1.0, 1.0) | |
| GLSL ivec3 | ivec3(240, 248, 255) | |
| HLSL float3 — sRGB | float3(0.941, 0.973, 1.0) | |
| HLSL float3 — linear | float3(0.871, 0.939, 1.0) | |
| HLSL float4 — sRGB | float4(0.941, 0.973, 1.0, 1.0) | |
| HLSL half4 — sRGB | half4(0.941, 0.973, 1.0, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.941, 0.973, 1.0) | |
| WGSL vec4f — sRGB | vec4f(0.941, 0.973, 1.0, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.871, 0.939, 1.0) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new Color(0.941f, 0.973f, 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, 248, 255, 255) | |
| Unreal FLinearColor | FLinearColor(0.8714f, 0.9387f, 1.0f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(240, 248, 255, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.941, 0.973, 1, 1) | |
| Flutter Color | Color(0xFFF0F8FF)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(240, 248, 255) | |
| SwiftUI Color | Color(red: 0.941, green: 0.973, blue: 1) | |
| UIKit UIColor | UIColor(red: 0.941, green: 0.973, blue: 1, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0xF0F8FF | |
|---|---|---|
| 0x hex (ARGB) | 0xFFF0F8FF | |
| Array 0–1 | [0.941, 0.973, 1] | |
| Array 0–255 | [240, 248, 255] | |
| Decimal integer | 15792383 |
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 |
|---|---|---|---|---|
| Aliceblue on white | 1.07:1 | Fail | Lc 0 | Not usable for text |
| Aliceblue on black | 19.58:1 | AAA | Lc 103 | Body text at any size |
Aliceblue text on a white background
Aliceblue text on a black background
White text on Aliceblue
Black text on Aliceblue
Tonal scale
Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.
- 50#f2f8fd
- 100#e8eef4
- 200#d7dde3
- 300#c0c7cd
- 400#a3aab1
- 500#858c93
- 600#6c7278
- 700#565c61
- 800#43484d
- 900#34393d
- 950#1c2023
Tints and shades
Mixed perceptually toward white and black, so the steps feel evenly spaced.
- Tint 1#f3f9ff
- Tint 2#f5faff
- Tint 3#f8fcff
- Tint 4#fafdff
- Tint 5#fdfeff
- Shade 1#bcc3c8
- Shade 2#8b9094
- Shade 3#5d6063
- Shade 4#323436
- Shade 5#0d0e0f
Colours that work with Aliceblue
Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.
- #fdf5ee
- #fff3f6
- #f5f8ef
- #eef9fc
- #f4f6ff
Closest CSS names
aliceblueexact matchghostwhiteΔEok 0.010whitesmokeΔEok 0.014azureΔEok 0.018snowΔEok 0.022mintcreamΔEok 0.023