# #340f99

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

## Values

- Hex: `#340f99`
- RGB: rgb(52, 15, 153)
- HSL: hsl(256, 82%, 33%)
- OKLCH: oklch(0.347 0.195 281.5)
- Relative luminance: 0.0337
- Nearest named color: Dramatic Blue (#240093, Δ 3.697) — https://brandsweets.com/colors/dramatic-blue
- Moods: cool, vivid, technical, modern
- Page: https://brandsweets.com/colors/340f99

## Tints & shades

- Tints (toward white): #3f12ba, #4815d5, #5925e9, #6e41ec, #8761ef, #9c7df2, #b59ef5, #cab9f8, #e3dafb, #f8f6fe
- Shades (toward black): #2f0e8b, #2b0c7d, #260b6f, #210a61, #1e0958, #19074a, #14063c, #10052e, #0b0320, #060213

## Harmonies

- Complementary: #74990f
- Analogous: #0f2f99, #790f99
- Triadic: #99340f, #0f9934
- Split-complementary: #99790f, #2f990f
- Tetradic: #990f2f, #74990f, #0f9979

## Colors that go with #340f99

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

- **Cobalt Blue** #0047ab [pool] — Designers have shipped Cobalt Blue with #340f99: 5 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), Zillow (https://brandsweets.com/colors/brands/zillow-com), Unilever (https://brandsweets.com/colors/brands/unilever-com). — https://brandsweets.com/colors/cobalt
- **Crimson** #dc143c [pool] — Crimson is paired with #340f99 in 6 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 [harmony, pool: analogous] — Denim is #340f99's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. Seen in: Warbyparker (https://brandsweets.com/colors/brands/warbyparker-com), Unilever (https://brandsweets.com/colors/brands/unilever-com), Bank of America (https://brandsweets.com/colors/brands/bankofamerica-com). — https://brandsweets.com/colors/denim
- **Royal Blue** #4169e1 [pool] — Royal Blue is paired with #340f99 in 6 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), Nokia (https://brandsweets.com/colors/brands/nokia-com), NHL (https://brandsweets.com/colors/brands/nhl-com). — https://brandsweets.com/colors/royalblue
- **Steel Blue** #4682b4 [pool] — Designers have shipped Steel Blue with #340f99: 4 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 #340f99 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
- **Blue** #0000ff [pool] — 3 real palettes, including Procter & Gamble's brand system and Zillow's brand system put Blue beside #340f99, as the supporting colour. Seen in: Procter & Gamble (https://brandsweets.com/colors/brands/pg-com), Zillow (https://brandsweets.com/colors/brands/zillow-com), Pfizer (https://brandsweets.com/colors/brands/pfizer-com). — https://brandsweets.com/colors/blue
- **Charcoal** #36454f [role, pool] — Charcoal is the text near-black for #340f99: 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): 12.54:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.67:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #8058ee (4.55:1); AA: background → #9c9c9c (4.57:1); AAA: text → #a386f3 (7.26:1); AAA: background → #c2c2c2 (7.04: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/340f99-ab9cc4-dfbf4e-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: "#340f99" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
