# #40168d

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

## Values

- Hex: `#40168d`
- RGB: rgb(64, 22, 141)
- HSL: hsl(261, 73%, 32%)
- OKLCH: oklch(0.351 0.175 290)
- Relative luminance: 0.0359
- Nearest named color: Galactic Civilization (#442288, Δ 2.25) — https://brandsweets.com/colors/galactic-civilization
- Moods: cool, vivid, technical, modern
- Page: https://brandsweets.com/colors/40168d

## Tints & shades

- Tints (toward white): #4e1bac, #5a1fc7, #6a2bde, #7c46e2, #9265e7, #a883ec, #bb9ef0, #d0bdf5, #e3d7f9, #f9f6fe
- Shades (toward black): #3a1480, #341273, #30116a, #2a0e5d, #240c4f, #1e0a42, #180835, #14072c, #0e051f, #080312

## Harmonies

- Complementary: #638d16
- Analogous: #16288d, #7b168d
- Triadic: #8d4016, #168d40
- Split-complementary: #8d7b16, #288d16
- Tetradic: #8d1628, #638d16, #168d7b

## Colors that go with #40168d

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 #40168d'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 #40168d 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), Marvel (https://brandsweets.com/colors/brands/marvel-com), Nintendo (https://brandsweets.com/colors/brands/nintendo-com). — https://brandsweets.com/colors/crimson
- **Denim** #1560bd [pool] — Designers have shipped Denim with #40168d: 4 real palettes, including Slack's brand system and Bank of America's brand system, as the lead colour. Seen in: Slack (https://brandsweets.com/colors/brands/slack-com), Bank of America (https://brandsweets.com/colors/brands/bankofamerica-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 #40168d: 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 #40168d 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 #40168d: 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
- **Red** #ff0000 [pool] — Red is paired with #40168d in 3 real palettes, including Twitch's brand system and Walgreens's brand system, as the accent. Seen in: Twitch (https://brandsweets.com/colors/brands/twitch-tv), Walgreens (https://brandsweets.com/colors/brands/walgreens-com), Hyundai (https://brandsweets.com/colors/brands/hyundaiusa-com). — https://brandsweets.com/colors/red
- **Taupe** #483c32 [pool] — Taupe is paired with #40168d in 3 real palettes, including Gillette's brand system and Datadog's brand system, as the lead colour. Seen in: Gillette (https://brandsweets.com/colors/brands/gillette-com), Datadog (https://brandsweets.com/colors/brands/datadoghq-com), Boeing (https://brandsweets.com/colors/brands/boeing-com). — https://brandsweets.com/colors/taupe

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

- On white (#ffffff): 12.23:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.72:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #8957e5 (4.56:1); AA: background → #9e9e9e (4.56:1); AAA: text → #a883ec (7.12:1); AAA: background → #c4c4c4 (7.01: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/40168d-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: "#40168d" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
