FeaturesCommunityGuidesUse casesCompareToolsBlogPricing
Orlume logo
Color palettes· Focused, modern

Midnight UI: a dark mode website color palette

Good dark mode avoids pure black and pure white: a deep blue-gray page, slightly lighter cards for depth, and off-white text. Accents need extra lightness to keep contrast.

#0F1115

Background

#181B22

Surface

#E6E8EE

Text

#6EA8FE

Accent

#7EE2B8

Highlight

Live preview

The palette as a real page

midnight.orlume.site
Focused, modern

Make the first impression the one they remember.

The Midnight UI palette set as a real page: #E6E8EE text on #0F1115, every action in #6EA8FE.

Start freeSee how it works

Designed first

Surface #181B22 keeps cards distinct from the page.

Built in minutes

Surface #181B22 keeps cards distinct from the page.

Live in one click

Surface #181B22 keeps cards distinct from the page.

Headings in Geist, body in Geist.

WCAG 2.2, computed

Contrast

  • AaBody text on the page#E6E8EE on #0F111515.4:1AAA
  • AaBody text on cards#E6E8EE on #181B2214.0:1AAA
  • AaAccent links and icons on the page#6EA8FE on #0F11157.8:1AAA
  • AaHighlight on the page#7EE2B8 on #0F1115 · large text12.1:1AAA
  • AaPage color on an accent button#0F1115 on #6EA8FE · large text7.8:1AAA

AA needs 4.5:1 for body text and 3:1 for large text; AAA needs 7:1. Check any pair in the contrast checker.

Take it with you

Copy the palette

:root {
  --color-background: #0F1115;
  --color-surface: #181B22;
  --color-text: #E6E8EE;
  --color-accent: #6EA8FE;
  --color-highlight: #7EE2B8;
}
HEX, RGB and HSL

Every color and what it is for

Each color in the Midnight UI palette in HEX, RGB and HSL, with its role and share of the page
RoleHEXRGBHSLUse it forShare
AaBackground#0F1115rgb(15, 17, 21)hsl(220, 17%, 7%)The page itself, behind everything. Text on it reads best in white.About 60%
AaSurface#181B22rgb(24, 27, 34)hsl(222, 17%, 11%)Cards, panels, the header and form fields, set apart from the page. Text on it reads best in white.About 20 to 30%
AaText#E6E8EErgb(230, 232, 238)hsl(225, 19%, 92%)Headings and body copy: every word meant to be read. Text on it reads best in black.All reading text
AaAccent#6EA8FErgb(110, 168, 254)hsl(216, 99%, 71%)Buttons, links and active states only, so the next action is always obvious. Text on it reads best in black.About 10%
AaHighlight#7EE2B8rgb(126, 226, 184)hsl(155, 63%, 69%)Small moments: badges, success states, a key number or tag. Text on it reads best in black.A few percent
Tints and shades

The accent, from 50 to 900

Five colors cover the page; a real site also needs lighter and darker steps of the accent for hover states, tinted backgrounds, borders and focus rings. These are mixed from #6EA8FE toward white and black, with 500 as the accent itself.

  • 50
    #F8FBFF
  • 100
    #E9F2FF
  • 200
    #CCE1FF
  • 300
    #AFCFFE
  • 400
    #8EBBFE
  • 500
    #6EA8FE
  • 600
    #5E8FD8
  • 700
    #4B72AD
  • 800
    #37547F
  • 900
    #253956
@theme {
  --color-accent-50: #F8FBFF;
  --color-accent-100: #E9F2FF;
  --color-accent-200: #CCE1FF;
  --color-accent-300: #AFCFFE;
  --color-accent-400: #8EBBFE;
  --color-accent-500: #6EA8FE;
  --color-accent-600: #5E8FD8;
  --color-accent-700: #4B72AD;
  --color-accent-800: #37547F;
  --color-accent-900: #253956;
}
Keep browsing

More website color palettes

Questions

Questions, answered.

The things people ask before they start building.

What colors are best for a dark mode website?

Good dark mode avoids pure black and pure white: a deep blue-gray page, slightly lighter cards for depth, and off-white text. Accents need extra lightness to keep contrast. The Midnight UI palette uses #0F1115 for the page, #E6E8EE for text, #6EA8FE for actions and #7EE2B8 as a highlight.

Is the Midnight UI palette accessible?

Body text scores 15.4:1 against the background, which passes WCAG AAA. Every pairing a site uses is scored on this page.

What are the hex codes for the Midnight UI palette?

Background #0F1115, Surface #181B22, Text #E6E8EE, Accent #6EA8FE, Highlight #7EE2B8. Every color is listed on this page in HEX, RGB and HSL, with CSS and Tailwind variables to copy.

How should I use these colors on a dark mode website?

Use #0F1115 for about 60% of the page, #181B22 for cards and panels, #E6E8EE for all reading text, and keep #6EA8FE for buttons and links only, about 10% of the page, so actions stand out. Save #7EE2B8 for small details such as badges and success states.

Can an AI website builder pick a color palette for me?

Yes. Orlume (orlume.site) decides the palette, typography and layout for your brief in its design pass, before any code is written, then builds the site in React and Next.js and deploys it in one click.

Orlume logoStill stuck? Email us
Orlume logo

Or let Orlume pick the colors for you.

Describe the site you want. Watch it get designed, not just generated. Then publish it to its own orlume.site address.

  • Free to start
  • No card required
  • Publish to a live URL
  • You own the code