# #40238b

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

## Values

- Hex: `#40238b`
- RGB: rgb(64, 35, 139)
- HSL: hsl(257, 60%, 34%)
- OKLCH: oklch(0.364 0.16 288.5)
- Relative luminance: 0.0416
- Nearest named color: Galactic Civilization (#442288, Δ 0.963) — https://brandsweets.com/colors/galactic-civilization
- Moods: cool, vivid, technical, modern
- Page: https://brandsweets.com/colors/40238b

## Tints & shades

- Tints (toward white): #4b29a3, #5930c0, #683fcf, #7e5cd6, #9274dc, #a58de2, #bca9ea, #cfc2f0, #e5def7, #f9f7fd
- Shades (toward black): #3a207e, #351d72, #2f1a66, #2a165a, #24134e, #1e1041, #190d35, #130a29, #0d071d, #080410

## Harmonies

- Complementary: #6d8b23
- Analogous: #23398b, #74238b
- Triadic: #8b4023, #238b40
- Split-complementary: #8b7423, #398b23
- Tetradic: #8b2339, #6d8b23, #238b74

## Colors that go with #40238b

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 #40238b'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
- **Blue** #0000ff [pool] — 4 real palettes, including Procter & Gamble's brand system and Zillow's brand system put Blue beside #40238b, as the supporting colour. Seen in: Procter & Gamble (https://brandsweets.com/colors/brands/pg-com), Zillow (https://brandsweets.com/colors/brands/zillow-com), CVS (https://brandsweets.com/colors/brands/cvs-com), Alaska Airlines (https://brandsweets.com/colors/brands/alaskaair-com). — https://brandsweets.com/colors/blue
- **Charcoal** #36454f [role, pool] — Charcoal is the text near-black for #40238b: 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), Hinge (https://brandsweets.com/colors/brands/hinge-co). — https://brandsweets.com/colors/charcoal
- **Crimson** #dc143c [pool] — Crimson is paired with #40238b in 7 real palettes, including Casper Sleep's brand system and Marvel's brand system, as the lead colour. Seen in: Casper Sleep (https://brandsweets.com/colors/brands/casper-com), Marvel (https://brandsweets.com/colors/brands/marvel-com), Pepsi (https://brandsweets.com/colors/brands/pepsi-com), Nintendo (https://brandsweets.com/colors/brands/nintendo-com). — https://brandsweets.com/colors/crimson
- **Denim** #1560bd [pool] — Designers have shipped Denim with #40238b: 7 real palettes, including Warbyparker's brand system and Panasonic's brand system, as the accent. Seen in: Warbyparker (https://brandsweets.com/colors/brands/warbyparker-com), Panasonic (https://brandsweets.com/colors/brands/panasonic-com), Slack (https://brandsweets.com/colors/brands/slack-com), Bank of America (https://brandsweets.com/colors/brands/bankofamerica-com). — https://brandsweets.com/colors/denim
- **Steel Blue** #4682b4 [pool] — Designers have shipped Steel Blue with #40238b: 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 #40238b in 4 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), American Eagle (https://brandsweets.com/colors/brands/ae-com). — https://brandsweets.com/colors/taupe
- **Olive Green** #808000 [harmony: complementary] — Olive Green sits directly opposite #40238b 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

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

- On white (#ffffff): 11.47:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.83:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #8260d7 (4.6:1); AA: background → #a3a3a3 (4.55:1); AAA: text → #a289e1 (7.2:1); AAA: background → #cccccc (7.14: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/40238b-ac9cc4-dfc24e-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: "#40238b" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
