Gray 2
gray-2 · #E9ECEF
HEX
#E9ECEF
RGB
rgb(233, 236, 239)
CMYK
cmyk(3%, 1%, 0%, 6%)
HSL
hsl(210, 16%, 93%)
LAB
lab(93.3, -0.5, -1.8)
What is Gray 2?
Gray 2 is the gray-2 reference in the Open Color. Its sRGB value is #E9ECEF (rgb 233, 236, 239). It sits in the blue family. Open Color, an open-source color palette by Heeyeun designed for UI work. 13 hues across 10 shades (0 to 9) tuned for screen legibility and accessibility. See disclaimer for accuracy and trademark notes.
Accessibility
WCAG 2.1 contrast checks for Gray 2 as a background.
Black text on this color
White text on this color
Shades, tints & tonal scale of Gray 2
An 11-step tonal scale derived from Gray 2 (#E9ECEF). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.
50
#FDFDFE
#FDFDFE
100
#FBFCFC
#FBFCFC
200
#F8F9FA
#F8F9FA
300
#F4F6F7
#F4F6F7
400
#EFF1F3
#EFF1F3
500
#E9ECEF
#E9ECEF
600
#C6C9CB
#C6C9CB
700
#97999B
#97999B
800
#696A6C
#696A6C
900
#3A3B3C
#3A3B3C
950
#1C1C1D
#1C1C1D
Lighter tints (mixed with white)
15%
#ECEFF1
30%
#F0F2F4
45%
#F3F5F6
60%
#F7F8F9
75%
#FAFAFB
Darker shades (mixed with black)
15%
#D9DCDE
30%
#C7C9CC
45%
#B3B5B7
60%
#9B9D9F
75%
#7D7E80
Color harmonies for Gray 2
Classic color-theory harmonies derived from rotating the hue of Gray 2. Use these to build accent palettes, brand systems, and accessible UI color pairings.
Complementary
180° opposite — strongest contrast
#E9ECEF
#E9ECEF
#F0EDEA
#F0EDEA
Triadic
Three colors 120° apart
#E9ECEF
#E9ECEF
#F0EAED
#F0EAED
#EDF0EA
#EDF0EA
Analogous
Two neighbors ±30° on the wheel
#EAF0F0
#EAF0F0
#E9ECEF
#E9ECEF
#EAEAF0
#EAEAF0
Split-complementary
Base + two colors flanking its complement
#E9ECEF
#E9ECEF
#F0EAEA
#F0EAEA
#F0F0EA
#F0F0EA
Tetradic
Two complementary pairs
#E9ECEF
#E9ECEF
#EDEAF0
#EDEAF0
#F0EDEA
#F0EDEA
#EDF0EA
#EDF0EA
Square
Four colors evenly spaced 90° apart
#E9ECEF
#E9ECEF
#F0EAF0
#F0EAF0
#F0EDEA
#F0EDEA
#EAF0EA
#EAF0EA
Gray 2 in every color space
Full conversion of Gray 2 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.
HEX
#E9ECEF
RGB
rgb(233, 236, 239)
CMYK
cmyk(3%, 1%, 0%, 6%)
HSL
hsl(210, 16%, 93%)
HSV
hsv(210, 3%, 94%)
HWB
hwb(210 91% 6%)
CIE Lab
lab(93.3 -0.5 -1.8)
OKLCH
oklch(94.2% 0.005 247.9)
XYZ (D65)
xyz(79.18, 83.55, 93.60)
Copy-ready code for Gray 2
Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.
CSS
color: #E9ECEF;
background-color: #E9ECEF;CSS variable
:root {
--color-gray-2: #E9ECEF;
}Tailwind config
// tailwind.config.js
colors: {
'gray-2': '#E9ECEF',
}Sass
$color-gray-2: #E9ECEF;Swift UIColor
UIColor(red: 0.914, green: 0.925, blue: 0.937, alpha: 1.0)Android XML
<color name="gray-2">#E9ECEF</color>Closest match in every color system
The nearest Gray 2 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.
Closest in Open Color
Top 6 ΔE2000-closest entries within the same collection.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 9003
#F4F4F4
Signal white
RAL 9016
#F6F6F6
Traffic white
RAL 9010
#FFFFFF
Pure white
RAL 7035
#D7D7D7
Light grey
RAL 9018
#D7D7D7
Papyrus white
RAL 9002
#E7EBDA
Grey white
FAQ about Gray 2
What is the HEX code for Gray 2?
Gray 2 (gray-2) has the HEX code #E9ECEF. In RGB it is rgb(233, 236, 239), and in CMYK it is cmyk(3%, 1%, 0%, 6%).
What is the OKLCH value of Gray 2?
Gray 2 converts to oklch(0.942 0.005 247.9). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.
Is Gray 2 accessible for body text?
Used as a background, Gray 2 has a contrast ratio of 17.71:1 with black text and 1.19:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.
What is the closest Pantone to Gray 2?
The closest Pantone reference to Gray 2 by ΔE2000 perceptual distance is Pantone Cool Gray 1 C (#D9D9D6). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.
What is the closest RAL color to Gray 2?
The closest RAL Classic reference to Gray 2 by ΔE2000 distance is RAL 9003 (Signal white, #F4F4F4). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.
What is the complementary color of Gray 2?
The complementary color (180° opposite on the HSL color wheel) of Gray 2 is #F0EDEA. Use it for high-contrast accents, error states, or call-to-action pairings.
Data provenance & source
Open Color (Yeun)
Open Color, an open-source color palette by Heeyeun designed for UI designers and developers. 13 hues across 10 shades. Use as a designer-friendly palette alternative to Tailwind. Values are intentionally chosen for UI legibility and accessibility.
- Source type
- derived
- Confidence
- high
- License
- MIT
- Last reviewed
- 2026-05-24
Workflow tags
Open Color values are tuned for digital UI. For print, treat as a starting point and proof against the substrate.