Midnight Watch color palette
Midnight Watch is a 5-color palette drawing on blues and neutrals. In OKLCH its lightness runs from 21% (#0F172A, very dark) to 93% (#E2E8F0, very light), and its most saturated color, #38BDF8, is moderately saturated. 4 of its 4 chromatic colors sit on the cool side of the hue wheel. 5 of its 10 color pairs reach the WCAG AA ratio of 4.5:1 for body text. It is tagged cold, blue and muted.
- Rich Black #0F172A
- Charcoal #334155
- Cool Steel #94A3B8
- Vivid Sky Blue #38BDF8
- Gainsboro #E2E8F0
Color codes
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| Rich Black | #0F172A | rgb(15, 23, 42) | hsl(222, 47%, 11%) | oklch(20.8% 0.04 265.8) |
| Charcoal | #334155 | rgb(51, 65, 85) | hsl(215, 25%, 27%) | oklch(37.2% 0.039 257.3) |
| Cool Steel | #94A3B8 | rgb(148, 163, 184) | hsl(215, 20%, 65%) | oklch(71.1% 0.035 256.8) |
| Vivid Sky Blue | #38BDF8 | rgb(56, 189, 248) | hsl(198, 93%, 60%) | oklch(75.4% 0.139 232.7) |
| Gainsboro | #E2E8F0 | rgb(226, 232, 240) | hsl(214, 32%, 91%) | oklch(92.9% 0.013 255.5) |
Accessibility
The best text and background pairs in Midnight Watch, by WCAG 2 contrast ratio, with the APCA lightness contrast (Lc) of the text on its background.
| Pair | WCAG 2 | Level | APCA Lc |
|---|---|---|---|
| #E2E8F0 on #0F172A | 14.48:1 | AAA | Lc -91.4 |
| #E2E8F0 on #334155 | 8.40:1 | AAA | Lc -82.7 |
| #0F172A on #38BDF8 | 8.33:1 | AAA | Lc 60.9 |
Color vision
1 pair of colors come within ΔE 0.06 of each other under at least one simulation.
Protanopia
Deuteranopia
Tritanopia
Achromatopsia
Use it in code
Install these colors as Tailwind CSS v4 theme colors with shadcn: npx shadcn@latest add https://getcolors.so/r/palette/0f172a-334155-94a3b8-38bdf8-e2e8f0.json.
Make it your own
Edit the colors, build a full light and dark color system from them, or see them on real UI.