# #313b87

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

## Values

- Hex: `#313b87`
- RGB: rgb(49, 59, 135)
- HSL: hsl(233, 47%, 36%)
- OKLCH: oklch(0.389 0.126 273.4)
- Relative luminance: 0.0553
- Nearest named color: Evening Magic (#363e7d, Δ 2.101) — https://brandsweets.com/colors/evening-magic
- Moods: cool, modern
- Page: https://brandsweets.com/colors/313b87

## Tints & shades

- Tints (toward white): #39459d, #414eb4, #5663c2, #6d78ca, #838dd2, #9aa1db, #b0b6e3, #cbceec, #e1e3f4, #f8f8fc
- Shades (toward black): #2d367c, #293170, #232a61, #1f2656, #1b214b, #171c40, #131734, #0e1025, #090b1a, #05070f

## Harmonies

- Complementary: #877d31
- Analogous: #316687, #523187
- Triadic: #87313b, #3b8731
- Split-complementary: #875231, #668731
- Tetradic: #873166, #877d31, #318752

## Colors that go with #313b87

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 #313b87: 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 #313b87'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 #313b87, 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 #313b87: 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 #313b87 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 #313b87: 15 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 #313b87: 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] — 15 real palettes, including Fintech Trust and Microsoft's brand system put Midnight Blue beside #313b87, as that palette's text colour. Seen in: Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), Microsoft (https://brandsweets.com/colors/brands/microsoft-com), First Snow (https://brandsweets.com/palettes/cool#first-snow), Gillette (https://brandsweets.com/colors/brands/gillette-com). — https://brandsweets.com/colors/midnightblue

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

- On white (#ffffff): 9.97:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 2.11:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #626dc6 (4.52:1); AA: background → #b0b0b0 (4.6:1); AAA: text → #8b93d5 (7.23:1); AAA: background → #d9d9d9 (7.06: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/313b87-9c9cc4-df884e-241f2d-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: "#313b87" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
