#F0F0FF Color (Hex and RGB)

#F0F0FF

rgb(240 240 255) · reads as light gray

#f0f0ff has RGB values (240, 240, 255). The color reads primarily as light gray in sRGB space.

Color values

FormatValueChannelsCopy
HEX#F0F0FFRF0GF0BFF
RGBrgb(240 240 255)R240G240B255
HSLhsl(240 100% 97%)H240°S100%L97%
OKLCHoklch(96% 0.02 286)L0.96C0.02H286°
HSVhsv(240, 6%, 100%)H240°S6%V100%
CMYKcmyk(6%, 6%, 0%, 0%)C6%M6%Y0%K0%

RGB mix

  • Red240 94.12%
  • Green240 94.12%
  • Blue255 100%

Base numbers

BaseRGB
Binary111100001111000011111111
Octal360360377
Decimal240240255
Hexf0f0ff

Shades & tints

Shades mix #F0F0FF with black; tints mix it with white. Click any swatch to explore it.

Shades

Tints

Color harmonies

Complementary

Opposite on the color wheel — maximum contrast.

Analogous

Neighbors 30° either side — calm and cohesive.

Triadic

Three hues spaced 120° apart — vibrant balance.

Monochromatic

Same hue and saturation, different lightness.

Similar brand colors

The closest colors from our brand palettes, measured in OKLab.

Contrast & accessibility

WCAG 2.1 contrast against white and black. Test other pairs in the contrast checker.

Aa

#F0F0FF on #FFFFFF

1.13:1

AA ✕AAA ✕AA Large ✕AAA Large ✕

Aa

#F0F0FF on #000000

18.61:1

AA ✓AAA ✓AA Large ✓AAA Large ✓

Aa

#FFFFFF on #F0F0FF

1.13:1

AA ✕AAA ✕AA Large ✕AAA Large ✕

Aa

#000000 on #F0F0FF

18.61:1

AA ✓AAA ✓AA Large ✓AAA Large ✓

Code snippets

  • CSScolor: #f0f0ff;
  • Backgroundbackground-color: #f0f0ff;
  • CSS variable--color-f0f0ff: #f0f0ff;
  • Modern CSScolor: oklch(96% 0.02 286);
  • SCSS$color-f0f0ff: #f0f0ff;
  • Tailwindbg-[#f0f0ff] text-[#f0f0ff]
  • HTML<div style="background-color: #f0f0ff"></div>

Brands that use this color 1

↑