# #340d7d

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

## Values

- Hex: `#340d7d`
- RGB: rgb(52, 13, 125)
- HSL: hsl(261, 81%, 27%)
- OKLCH: oklch(0.313 0.165 288.1)
- Relative luminance: 0.025
- Nearest named color: Galactic Federation (#330077, Δ 1.886) — https://brandsweets.com/colors/galactic-federation
- Moods: cool, vivid, dark, technical, modern, luxury, bold
- Page: https://brandsweets.com/colors/340d7d

## Tints & shades

- Tints (toward white): #42109d, #4f14bd, #5d17de, #702fe9, #8a54ed, #a075f0, #b695f4, #ccb5f7, #e2d5fb, #f9f6fe
- Shades (toward black): #300c73, #2a0b66, #270a5c, #230953, #1f084a, #19063c, #150533, #11042a, #0c031c, #080212

## Harmonies

- Complementary: #567d0d
- Analogous: #0d1e7d, #6c0d7d
- Triadic: #7d340d, #0d7d34
- Split-complementary: #7d6c0d, #1e7d0d
- Tetradic: #7d0d1e, #567d0d, #0d7d6c

## Colors that go with #340d7d

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 #340d7d'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), Confluent (https://brandsweets.com/colors/brands/confluent-io), Nivea (https://brandsweets.com/colors/brands/nivea-com), Nokia (https://brandsweets.com/colors/brands/nokia-com). — https://brandsweets.com/colors/royalblue
- **Charcoal** #36454f [role, pool] — Charcoal is the text near-black for #340d7d: 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
- **Crimson** #dc143c [pool] — Crimson is paired with #340d7d in 5 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
- **Steel Blue** #4682b4 [pool] — Designers have shipped Steel Blue with #340d7d: 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 #340d7d 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
- **Cobalt Blue** #0047ab [pool] — Designers have shipped Cobalt Blue with #340d7d: 3 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). — https://brandsweets.com/colors/cobalt
- **Denim** #1560bd [pool] — Designers have shipped Denim with #340d7d: 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
- **Light Sea Green** #20b2aa [pool] — Light Sea Green shows up next to #340d7d in 3 real palettes, including Taco Bell's brand system and Confluent's brand system, as the accent. Seen in: Taco Bell (https://brandsweets.com/colors/brands/tacobell-com), Confluent (https://brandsweets.com/colors/brands/confluent-io), Ford (https://brandsweets.com/colors/brands/ford-com). — https://brandsweets.com/colors/lightseagreen

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

- On white (#ffffff): 14:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.5:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #8a54ed (4.57:1); AA: background → #949494 (4.62:1); AAA: text → #a982f2 (7.16:1); AAA: background → #b8b8b8 (7.06: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/340d7d-af9cc4-dfcb4e-2a1f2d-e9eaf1?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: "#340d7d" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
