# #313f87

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

## Values

- Hex: `#313f87`
- RGB: rgb(49, 63, 135)
- HSL: hsl(230, 47%, 36%)
- OKLCH: oklch(0.397 0.121 271.6)
- Relative luminance: 0.0596
- Nearest named color: Evening Magic (#363e7d, Δ 1.766) — https://brandsweets.com/colors/evening-magic
- Moods: cool, modern
- Page: https://brandsweets.com/colors/313f87

## Tints & shades

- Tints (toward white): #394a9d, #4154b4, #5668c2, #6d7cca, #8390d2, #9aa5db, #b0b9e3, #cbd0ec, #e1e4f4, #f8f8fc
- Shades (toward black): #2d3a7c, #293570, #232e61, #1f2856, #1b234b, #171e40, #131934, #0e1225, #090c1a, #05070f

## Harmonies

- Complementary: #877931
- Analogous: #316a87, #4d3187
- Triadic: #87313f, #3f8731
- Split-complementary: #874d31, #6a8731
- Tetradic: #87316a, #877931, #31874d

## Colors that go with #313f87

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 #313f87: softer than #000 and cool enough to feel like part of the same palette. Seen in: Tumblr (https://brandsweets.com/colors/brands/tumblr-com), dbt Labs (https://brandsweets.com/colors/brands/getdbt-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 #313f87'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 #313f87, as the supporting colour. Seen in: CVS (https://brandsweets.com/colors/brands/cvs-com), Procter & Gamble (https://brandsweets.com/colors/brands/pg-com), Tesco (https://brandsweets.com/colors/brands/tesco-com), Alaska Airlines (https://brandsweets.com/colors/brands/alaskaair-com). — https://brandsweets.com/colors/blue
- **Cornflower Blue** #6495ed [pool] — Designers have shipped Cornflower Blue with #313f87: 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 #313f87 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 #313f87: 16 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
- **Midnight Blue** #191970 [pool] — 18 real palettes, including Fintech Trust and First Snow put Midnight Blue beside #313f87, 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), Blue Mono (https://brandsweets.com/palettes/cool#blue-mono). — https://brandsweets.com/colors/midnightblue
- **Royal Blue** #4169e1 [pool] — Royal Blue is paired with #313f87 in 14 real palettes, including Nokia's brand system and Carrefour's brand system, as the supporting colour. Seen in: Nokia (https://brandsweets.com/colors/brands/nokia-com), Carrefour (https://brandsweets.com/colors/brands/carrefour-com), Nivea (https://brandsweets.com/colors/brands/nivea-com), Confluent (https://brandsweets.com/colors/brands/confluent-io). — https://brandsweets.com/colors/royalblue

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

- On white (#ffffff): 9.58:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 2.19:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #5e6fc5 (4.56:1); AA: background → #b3b3b3 (4.57:1); AAA: text → #8794d4 (7.22:1); AAA: background → #dedede (7.12: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/313f87-9c9ec4-df814e-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: "#313f87" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
