Dark gray
#403F42
#403F42 is a dark gray with almost no color, at step 800 of its 50–950 scale. White text on it has a contrast of 10.5:1. It is readable as text on white (10.5:1).
#403F42 shades and tints
Eleven steps from 50 to 950 with #403F42 kept exactly at step 800. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 F7F6F9
- 100 EBEAED
- 200 D9D8DB
- 300 C0BFC2
- 400 A3A2A6
- 500 88878A
- 600 6E6C70
- 700 565558
- 800 403F42
- 900 2C2B2D
- 950 18181A
Tailwind CSS v4 theme
@theme { --color-gray-50: #f7f6f9; --color-gray-100: #ebeaed; --color-gray-200: #d9d8db; --color-gray-300: #c0bfc2; --color-gray-400: #a3a2a6; --color-gray-500: #88878a; --color-gray-600: #6e6c70; --color-gray-700: #565558; --color-gray-800: #403f42; --color-gray-900: #2c2b2d; --color-gray-950: #18181a;}Is #403F42 readable?
Contrast for text on #403F42 and for #403F42 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 · 10.5APCA Lc 98 · Ideal for body text
- AaThe quick brown foxCheck in contrast tool
Dark text on it
Fail · 1.8APCA Lc 9 · Not readable
- AaThe quick brown foxCheck in contrast tool
As text on white
AAA · 10.5APCA Lc 94 · Ideal for body text
- AaThe quick brown foxClosest readable: #7D7C7F · 4.5:1 Check in contrast tool
As text on a dark background
Fail · 1.8APCA Lc 8 · Not readable
Color palettes with #403F42
Six palettes built around #403F42, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#403F42 · #C574B4 · #8BB0FF · #FFDFE9 · #26252C
- Complementary#403F42 · #9BBF76 · #93CB4F · #EADDFF · #292632
- Split complementary#403F42 · #D0AD54 · #61C35F · #E5DAFF · #2D2930
- Triadic#403F42 · #BE7A48 · #00D4C0 · #E5DCFF · #211F26
- Tetradic#403F42 · #BF6A4F · #89CB22 · #91F0FF · #332C39
- Monochromatic#403F42 · #8C73D1 · #AE97F5 · #EEDEFF · #312B3A
#403F42 as a brand color
What a UI color system built from #403F42 looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #F7F6F9
- Brand 100, #EBEAED
- Brand 200, #D9D8DB
- Brand 300, #C0BFC2
- Brand 400, #A3A2A6
- Brand 500, #88878A
- Brand 600, #6E6C70
- Brand 700, #565558
- Brand 800, #403F42
- Brand 900, #2C2B2D
- Brand 950, #18181A
Neutral
- Neutral 50, #FAFAFA
- Neutral 100, #F4F4F4
- Neutral 200, #E5E5E6
- Neutral 300, #D4D4D5
- Neutral 400, #A1A0A2
- Neutral 500, #737375
- Neutral 600, #545456
- Neutral 700, #404042
- Neutral 800, #282829
- Neutral 900, #181819
- Neutral 950, #0A0A0B
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 800 with white text, at 10.5:1.
- In dark mode primary lifts to Brand 500 so it reads on the dark background, at 5.5: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 #403F42
Lighter and darker versions of #403F42.