Skip to content
PantoneTools
blue
Open Color

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

Sample text · 17.71 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 1.19 : 1
AA Normal
AA Large
AAA Normal
AAA Large

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.

Copied #FDFDFE

50

#FDFDFE

#FDFDFE

Copied #FBFCFC

100

#FBFCFC

#FBFCFC

Copied #F8F9FA

200

#F8F9FA

#F8F9FA

Copied #F4F6F7

300

#F4F6F7

#F4F6F7

Copied #EFF1F3

400

#EFF1F3

#EFF1F3

Copied #E9ECEF

500

#E9ECEF

#E9ECEF

Copied #C6C9CB

600

#C6C9CB

#C6C9CB

Copied #97999B

700

#97999B

#97999B

Copied #696A6C

800

#696A6C

#696A6C

Copied #3A3B3C

900

#3A3B3C

#3A3B3C

Copied #1C1C1D

950

#1C1C1D

#1C1C1D

Lighter tints (mixed with white)

Copied #ECEFF1

15%

#ECEFF1

Copied #F0F2F4

30%

#F0F2F4

Copied #F3F5F6

45%

#F3F5F6

Copied #F7F8F9

60%

#F7F8F9

Copied #FAFAFB

75%

#FAFAFB

Darker shades (mixed with black)

Copied #D9DCDE

15%

#D9DCDE

Copied #C7C9CC

30%

#C7C9CC

Copied #B3B5B7

45%

#B3B5B7

Copied #9B9D9F

60%

#9B9D9F

Copied #7D7E80

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

Copied #E9ECEF

#E9ECEF

#E9ECEF

Copied #F0EDEA

#F0EDEA

#F0EDEA

Triadic

Three colors 120° apart

Copied #E9ECEF

#E9ECEF

#E9ECEF

Copied #F0EAED

#F0EAED

#F0EAED

Copied #EDF0EA

#EDF0EA

#EDF0EA

Analogous

Two neighbors ±30° on the wheel

Copied #EAF0F0

#EAF0F0

#EAF0F0

Copied #E9ECEF

#E9ECEF

#E9ECEF

Copied #EAEAF0

#EAEAF0

#EAEAF0

Split-complementary

Base + two colors flanking its complement

Copied #E9ECEF

#E9ECEF

#E9ECEF

Copied #F0EAEA

#F0EAEA

#F0EAEA

Copied #F0F0EA

#F0F0EA

#F0F0EA

Tetradic

Two complementary pairs

Copied #E9ECEF

#E9ECEF

#E9ECEF

Copied #EDEAF0

#EDEAF0

#EDEAF0

Copied #F0EDEA

#F0EDEA

#F0EDEA

Copied #EDF0EA

#EDF0EA

#EDF0EA

Square

Four colors evenly spaced 90° apart

Copied #E9ECEF

#E9ECEF

#E9ECEF

Copied #F0EAF0

#F0EAF0

#F0EAF0

Copied #F0EDEA

#F0EDEA

#F0EDEA

Copied #EAF0EA

#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.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #F4F4F4

RAL 9003

#F4F4F4

Signal white

Copied #F6F6F6

RAL 9016

#F6F6F6

Traffic white

Copied #FFFFFF

RAL 9010

#FFFFFF

Pure white

Copied #D7D7D7

RAL 7035

#D7D7D7

Light grey

Copied #D7D7D7

RAL 9018

#D7D7D7

Papyrus white

Copied #E7EBDA

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
design-token
ui
blue

Open Color values are tuned for digital UI. For print, treat as a starting point and proof against the substrate.

Open Color · Gray 2 — #E9ECEF | PantoneTools