# #313c87

A color — cool, modern. Deterministic analysis from BrandSweets (no inference).

## Values

- Hex: `#313c87`
- RGB: rgb(49, 60, 135)
- HSL: hsl(232, 47%, 36%)
- OKLCH: oklch(0.391 0.125 272.9)
- Relative luminance: 0.0563
- Nearest named color: Evening Magic (#363e7d, Δ 1.969) — https://brandsweets.com/colors/evening-magic
- Moods: cool, modern
- Page: https://brandsweets.com/colors/313c87

## Tints & shades

- Tints (toward white): #39469d, #4150b4, #5665c2, #6d79ca, #838ed2, #9aa2db, #b0b7e3, #cbcfec, #e1e4f4, #f8f8fc
- Shades (toward black): #2d377c, #293270, #232b61, #1f2656, #1b214b, #171c40, #131734, #0e1125, #090c1a, #05070f

## Harmonies

- Complementary: #877b31
- Analogous: #316787, #503187
- Triadic: #87313c, #3c8731
- Split-complementary: #875031, #678731
- Tetradic: #873167, #877b31, #318750

## Colors that go with #313c87

Named partners (harmony on the OKLCH wheel, co-occurrence in curated palettes and brand systems, and the neutrals that carry it), best first:

- **Charcoal** #36454f [role, pool] — Charcoal is the text near-black for #313c87: softer than #000 and cool enough to feel like part of the same palette. Seen in: dbt Labs (https://brandsweets.com/colors/brands/getdbt-com), Tumblr (https://brandsweets.com/colors/brands/tumblr-com), Harbour (https://brandsweets.com/palettes/cool#harbour), Codecademy (https://brandsweets.com/colors/brands/codecademy-com). — https://brandsweets.com/colors/charcoal
- **Steel Blue** #4682b4 [harmony, pool: analogous] — Steel Blue is #313c87's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. Seen in: Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), Glacier (https://brandsweets.com/palettes/cool#glacier), Hershey's (https://brandsweets.com/colors/brands/hersheys-com), Plaid (https://brandsweets.com/colors/brands/plaid-com). — https://brandsweets.com/colors/steelblue
- **Blue** #0000ff [pool] — 4 real palettes, including CVS's brand system and Procter & Gamble's brand system put Blue beside #313c87, as the supporting colour. Seen in: CVS (https://brandsweets.com/colors/brands/cvs-com), Procter & Gamble (https://brandsweets.com/colors/brands/pg-com), Alaska Airlines (https://brandsweets.com/colors/brands/alaskaair-com), Tesco (https://brandsweets.com/colors/brands/tesco-com). — https://brandsweets.com/colors/blue
- **Cornflower Blue** #6495ed [pool] — Designers have shipped Cornflower Blue with #313c87: 4 real palettes, including Blue Mono and Peacock's brand system, as the supporting colour. Seen in: Blue Mono (https://brandsweets.com/palettes/cool#blue-mono), Peacock (https://brandsweets.com/colors/brands/peacocktv-com), Blizzard (https://brandsweets.com/colors/brands/blizzard-com), Gopro (https://brandsweets.com/colors/brands/gopro-com). — https://brandsweets.com/colors/cornflowerblue
- **Crimson** #dc143c [pool] — Crimson is paired with #313c87 in 12 real palettes, including Walgreens's brand system and Casper Sleep's brand system, as the lead colour. Seen in: Walgreens (https://brandsweets.com/colors/brands/walgreens-com), Casper Sleep (https://brandsweets.com/colors/brands/casper-com), Marvel (https://brandsweets.com/colors/brands/marvel-com), Wells Fargo (https://brandsweets.com/colors/brands/wellsfargo-com). — https://brandsweets.com/colors/crimson
- **Denim** #1560bd [pool] — Designers have shipped Denim with #313c87: 14 real palettes, including Unilever's brand system and Warbyparker's brand system, as the accent. Seen in: Unilever (https://brandsweets.com/colors/brands/unilever-com), Warbyparker (https://brandsweets.com/colors/brands/warbyparker-com), Hasbro (https://brandsweets.com/colors/brands/hasbro-com), General Mills (https://brandsweets.com/colors/brands/generalmills-com). — https://brandsweets.com/colors/denim
- **Firebrick** #b22222 [pool] — Designers have shipped Firebrick with #313c87: 4 real palettes, including Nintendo's brand system and Datadog's brand system, as the accent. Seen in: Nintendo (https://brandsweets.com/colors/brands/nintendo-com), Datadog (https://brandsweets.com/colors/brands/datadoghq-com), MLB (https://brandsweets.com/colors/brands/mlb-com), 3M (https://brandsweets.com/colors/brands/3m-com). — https://brandsweets.com/colors/firebrick
- **Midnight Blue** #191970 [pool] — 17 real palettes, including Fintech Trust and First Snow put Midnight Blue beside #313c87, as that palette's text colour. Seen in: Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), First Snow (https://brandsweets.com/palettes/cool#first-snow), Microsoft (https://brandsweets.com/colors/brands/microsoft-com), Gillette (https://brandsweets.com/colors/brands/gillette-com). — https://brandsweets.com/colors/midnightblue

## Contrast (WCAG 2.x, as text)

- On white (#ffffff): 9.87:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 2.13:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #626fc6 (4.61:1); AA: background → #b0b0b0 (4.55:1); AAA: text → #8791d4 (7.03:1); AAA: background → #dbdbdb (7.13:1)

## Fonts for this mood

- modern: https://brandsweets.com/fonts/mood/modern

## Palette tool

Open this color locked as the lead with four explored companions: https://brandsweets.com/palettes/new/313c87-9c9dc4-df864e-231f2d-e9eef1?lock=0&style=vibrant
(Humans lock/regenerate in the tool; the URL is the state — read `lock=` back to see what they kept.)

## Connect an agent

Point any MCP client at the BrandSweets colors endpoint for the same engine:

- Endpoint: https://mcp.brandsweets.com/colors/mcp
- Tools: `analyze_color` (e.g. `analyze_color({ color: "#313c87" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
