Nocturnal Study color palette
Nocturnal Study is a 4-color palette drawing on blues, teals and cyans, purples and neutrals. In OKLCH its lightness runs from 34% (#1F3B51, dark) to 93% (#DFE7FC, very light), and its most saturated color, #1F3B51, is muted. 2 of its 3 chromatic colors sit on the cool side of the hue wheel. 2 of its 6 color pairs reach the WCAG AA ratio of 4.5:1 for body text. It is tagged cold, blue, muted, calm and colorblind-friendly.
- Midnight Green #1F3B51
- Cerulean #4D7785
- Cool Steel #AAA3C5
- Gainsboro #DFE7FC
Color codes
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| Midnight Green | #1F3B51 | rgb(31, 59, 81) | hsl(206, 45%, 22%) | oklch(34.1% 0.052 243.9) |
| Cerulean | #4D7785 | rgb(77, 119, 133) | hsl(195, 27%, 41%) | oklch(54.4% 0.051 221) |
| Cool Steel | #AAA3C5 | rgb(170, 163, 197) | hsl(252, 23%, 71%) | oklch(73.3% 0.049 294.6) |
| Gainsboro | #DFE7FC | rgb(223, 231, 252) | hsl(223, 83%, 93%) | oklch(92.8% 0.03 269.1) |
Accessibility
The best text and background pairs in Nocturnal Study, by WCAG 2 contrast ratio, with the APCA lightness contrast (Lc) of the text on its background.
| Pair | WCAG 2 | Level | APCA Lc |
|---|---|---|---|
| #DFE7FC on #1F3B51 | 9.42:1 | AAA | Lc -84.7 |
| #1F3B51 on #AAA3C5 | 4.86:1 | AA | Lc 47.4 |
| #DFE7FC on #4D7785 | 3.95:1 | AA large | Lc -63.6 |
Color vision
No pair of colors comes within ΔE 0.06 of another under protanopia, deuteranopia, tritanopia or achromatopsia. It is tagged colorblind-friendly: every pair stays at least ΔE 0.14 apart.
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/1f3b51-4d7785-aaa3c5-dfe7fc.json.
Make it your own
Edit the colors, build a full light and dark color system from them, or see them on real UI.