#E4E4E7
Tailwind zinc-200
#E4E4E7 is a grey colour. In RGB it is 228 red, 228 green and 231 blue, which converts to a hue of 240 degrees, 6% saturation and 90% lightness. It is Tailwind zinc-200 in that design system's palette.
Color values
| HEX | #E4E4E7 |
|---|---|
| RGB | rgb(228, 228, 231) |
| HSL | hsl(240, 6%, 90%) |
| HSV | hsv(240, 1%, 91%) |
| CMYK | cmyk(1%, 1%, 0%, 9%) |
Contrast and accessibility
Against white the contrast ratio is 1.27:1, and against black it is 16.55:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
| Background | Ratio | Normal text | Large text |
|---|---|---|---|
| White | 1.27:1 | Fail | Fail |
| Black | 16.55:1 | AAA | AAA |
Tints and shades
Lighter tints move #E4E4E7 toward white, and darker shades move it toward black.
Tints
Shades
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Code
| CSS | color: #E4E4E7; |
|---|---|
| CSS rgb() | color: rgb(228 228 231); |
| Tailwind | bg-[#e4e4e7] |
| SwiftUI | Color(red: 0.894, green: 0.894, blue: 0.906) |
| Android | Color.parseColor("#E4E4E7") |
Closest named color
The nearest CSS colour keyword to #E4E4E7 is gainsboro (#DCDCDC).