# #340d87

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

## Values

- Hex: `#340d87`
- RGB: rgb(52, 13, 135)
- HSL: hsl(259, 82%, 29%)
- OKLCH: oklch(0.324 0.176 285.5)
- Relative luminance: 0.0277
- Nearest named color: Galactic Federation (#330077, Δ 3.381) — https://brandsweets.com/colors/galactic-federation
- Moods: cool, vivid, dark, technical, modern, luxury, bold
- Page: https://brandsweets.com/colors/340d87

## Tints & shades

- Tints (toward white): #4011a7, #4d14c8, #5917e8, #7037eb, #8858ee, #9b74f1, #b394f4, #cab5f8, #e1d5fb, #f8f6fe
- Shades (toward black): #300c7d, #2b0b6f, #270a66, #220958, #1e084f, #190641, #150638, #10042a, #0c0320, #070213

## Harmonies

- Complementary: #60870d
- Analogous: #0d2487, #700d87
- Triadic: #87340d, #0d8734
- Split-complementary: #87700d, #24870d
- Tetradic: #870d24, #60870d, #0d8770

## Colors that go with #340d87

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

- **Royal Blue** #4169e1 [harmony, pool: analogous] — Royal Blue is #340d87's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. 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
- **Cobalt Blue** #0047ab [pool] — Designers have shipped Cobalt Blue with #340d87: 4 real palettes, including Purina Pro Plan's brand system and Tide's brand system, as the accent. Seen in: Purina Pro Plan (https://brandsweets.com/colors/brands/chewy-com), Tide (https://brandsweets.com/colors/brands/tide-com), Blue Mono (https://brandsweets.com/palettes/cool#blue-mono), Zillow (https://brandsweets.com/colors/brands/zillow-com). — https://brandsweets.com/colors/cobalt
- **Crimson** #dc143c [pool] — Crimson is paired with #340d87 in 4 real palettes, including Pepsi's brand system and Casper Sleep's brand system, as the supporting colour. Seen in: Pepsi (https://brandsweets.com/colors/brands/pepsi-com), Casper Sleep (https://brandsweets.com/colors/brands/casper-com), Nintendo (https://brandsweets.com/colors/brands/nintendo-com), Marvel (https://brandsweets.com/colors/brands/marvel-com). — https://brandsweets.com/colors/crimson
- **Steel Blue** #4682b4 [pool] — Designers have shipped Steel Blue with #340d87: 6 real palettes, including FedEx's brand system and Hershey's's brand system, as the accent. 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
- **Olive Green** #808000 [harmony: complementary] — Olive Green sits directly opposite #340d87 on the wheel — the strongest contrast one hue can give another, so use it small: a button, a link colour, one highlight. — https://brandsweets.com/colors/olive
- **Charcoal** #36454f [role, pool] — Charcoal is the text near-black for #340d87: 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). — https://brandsweets.com/colors/charcoal
- **Denim** #1560bd [pool] — Designers have shipped Denim with #340d87: 3 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). — https://brandsweets.com/colors/denim
- **Taupe** #483c32 [pool] — Taupe is paired with #340d87 in 3 real palettes, including Boeing's brand system and Gillette's brand system, as that palette's text colour. Seen in: Boeing (https://brandsweets.com/colors/brands/boeing-com), Gillette (https://brandsweets.com/colors/brands/gillette-com), American Eagle (https://brandsweets.com/colors/brands/ae-com). — https://brandsweets.com/colors/taupe

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

- On white (#ffffff): 13.52:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.55:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #8858ee (4.68:1); AA: background → #969696 (4.57:1); AAA: text → #a582f3 (7.09:1); AAA: background → #bdbdbd (7.2:1)

## Fonts for this mood

- technical: https://brandsweets.com/fonts/mood/technical
- modern: https://brandsweets.com/fonts/mood/modern
- luxury: https://brandsweets.com/fonts/mood/luxury
- bold: https://brandsweets.com/fonts/mood/bold

## Palette tool

Open this color locked as the lead with four explored companions: https://brandsweets.com/palettes/new/340d87-ad9cc4-dfc74e-2a1f2d-e9ebf1?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: "#340d87" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
