Skip to content

#404bc9

a balanced, vivid blue · cool · closest name: Slate Blue

RGB
64, 75, 201
HSL
235°, 56%, 52%
CMYK
68, 63, 0, 21
Luminance
0.1034

At a glance

Every number on this page in one read: what #404bc9 is made of, how bright it looks, and which way it leans.

Hex
#404bc9
Hue
235°
blue
Saturation
56%
vivid
Lightness
52%
balanced
Brightness
79%
HSV value
Perceived
37%
weighted brightness
Luminance
0.1034
WCAG relative
Temperature
Cool
86/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
6.85:1
Closest name
Slate Blue
ΔE2000 7.3
Where it sits
Hue235° of 360°
Saturation56%
Lightness52%
Temperature
Warm ← → Cool86% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#404bc9
RGBrgb(64, 75, 201)
HSLhsl(235, 56%, 52%)
CMYKcmyk(68%, 63%, 0%, 21%)
LABlab(38.4 36.5 -66.8)
LCHlch(38.4 76.2 298.7)
OKLCHoklch(0.484 0.193 272.9)
Decimal4213705
Display P3color(display-p3 0.251 0.294 0.788)

Copy-ready code

/* CSS */
color: #404bc9;
background-color: #404bc9;
/* Tailwind (arbitrary) */
class="text-[#404bc9] bg-[#404bc9]"
/* SCSS */
$brand: #404bc9;
/* SwiftUI */
Color(red: 0.251, green: 0.294, blue: 0.788)
/* Android */
Color.parseColor("#404bc9")
/* Flutter */
Color(0xFF404BC9)
/* Python / OpenCV (BGR) */
(201, 75, 64)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #404bc9 · 6.85:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.85:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.07:1
AA fail · AA large pass · AAA fail
Reading the other direction: #404bc9 as text scores 6.85:1 on white and 3.07:1 on black.

Accessibility — WCAG contrast

Aa
#404bc9 on white: 6.85:1
AA ✓ pass · AA-large · AAA
Aa
#404bc9 on black: 3.07:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0061CD
deuteranopia · #0054C7
tritanopia · #006B83

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #404bc9 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4F5FB
#E9EAF6
#CED0EE
#A8ADE6
#7C83DA
#404bc9
#3641BF
#2D369F
#242B7F
#1E235D
#13163A
Base = 500Lightest = 50 · #F4F5FBDarkest = 950 · #13163A
:root {
  --brand-50: #F4F5FB;
  --brand-100: #E9EAF6;
  --brand-200: #CED0EE;
  --brand-300: #A8ADE6;
  --brand-400: #7C83DA;
  --brand-500: #404bc9;
  --brand-600: #3641BF;
  --brand-700: #2D369F;
  --brand-800: #242B7F;
  --brand-900: #1E235D;
  --brand-950: #13163A;
  --brand: #404bc9;
  --brand-ink: #ffffff;
}

Colors that work with #404bc9

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F5FA
Tinted page background
Border#C0C3ED
Hairlines and dividers
Muted text#4B519B
Captions on the surface
Accent#A37B29
Second voice, not a rival
Dark variant#1C2263
Hover, pressed, headers
Light variant#EBECF9
Selected rows, tints
Dark surface#141524
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #404bc9

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#C9BE40
Analogous left#4090C9
Analogous right#7A40C9
Split-complement 1#C97A40
Split-complement 2#90C940
Triadic 1#C9404B
Triadic 2#4BC940
Tetradic#C94090

RGB percentages

Red25.1%
Green29.4%
Blue78.8%

CMYK percentages

Cyan68.2%
Magenta62.7%
Yellow0.0%
Key (black)21.2%

Color previews

#404bc9 text on a black background

contrast 3.07:1

Card sample

#404bc9 text on a white background

contrast 6.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #404bc9;
Background color
Panel with #404bc9 background
background-color: #404bc9;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #404bc9;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(64, 75, 201, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 75, 201, 0.45);
Border & gradient
Gradient panel
border: 3px solid #404bc9;
background: linear-gradient(135deg, #404bc9, #9040C9);

Monochromatic scale

Palettes built from #404bc9

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#404bc9 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#404bc9, answered

What color is #404bc9?

#404bc9 is a balanced vivid blue, closest to Slate Blue (ΔE2000 7.3). It sits at 235° on the hue wheel with 56% saturation and 52% lightness, which reads as cool.

What is the RGB value of #404bc9?

rgb(64, 75, 201) — 64 red, 75 green and 201 blue out of 255, or 25.1% / 29.4% / 78.8% by channel.

Is #404bc9 a light or a dark color?

It is a dark color. Relative luminance is 0.1034 and perceived brightness is 37%, so white text on it reaches 6.85:1.

Should I use black or white text on #404bc9?

White. It scores 6.85:1 against #404bc9, versus 3.07:1 for black — AA at any size.

What is the complementary color of #404bc9?

#C9BE40 sits directly opposite on the wheel. Softer options are the split-complements #C97A40 and #90C940, which give the same contrast with far less vibration.

What colors go well with #404bc9?

For interface work: #F4F5FA as the surface, #C0C3ED for borders, #4B519B for secondary text, #A37B29 as an accent and #1C2263 for hover and pressed states. For a palette, the analogous pair #4090C9 and #7A40C9 stays calm, while #C9BE40 is the loudest partner.

What is #404bc9 in CMYK for printing?

cmyk(68%, 63%, 0%, 21%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #404bc9 warm or cool?

Cool — it scores 86 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6740C9; nudged cooler, #3E69CB.

Work with #404bc9 in the Color Lab