# #40118d

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

## Values

- Hex: `#40118d`
- RGB: rgb(64, 17, 141)
- HSL: hsl(263, 78%, 31%)
- OKLCH: oklch(0.347 0.179 290.5)
- Relative luminance: 0.0341
- Nearest named color: Galactic Civilization (#442288, Δ 2.771) — https://brandsweets.com/colors/galactic-civilization
- Moods: cool, vivid, technical, modern
- Page: https://brandsweets.com/colors/40118d

## Tints & shades

- Tints (toward white): #4f15ac, #5c19c8, #6b21e4, #8040e7, #9660eb, #a87bef, #bd9bf3, #d2bbf7, #e4d6fa, #f9f6fe
- Shades (toward black): #3a107f, #360f76, #300d68, #2a0b5b, #260a52, #1f0844, #190736, #130529, #0f0420, #080212

## Harmonies

- Complementary: #5d8d11
- Analogous: #11208d, #7e118d
- Triadic: #8d4111, #118d41
- Split-complementary: #8d7e11, #208d11
- Tetradic: #8d1120, #5d8d11, #118d7e

## Colors that go with #40118d

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 #40118d'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
- **Crimson** #dc143c [pool] — Crimson is paired with #40118d 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 #40118d: 4 real palettes, including Bank of America's brand system and Slack's brand system, as the accent. Seen in: Bank of America (https://brandsweets.com/colors/brands/bankofamerica-com), Slack (https://brandsweets.com/colors/brands/slack-com), Warbyparker (https://brandsweets.com/colors/brands/warbyparker-com), Panasonic (https://brandsweets.com/colors/brands/panasonic-com). — https://brandsweets.com/colors/denim
- **Steel Blue** #4682b4 [pool] — Designers have shipped Steel Blue with #40118d: 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 #40118d 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 #40118d: 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
- **Taupe** #483c32 [pool] — Taupe is paired with #40118d in 3 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), Datadog (https://brandsweets.com/colors/brands/datadoghq-com). — https://brandsweets.com/colors/taupe
- **Forest Green** #228b22 [harmony: split] — Forest Green is a split-complement of #40118d: nearly opposite, so it still pops against it, without the vibrating edge of a true complement. — https://brandsweets.com/colors/forestgreen

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

- On white (#ffffff): 12.48:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.68:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #8c53ea (4.54:1); AA: background → #9c9c9c (4.55:1); AAA: text → #ab80ef (7.07:1); AAA: background → #c2c2c2 (7.01:1)

## Brands using this color

- **Peacock** — secondary #400094 (Δ 1.635) — https://brandsweets.com/colors/brands/peacocktv-com

## 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/40118d-b09cc4-dfd04e-2b1f2d-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: "#40118d" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
