hex#HEX Code#Dark Mode#Slate#Tailwind#Neutral
#0F172A HEX Color Code Details
The foundation of modern web dark mode: #0F172A (Slate 900). RGB(15, 23, 42), HSL(222°, 47%, 11%), contrast charts, dark surface layering, and UI palettes.
#1Copy
#0F172A
rgb(15, 23, 42)
hsl(222°, 47%, 11%)
#2Copy
#F8FAFC
rgb(248, 250, 252)
hsl(210°, 40%, 98%)
#3Copy
#1E293B
rgb(30, 41, 59)
hsl(217°, 33%, 17%)
#4Copy
#334155
rgb(51, 65, 85)
hsl(215°, 25%, 27%)
#5Copy
#94A3B8
rgb(148, 163, 184)
hsl(215°, 20%, 65%)
Live Website & UI Preview
Interactive MockupLive UI Simulation
C
StudioBrandFeaturesSolutionsPricing
Color Harmony in Action
#0F172A HEX Color Code
See how primary, secondary, and surface accents interact to produce balanced contrast, intuitive visual hierarchy, and readable typography.
Fast Visual Feedback
High-contrast accents immediately guide eye focus to primary conversion points and key notifications.
Accessible Typography
Tested against WCAG 2.1 compliance benchmarks for minimum contrast and maximum legibility.
Color Roles & Structure
#0F172A
Key Dark Surface (#0F172A)
#F8FAFC
High-Contrast White Text
#1E293B
Card & Modal Surface (Slate 800)
#334155
Divider & Border (Slate 700)
#94A3B8
Secondary Muted Text (Slate 400)
WCAG 2.1 Contrast & Accessibility RatingsAutomated Audit
Contrast Math & Formulas ↗Primary vs White (#FFFFFF)
17.85:1
AA Normal: PassAAA: Pass
Primary vs Dark (#94A3B8)
6.96:1
AA Normal: PassAAA: Large only
Primary vs Secondary (#F8FAFC)
17.06:1
Rating: AAA
Why This Palette Works
Pure pitch black (#000000) causes harsh halation effects on modern OLED and Retina screens. #0F172A includes a subtle blue slate undertone that gives dark interfaces natural atmospheric depth and superior readability.
Recommended Application Scenarios
Dark Mode App Shells
Developer documentation, developer tools, and code terminal backdrops.
Card & Container Hierarchy
Layering elevation with slate-800 (#1E293B) on top of slate-900.
Luxury Tech Hero Sections
High-end hardware landing pages and sleek crypto exchanges.