10 color roles
Every color has a defined purpose. Use the buttons on the right to copy it in any format.
primary#1989eargb(25, 137, 234)hsl(207.8, 83.3%, 50.8%)primaryHover#0d63afrgb(13, 99, 175)hsl(208.1, 86.2%, 36.9%)primaryActive#074377rgb(7, 67, 119)hsl(207.9, 88.9%, 24.7%)textMain#232629rgb(35, 38, 41)hsl(210, 7.9%, 14.9%)textSub#6a737crgb(106, 115, 124)hsl(210, 7.8%, 45.1%)bg#f9fafargb(249, 250, 250)hsl(180, 9.1%, 97.8%)surface#f4f5f6rgb(244, 245, 246)hsl(210, 10%, 96.1%)border#e3e6e8rgb(227, 230, 232)hsl(204, 9.8%, 90%)link#0a61adrgb(10, 97, 173)hsl(208, 89.1%, 35.9%)accent#f2882crgb(242, 136, 44)hsl(27.9, 88.4%, 56.1%)How to use it
Written by hand for the hue family and lightness of this palette, not assembled from a template.
The lead color sits in the middle of the lightness range, which makes it the most adaptable: both light and dark themes are easy to build on.
What it looks like in a real interface
The same palette rendered across all three platforms — the fastest way to judge whether it works.
Build your product with this palette
Navigation, buttons, cards and text hierarchy — previewed in one go.
Primary actionLearn moreAccessibility contrast check
Calculated to WCAG 2.1. AA is the accessibility baseline, AAA the enhanced level.
| Foreground / background | Ratio | Body text | Large text |
|---|---|---|---|
| Body text / page background | 14.54:1 | AAA | AAA |
| Body text / card background | 13.93:1 | AAA | AAA |
| Brand color / page background | 3.46:1 | AA | AA |
Export to your project
Four formats, ready to paste. Or fetch them by URL from your tooling or AI agent.
CSS variables
:root {
--color-primary: #1989ea; /* Primary */
--color-primaryHover: #0d63af; /* Primary hover */
--color-primaryActive: #074377; /* Primary active */
--color-textMain: #232629; /* Text main */
--color-textSub: #6a737c; /* Text sub */
--color-bg: #f9fafa; /* Background */
--color-surface: #f4f5f6; /* Surface */
--color-border: #e3e6e8; /* Border */
--color-link: #0a61ad; /* Link */
--color-accent: #f2882c; /* Accent */
}SCSS variables
$color-primary: #1989ea; // Primary
$color-primaryHover: #0d63af; // Primary hover
$color-primaryActive: #074377; // Primary active
$color-textMain: #232629; // Text main
$color-textSub: #6a737c; // Text sub
$color-bg: #f9fafa; // Background
$color-surface: #f4f5f6; // Surface
$color-border: #e3e6e8; // Border
$color-link: #0a61ad; // Link
$color-accent: #f2882c; // AccentTailwind config
// tailwind.config.js: Midnight Ink
module.exports = {
theme: {
extend: {
colors: {
'primary': '#1989ea',
'primaryHover': '#0d63af',
'primaryActive': '#074377',
'textMain': '#232629',
'textSub': '#6a737c',
'bg': '#f9fafa',
'surface': '#f4f5f6',
'border': '#e3e6e8',
'link': '#0a61ad',
'accent': '#f2882c',
},
},
},
};Machine-readable JSON
{
"name": "Midnight Ink",
"platform": "web",
"tags": [
"Cool",
"Blue"
],
"advice": {
"family": "Blue",
"depth": "The lead color sits in the middle of the lightness range, which makes it the most adaptable: both light and dark themes are easy to build on.",
"muted": null,
"suit": "A natural base for dark themes, carrying calm and order.",
"avoid": "Cool blue feels reserved in promotions that need heat and momentum.",
"pair": "White and pale gray are the safe pairing; a warm accent (orange or yellow) makes calls to action pop."
},
"roles": {
"primary": "#1989ea",
"primaryHover": "#0d63af",
"primaryActive": "#074377",
"textMain": "#232629",
"textSub": "#6a737c",
"bg": "#f9fafa",
"surface": "#f4f5f6",
"border": "#e3e6e8",
"link": "#0a61ad",
"accent": "#f2882c"
},
"contrast": {
"textOnBg": {
"ratio": 14.54,
"level": "AAA"
},
"primaryOnBg": {
"ratio": 3.46,
"level": "AA"
},
"textOnSurface": {
"ratio": 13.93,
"level": "AAA"
}
}
}