# #331f84

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

## Values

- Hex: `#331f84`
- RGB: rgb(51, 31, 132)
- HSL: hsl(252, 62%, 32%)
- OKLCH: oklch(0.339 0.157 283.2)
- Relative luminance: 0.0335
- Nearest named color: Deep Space Rodeo (#332277, Δ 2.269) — https://brandsweets.com/colors/deep-space-rodeo
- Moods: cool, vivid, technical, modern
- Page: https://brandsweets.com/colors/331f84

## Tints & shades

- Tints (toward white): #3e26a1, #482cba, #5739d0, #6c51d6, #856edd, #9d8be4, #b2a4ea, #cbc1f0, #e0daf6, #f8f7fd
- Shades (toward black): #2e1c78, #2a196b, #261763, #221457, #1d114a, #180f3e, #130c32, #100a29, #0b071d, #060411

## Harmonies

- Complementary: #70841f
- Analogous: #1f3d84, #661f84
- Triadic: #84331f, #1f8433
- Split-complementary: #84661f, #3d841f
- Tetradic: #841f3d, #70841f, #1f8466

## Colors that go with #331f84

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

- **Steel Blue** #4682b4 [harmony, pool: analogous] — Steel Blue is #331f84's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. Seen in: FedEx (https://brandsweets.com/colors/brands/fedex-com), Hershey's (https://brandsweets.com/colors/brands/hersheys-com), Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), Glacier (https://brandsweets.com/palettes/cool#glacier). — https://brandsweets.com/colors/steelblue
- **Blue** #0000ff [pool] — 4 real palettes, including Procter & Gamble's brand system and Alaska Airlines's brand system put Blue beside #331f84, as the supporting colour. Seen in: Procter & Gamble (https://brandsweets.com/colors/brands/pg-com), Alaska Airlines (https://brandsweets.com/colors/brands/alaskaair-com), CVS (https://brandsweets.com/colors/brands/cvs-com), Zillow (https://brandsweets.com/colors/brands/zillow-com). — https://brandsweets.com/colors/blue
- **Charcoal** #36454f [role, pool] — Charcoal is the text near-black for #331f84: 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), Boeing (https://brandsweets.com/colors/brands/boeing-com), CeraVe (https://brandsweets.com/colors/brands/cerave-com). — https://brandsweets.com/colors/charcoal
- **Cobalt Blue** #0047ab [pool] — Designers have shipped Cobalt Blue with #331f84: 4 real palettes, including Purina Pro Plan's brand system and Blue Mono, as the accent. Seen in: Purina Pro Plan (https://brandsweets.com/colors/brands/chewy-com), Blue Mono (https://brandsweets.com/palettes/cool#blue-mono), Unilever (https://brandsweets.com/colors/brands/unilever-com), Zillow (https://brandsweets.com/colors/brands/zillow-com). — https://brandsweets.com/colors/cobalt
- **Crimson** #dc143c [pool] — Crimson is paired with #331f84 in 6 real palettes, including Casper Sleep's brand system and Pepsi's brand system, as the lead colour. Seen in: Casper Sleep (https://brandsweets.com/colors/brands/casper-com), Pepsi (https://brandsweets.com/colors/brands/pepsi-com), Nintendo (https://brandsweets.com/colors/brands/nintendo-com), Marvel (https://brandsweets.com/colors/brands/marvel-com). — https://brandsweets.com/colors/crimson
- **Denim** #1560bd [pool] — Designers have shipped Denim with #331f84: 5 real palettes, including Bank of America's brand system and Panasonic's brand system, as the accent. Seen in: Bank of America (https://brandsweets.com/colors/brands/bankofamerica-com), Panasonic (https://brandsweets.com/colors/brands/panasonic-com), Hasbro (https://brandsweets.com/colors/brands/hasbro-com), Warbyparker (https://brandsweets.com/colors/brands/warbyparker-com). — https://brandsweets.com/colors/denim
- **Royal Blue** #4169e1 [pool] — Royal Blue is paired with #331f84 in 5 real palettes, including Discord's brand system and Nivea's brand system, as the lead colour. Seen in: Discord (https://brandsweets.com/colors/brands/discord), Nivea (https://brandsweets.com/colors/brands/nivea-com), Confluent (https://brandsweets.com/colors/brands/confluent-io), Nokia (https://brandsweets.com/colors/brands/nokia-com). — https://brandsweets.com/colors/royalblue
- **Taupe** #483c32 [pool] — Taupe is paired with #331f84 in 4 real palettes, including Gillette's brand system and Boeing's brand system, as the lead colour. Seen in: Gillette (https://brandsweets.com/colors/brands/gillette-com), Boeing (https://brandsweets.com/colors/brands/boeing-com), American Eagle (https://brandsweets.com/colors/brands/ae-com), Datadog (https://brandsweets.com/colors/brands/datadoghq-com). — https://brandsweets.com/colors/taupe

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

- On white (#ffffff): 12.58:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.67:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #7a62da (4.59:1); AA: background → #9c9c9c (4.58:1); AAA: text → #9d8be4 (7.25:1); AAA: background → #c2c2c2 (7.06:1)

## Fonts for this mood

- technical: https://brandsweets.com/fonts/mood/technical
- 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/331f84-a99cc4-dfb64e-281f2d-e9ecf1?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: "#331f84" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
