Color #f0f0f2
A nearly neutral, gray-leaning very light blue.
Conversions
#f0f0f2
rgb(240, 240, 242)
hsl(240, 7.1%, 94.5%)
hsv(240, 0.8%, 94.9%)
cmyk(0.8%, 0.8%, 0%, 5.1%)
lab(94.85, 0.36, -0.96)
lch(94.85, 1.03, 290.56)
oklch(95.6%, 0.0027, 285.07)
hwb(240, 94.1%, 5.1%)
Harmony colors
Accessibility
Black text reads better on this background (18.45:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#f0f0f2 · ΔE 0
Deuteranopia
#f0f0f1 · ΔE 0.5
Tritanopia
#f0f1f1 · ΔE 1.3
Achromatopsia
#f0f0f0 · ΔE 1.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #f0f0f2;
bg-[#f0f0f2]
Related colors
Frequently asked questions
#f0f0f2 (#f0f0f2) is rgb(240, 240, 242) in RGB.
No, #f0f0f2 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 #f0f0f2, or check how it holds up for accessibility.