Dark gray
#20272F
#20272F is a dark gray with almost no color, at step 900 of its 50–950 scale. White text on it has a contrast of 15.1:1. It is readable as text on white (15.1:1).
#20272F shades and tints
Eleven steps from 50 to 950 with #20272F kept exactly at step 900. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 F1F8FF
- 100 E5ECF4
- 200 D2DAE3
- 300 B8C0CA
- 400 9BA4AE
- 500 808992
- 600 666E78
- 700 4F565F
- 800 3A4048
- 900 20272F
- 950 14191E
Tailwind CSS v4 theme
@theme { --color-gray-50: #f1f8ff; --color-gray-100: #e5ecf4; --color-gray-200: #d2dae3; --color-gray-300: #b8c0ca; --color-gray-400: #9ba4ae; --color-gray-500: #808992; --color-gray-600: #666e78; --color-gray-700: #4f565f; --color-gray-800: #3a4048; --color-gray-900: #20272f; --color-gray-950: #14191e;}Is #20272F readable?
Contrast for text on #20272F and for #20272F used as text. WCAG 2.2 asks for 4.5:1 for body text and 3:1 for large text; APCA Lc rates how comfortable the text is to read.
- AaThe quick brown foxCheck in contrast tool
White text on it
AAA · 15.1APCA Lc 105 · Ideal for body text
- AaThe quick brown foxCheck in contrast tool
Dark text on it
Fail · 1.3APCA Lc 0 · Not readable
- AaThe quick brown foxCheck in contrast tool
As text on white
AAA · 15.1APCA Lc 102 · Ideal for body text
- AaThe quick brown foxClosest readable: #747D86 · 4.5:1 Check in contrast tool
As text on a dark background
Fail · 1.3APCA Lc 0 · Not readable
Color palettes with #20272F
Six palettes built around #20272F, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#20272F · #897ECB · #21CDFF · #F3E2FF · #242C35
- Complementary#20272F · #D8A76C · #E7A200 · #C5E2FF · #1B2431
- Split complementary#20272F · #C8673D · #D0AF00 · #C3E2FF · #25303B
- Triadic#20272F · #E8778D · #88C82A · #D2EAFF · #1E2731
- Tetradic#20272F · #CF81BA · #E89218 · #B3F5DC · #27323B
- Monochromatic#20272F · #5C94C2 · #78B8FF · #C0DDFF · #1F2832
#20272F as a brand color
What a UI color system built from #20272F looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #F1F8FF
- Brand 100, #E5ECF4
- Brand 200, #D2DAE3
- Brand 300, #B8C0CA
- Brand 400, #9BA4AE
- Brand 500, #808992
- Brand 600, #666E78
- Brand 700, #4F565F
- Brand 800, #3A4048
- Brand 900, #20272F
- Brand 950, #14191E
Neutral
- Neutral 50, #F9FAFB
- Neutral 100, #F3F4F5
- Neutral 200, #E3E5E8
- Neutral 300, #D1D4D8
- Neutral 400, #9DA1A7
- Neutral 500, #6F747A
- Neutral 600, #50555A
- Neutral 700, #3C4146
- Neutral 800, #25282D
- Neutral 900, #15181C
- Neutral 950, #070A0E
Success
- Success 50, #E5FFE9
- Success 100, #BEFECA
- Success 200, #A7EDB5
- Success 300, #87D597
- Success 400, #65B979
- Success 500, #3D9556
- Success 600, #278143
- Success 700, #06672E
- Success 800, #004E20
- Success 900, #003614
- Success 950, #001F09
Warning
- Warning 50, #FFF5E9
- Warning 100, #FFE7CA
- Warning 200, #FFD096
- Warning 300, #EEB367
- Warning 400, #DC9C45
- Warning 500, #B67917
- Warning 600, #956000
- Warning 700, #764B00
- Warning 800, #593800
- Warning 900, #3E2500
- Warning 950, #251400
Danger
- Danger 50, #FFF4F2
- Danger 100, #FFE4E0
- Danger 200, #FFCBC4
- Danger 300, #FFA398
- Danger 400, #F7766B
- Danger 500, #D9584E
- Danger 600, #BF3F38
- Danger 700, #9A211F
- Danger 800, #7B070C
- Danger 900, #580004
- Danger 950, #360002
Info
- Info 50, #F0F8FF
- Info 100, #DBEEFF
- Info 200, #B9DEFF
- Info 300, #84C7FF
- Info 400, #5FAAE7
- Info 500, #408ECB
- Info 600, #297AB6
- Info 700, #00598F
- Info 800, #00436D
- Info 900, #002E4D
- Info 950, #001A2F
- Primary buttons use Brand 900 with white text, at 15.1:1.
- In dark mode primary lifts to Brand 500 so it reads on the dark background, at 5.6:1.
- Neutrals carry a hint of its hue, so grays, borders and surfaces feel related to the brand.
- Success, warning, danger and info lean toward its hue and stay easy to tell apart.
Colors related to #20272F
Lighter and darker versions of #20272F.