# #040fa4

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

## Values

- Hex: `#040fa4`
- RGB: rgb(4, 15, 164)
- HSL: hsl(236, 95%, 33%)
- OKLCH: oklch(0.335 0.218 264.9)
- Relative luminance: 0.0305
- Nearest named color: Dark Galaxy (#0018a8, Δ 1.277) — https://brandsweets.com/colors/dark-galaxy
- Moods: cool, vivid, technical, modern
- Page: https://brandsweets.com/colors/040fa4

## Tints & shades

- Tints (toward white): #0512c7, #0615e5, #1524f9, #3340fa, #5661fb, #747dfb, #979dfc, #b4b9fd, #d7dafe, #f5f6ff
- Shades (toward black): #040e95, #030c86, #030b77, #030968, #02095e, #020750, #020641, #010532, #010323, #010214

## Harmonies

- Complementary: #a49904
- Analogous: #045fa4, #4904a4
- Triadic: #a4040f, #0fa404
- Split-complementary: #a44904, #5fa404
- Tetradic: #a4045f, #a49904, #04a449

## Colors that go with #040fa4

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

- **Crimson** #dc143c [harmony, pool: triadic] — Crimson completes a triad with #040fa4 — three hues spaced evenly round the wheel, the classic way to get energy into a palette without a clash. Seen in: Pepsi (https://brandsweets.com/colors/brands/pepsi-com), Nintendo (https://brandsweets.com/colors/brands/nintendo-com), Behance (https://brandsweets.com/colors/brands/behance-net), Casper Sleep (https://brandsweets.com/colors/brands/casper-com). — https://brandsweets.com/colors/crimson
- **Cobalt Blue** #0047ab [pool] — Designers have shipped Cobalt Blue with #040fa4: 4 real palettes, including Tide's brand system and Purina Pro Plan's brand system, as the lead colour. Seen in: Tide (https://brandsweets.com/colors/brands/tide-com), Purina Pro Plan (https://brandsweets.com/colors/brands/chewy-com), Unilever (https://brandsweets.com/colors/brands/unilever-com), Oreo (https://brandsweets.com/colors/brands/oreo-com). — https://brandsweets.com/colors/cobalt
- **Denim** #1560bd [pool] — Designers have shipped Denim with #040fa4: 4 real palettes, including Unilever's brand system and Warbyparker's brand system, as the accent. Seen in: Unilever (https://brandsweets.com/colors/brands/unilever-com), Warbyparker (https://brandsweets.com/colors/brands/warbyparker-com), Bank of America (https://brandsweets.com/colors/brands/bankofamerica-com), Intel (https://brandsweets.com/colors/brands/intel-com). — https://brandsweets.com/colors/denim
- **Royal Blue** #4169e1 [pool] — Royal Blue is paired with #040fa4 in 5 real palettes, including Nivea's brand system and Discord's brand system, as the supporting colour. Seen in: Nivea (https://brandsweets.com/colors/brands/nivea-com), Discord (https://brandsweets.com/colors/brands/discord), Nokia (https://brandsweets.com/colors/brands/nokia-com), NHL (https://brandsweets.com/colors/brands/nhl-com). — https://brandsweets.com/colors/royalblue
- **Steel Blue** #4682b4 [harmony, pool: analogous] — Steel Blue is #040fa4's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. Seen in: 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 #040fa4 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 #040fa4: softer than #000 and cool enough to feel like part of the same palette. Seen in: Boeing (https://brandsweets.com/colors/brands/boeing-com), dbt Labs (https://brandsweets.com/colors/brands/getdbt-com). — https://brandsweets.com/colors/charcoal
- **Orange Red** #ff4500 [pool] — Orange Red is paired with #040fa4 in 3 real palettes, including Tide's brand system and Intercom's brand system, as the accent. Seen in: Tide (https://brandsweets.com/colors/brands/tide-com), Intercom (https://brandsweets.com/colors/brands/intercom-com), NASA (https://brandsweets.com/colors/brands/nasa-gov). — https://brandsweets.com/colors/orangered

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

- On white (#ffffff): 13.05:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.61:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #5b66fb (4.74:1); AA: background → #999999 (4.58:1); AAA: text → #838bfc (7.06:1); AAA: background → #bfbfbf (7.1:1)

## Brands using this color

- **JetBlue** — accent #0000aa (Δ 1.382) — https://brandsweets.com/colors/brands/jetblue-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/040fa4-9e9cc4-df8f4e-241f2d-e9eef1?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: "#040fa4" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
