# #40318c

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

## Values

- Hex: `#40318c`
- RGB: rgb(64, 49, 140)
- HSL: hsl(250, 48%, 37%)
- OKLCH: oklch(0.386 0.144 285)
- Relative luminance: 0.0518
- Nearest named color: Bluebell (#333399, Δ 3.012) — https://brandsweets.com/colors/bluebell
- Moods: cool, modern
- Page: https://brandsweets.com/colors/40318c

## Tints & shades

- Tints (toward white): #4b39a2, #5541b9, #6855c3, #7c6ccb, #9386d5, #a79ddd, #bcb4e4, #d0caec, #e4e1f4, #f8f7fc
- Shades (toward black): #3b2d80, #342871, #2f2466, #2a205b, #241c4f, #1d1740, #181335, #130f2a, #0c091a, #07050f

## Harmonies

- Complementary: #7d8c31
- Analogous: #314f8c, #6d318c
- Triadic: #8c4031, #318c40
- Split-complementary: #8c6d31, #4f8c31
- Tetradic: #8c314f, #7d8c31, #318c6d

## Colors that go with #40318c

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

- **Charcoal** #36454f [role, pool] — Charcoal is the text near-black for #40318c: 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), Tumblr (https://brandsweets.com/colors/brands/tumblr-com), Hinge (https://brandsweets.com/colors/brands/hinge-co), Boeing (https://brandsweets.com/colors/brands/boeing-com). — https://brandsweets.com/colors/charcoal
- **Steel Blue** #4682b4 [harmony, pool: analogous] — Steel Blue is #40318c's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. Seen in: FedEx (https://brandsweets.com/colors/brands/fedex-com), Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), Glacier (https://brandsweets.com/palettes/cool#glacier), Hershey's (https://brandsweets.com/colors/brands/hersheys-com). — https://brandsweets.com/colors/steelblue
- **Blue** #0000ff [pool] — 5 real palettes, including Procter & Gamble's brand system and CVS's brand system put Blue beside #40318c, as the supporting colour. Seen in: Procter & Gamble (https://brandsweets.com/colors/brands/pg-com), CVS (https://brandsweets.com/colors/brands/cvs-com), Tesco (https://brandsweets.com/colors/brands/tesco-com), Zillow (https://brandsweets.com/colors/brands/zillow-com). — https://brandsweets.com/colors/blue
- **Crimson** #dc143c [pool] — Crimson is paired with #40318c in 8 real palettes, including Walgreens's brand system and Casper Sleep's brand system, as the lead colour. Seen in: Walgreens (https://brandsweets.com/colors/brands/walgreens-com), Casper Sleep (https://brandsweets.com/colors/brands/casper-com), Wells Fargo (https://brandsweets.com/colors/brands/wellsfargo-com), Marvel (https://brandsweets.com/colors/brands/marvel-com). — https://brandsweets.com/colors/crimson
- **Denim** #1560bd [pool] — Designers have shipped Denim with #40318c: 13 real palettes, including Warbyparker's brand system and Unilever's brand system, as the accent. Seen in: Warbyparker (https://brandsweets.com/colors/brands/warbyparker-com), Unilever (https://brandsweets.com/colors/brands/unilever-com), Hasbro (https://brandsweets.com/colors/brands/hasbro-com), General Mills (https://brandsweets.com/colors/brands/generalmills-com). — https://brandsweets.com/colors/denim
- **Midnight Blue** #191970 [pool] — 11 real palettes, including Fintech Trust and Blue Mono put Midnight Blue beside #40318c, as that palette's text colour. Seen in: Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), Blue Mono (https://brandsweets.com/palettes/cool#blue-mono), Gillette (https://brandsweets.com/colors/brands/gillette-com), Microsoft (https://brandsweets.com/colors/brands/microsoft-com). — https://brandsweets.com/colors/midnightblue
- **Royal Blue** #4169e1 [pool] — Royal Blue is paired with #40318c in 11 real palettes, including Nokia's brand system and Nivea's brand system, as the supporting colour. Seen in: Nokia (https://brandsweets.com/colors/brands/nokia-com), Nivea (https://brandsweets.com/colors/brands/nivea-com), Discord (https://brandsweets.com/colors/brands/discord), Carrefour (https://brandsweets.com/colors/brands/carrefour-com). — https://brandsweets.com/colors/royalblue
- **Taupe** #483c32 [pool] — Taupe is paired with #40318c in 4 real palettes, including Datadog's brand system and Gillette's brand system, as that palette's text colour. Seen in: Datadog (https://brandsweets.com/colors/brands/datadoghq-com), Gillette (https://brandsweets.com/colors/brands/gillette-com), Boeing (https://brandsweets.com/colors/brands/boeing-com), American Eagle (https://brandsweets.com/colors/brands/ae-com). — https://brandsweets.com/colors/taupe

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

- On white (#ffffff): 10.31:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 2.04:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #7868ca (4.63:1); AA: background → #adadad (4.6:1); AAA: text → #9a8ed7 (7.22:1); AAA: background → #d6d6d6 (7.1:1)

## Fonts for this mood

- 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/40318c-a79cc4-dfb14e-281f2d-e9ecf1?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: "#40318c" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
