# #340f8a

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

## Values

- Hex: `#340f8a`
- RGB: rgb(52, 15, 138)
- HSL: hsl(258, 80%, 30%)
- OKLCH: oklch(0.329 0.178 284.6)
- Relative luminance: 0.0291
- Nearest named color: Dramatic Blue (#240093, Δ 3.863) — https://brandsweets.com/colors/dramatic-blue
- Moods: cool, vivid, dark, technical, modern, luxury, bold
- Page: https://brandsweets.com/colors/340f8a

## Tints & shades

- Tints (toward white): #4013aa, #4c16ca, #5719e6, #6e3ae9, #865aed, #9d7af0, #b59af4, #c9b6f7, #e1d6fa, #f8f6fe
- Shades (toward black): #2f0e7c, #2b0d73, #260b65, #230a5c, #1d094e, #180740, #150637, #100529, #0c0420, #070212

## Harmonies

- Complementary: #658a0f
- Analogous: #0f288a, #710f8a
- Triadic: #8a340f, #0f8a34
- Split-complementary: #8a710f, #288a0f
- Tetradic: #8a0f28, #658a0f, #0f8a71

## Colors that go with #340f8a

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 #340f8a'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), Nokia (https://brandsweets.com/colors/brands/nokia-com), Confluent (https://brandsweets.com/colors/brands/confluent-io). — https://brandsweets.com/colors/royalblue
- **Cobalt Blue** #0047ab [pool] — Designers have shipped Cobalt Blue with #340f8a: 4 real palettes, including Tide's brand system and Purina Pro Plan's brand system, as the lead colour. Seen in: Tide (https://brandsweets.com/colors/brands/tide-com), Purina Pro Plan (https://brandsweets.com/colors/brands/chewy-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 #340f8a 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
- **Denim** #1560bd [pool] — Designers have shipped Denim with #340f8a: 4 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), Warbyparker (https://brandsweets.com/colors/brands/warbyparker-com), Hasbro (https://brandsweets.com/colors/brands/hasbro-com). — https://brandsweets.com/colors/denim
- **Steel Blue** #4682b4 [pool] — Designers have shipped Steel Blue with #340f8a: 5 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
- **Taupe** #483c32 [pool] — Taupe is paired with #340f8a in 4 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), Datadog (https://brandsweets.com/colors/brands/datadoghq-com). — https://brandsweets.com/colors/taupe
- **Olive Green** #808000 [harmony: complementary] — Olive Green sits directly opposite #340f8a 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 #340f8a: 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

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

- On white (#ffffff): 13.28:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.58:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #865aed (4.7:1); AA: background → #999999 (4.66:1); AAA: text → #a483f1 (7.1:1); AAA: background → #bdbdbd (7.07: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/340f8a-ad9cc4-dfc44e-291f2d-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: "#340f8a" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
