Color

#021827

#021827
hex#021827
rgbrgb(2, 24, 39)
hslhsl(204, 90%, 8%)
oklchoklch(0.2 0.042 240.4)
Closest name: Black Stallion (#0e191c)Relative luminance 0.0081

Tints & shades

Every swatch is its own page — click any to analyze it.

Harmonies

Complementary

Open in tool →

#271102

#022723 · #020627

#270218 · #182702

Split-complementary

Open in tool →

#270206 · #272302

#230227 · #271102 · #062702

Contrast

#021827 as textRatioAAAA largeAAAFix
Aaon white
18.06:1passpasspassPasses AAA — no fix needed.
Aaon black
1.16:1failfailfail
  • AA: use #0a7bc7 as the text (4.67:1)
  • AAA: use #169bf3 as the text (7.02:1)
  • AA: or shift the background to #808080 (4.57:1)
  • AAA: or shift the background to #a3a3a3 (7.16:1)

Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #021827 as the background.

Brands using this color

Palettes built around it

Fonts for this mood

#021827 reads as cool, vivid, dark. The font library is tagged with the same vocabulary:

mcpConnect your agent — build around #021827
live endpoint

Point any MCP client at the shared colors endpoint and your agent gets the same engine as this page — generate_palette, check_contrast, analyze_color — read-only, no key. Every palette it proposes comes with a /palettes/new/… link: open it, lock what you like, paste the link back.

endpointhttps://mcp.brandsweets.com/colors/mcp
claude mcp add --transport http brandsweets-colors https://mcp.brandsweets.com/colors/mcp
try this prompt

analyze #021827 and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link

tool url/palettes/new/021827-9cafc4-df4e5a-1f222d-e9f1f0?lock=0&style=vibrant

Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.

Machine-readable: color.md