Gray 50

#f9fafb

gray-50

The lightest gray, pure and neutral for clean designs.

Color Values

Hex#f9fafb
RGBrgb(249, 250, 251)
HSLhsl(210, 20%, 98%)

How to Use

Tailwind CSS

Tailwind Classeshtml
<!-- Tailwind CSS Classes -->
<div class="gray-50">
  Background
</div>
<p class="gray-50">
  Text
</p>
<div class="gray-50 border">
  Border
</div>

CSS

CSS Codecss
/* CSS Variables */
--color-gray-50: #f9fafb;

/* Direct Usage */
.element {
  color: #f9fafb;
  background-color: rgb(249, 250, 251);
}

Best Use Cases

Page backgrounds
Card backgrounds
Light mode base

Find More Colors

Explore all 242 Tailwind CSS colors with our color tools.

Browse Colors