Color #f0f2ff
A vivid, highly saturated very light blue.
Conversions
#f0f2ff
rgb(240, 242, 255)
hsl(232, 100%, 97.1%)
hsv(232, 5.9%, 100%)
cmyk(5.9%, 5.1%, 0%, 0%)
lab(95.68, 1.71, -6.47)
lch(95.68, 6.69, 284.8)
oklch(96.3%, 0.0175, 279.19)
hwb(232, 94.1%, 0%)
Harmony colors
Accessibility
Black text reads better on this background (18.85:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#f1f1fc · ΔE 1.1
Deuteranopia
#f1f1fb · ΔE 1.4
Tritanopia
#f0f9f9 · ΔE 7.8
Achromatopsia
#f3f3f3 · ΔE 6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #f0f2ff;
bg-[#f0f2ff]
Related colors
Frequently asked questions
#f0f2ff (#f0f2ff) is rgb(240, 242, 255) in RGB.
No, #f0f2ff is not web-safe. The nearest web-safe colors are among its tones and shades below.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #f0f2ff, or check how it holds up for accessibility.