Color #f0f1f2
A nearly neutral, gray-leaning very light blue.
Conversions
#f0f1f2
rgb(240, 241, 242)
hsl(210, 7.1%, 94.5%)
hsv(210, 0.8%, 94.9%)
cmyk(0.8%, 0.4%, 0%, 5.1%)
lab(95.1, -0.15, -0.6)
lch(95.1, 0.62, 255.96)
oklch(95.8%, 0.0017, 249.44)
hwb(210, 94.1%, 5.1%)
Harmony colors
Accessibility
Black text reads better on this background (18.57:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#f0f0f2 · ΔE 0.8
Deuteranopia
#f0f0f2 · ΔE 0.8
Tritanopia
#f0f2f2 · ΔE 0.8
Achromatopsia
#f1f1f1 · ΔE 0.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #f0f1f2;
bg-[#f0f1f2]
Related colors
Frequently asked questions
#f0f1f2 (#f0f1f2) is rgb(240, 241, 242) in RGB.
No, #f0f1f2 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
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 #f0f1f2, or check how it holds up for accessibility.