Color

#28318f

#28318f
hex#28318f
rgbrgb(40, 49, 143)
hslhsl(235, 56%, 36%)
oklchoklch(0.371 0.153 272.2)
Closest name: Depths of Night (#2c319b)Relative luminance 0.0463

Tints & shades

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

Harmonies

Complementary

Open in tool →

#8f8728

#28648f · #53288f

#8f2831 · #318f28

Split-complementary

Open in tool →

#8f5328 · #648f28

#8f2864 · #8f8728 · #288f53

Contrast

#28318f as textRatioAAAA largeAAAFix
Aaon white
10.9:1passpasspassPasses AAA — no fix needed.
Aaon black
1.93:1failfailfail
  • AA: use #646dd3 as the text (4.67:1)
  • AAA: use #888fdd as the text (7.02:1)
  • AA: or shift the background to #a8a8a8 (4.58:1)
  • AAA: or shift the background to #d1d1d1 (7.14:1)

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

Brands using this color

No public brand in the corpus uses this exact color yet. Extract a brand to add one.

Fonts for this mood

#28318f reads as cool, modern. The font library is tagged with the same vocabulary:

mcpConnect your agent — build around #28318f
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 #28318f and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link

tool url/palettes/new/28318f-9e9cc4-df8d4e-241f2d-e9eef1?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