Skip to content

#604cac

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

RGB
96, 76, 172
HSL
253°, 39%, 49%
CMYK
44, 56, 0, 33
Luminance
0.1063

At a glance

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

Hex
#604cac
Hue
253°
blue
Saturation
39%
soft
Lightness
49%
balanced
Brightness
67%
HSV value
Perceived
38%
weighted brightness
Luminance
0.1063
WCAG relative
Temperature
Cool
76/100 cool
Color family
Blue
Tone
Soft
Best ink
White
6.72:1
Closest name
Slate Blue
ΔE2000 6.5
Where it sits
Hue253° of 360°
Saturation39%
Lightness49%
Temperature
Warm ← → Cool76% 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#604cac
RGBrgb(96, 76, 172)
HSLhsl(253, 39%, 49%)
CMYKcmyk(44%, 56%, 0%, 33%)
LABlab(39.0 32.4 -48.8)
LCHlch(39.0 58.6 303.6)
OKLCHoklch(0.487 0.147 289.4)
Decimal6311084
Display P3color(display-p3 0.376 0.298 0.675)

Copy-ready code

/* CSS */
color: #604cac;
background-color: #604cac;
/* Tailwind (arbitrary) */
class="text-[#604cac] bg-[#604cac]"
/* SCSS */
$brand: #604cac;
/* SwiftUI */
Color(red: 0.376, green: 0.298, blue: 0.675)
/* Android */
Color.parseColor("#604cac")
/* Flutter */
Color(0xFF604CAC)
/* Python / OpenCV (BGR) */
(172, 76, 96)

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 #604cac · 6.72:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.72:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.13:1
AA fail · AA large pass · AAA fail
Reading the other direction: #604cac as text scores 6.72:1 on white and 3.13:1 on black.

Accessibility — WCAG contrast

Aa
#604cac on white: 6.72:1
AA ✓ pass · AA-large · AAA
Aa
#604cac on black: 3.13:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #185EAF
deuteranopia · #1B59AA
tritanopia · #4A6174

Color scale — 50 to 950

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

#F6F5FA
#EDEBF4
#D7D3E9
#BAB1DD
#988ACB
#7563BA
#604cac
#4F3F8D
#3F3271
#302753
#1E1934
Base = 600Lightest = 50 · #F6F5FADarkest = 950 · #1E1934
:root {
  --brand-50: #F6F5FA;
  --brand-100: #EDEBF4;
  --brand-200: #D7D3E9;
  --brand-300: #BAB1DD;
  --brand-400: #988ACB;
  --brand-500: #7563BA;
  --brand-600: #604cac;
  --brand-700: #4F3F8D;
  --brand-800: #3F3271;
  --brand-900: #302753;
  --brand-950: #1E1934;
  --brand: #604cac;
  --brand-ink: #ffffff;
}

Colors that work with #604cac

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#F6F4FA
Tinted page background
Border#CDC6E6
Hairlines and dividers
Muted text#5B4B9B
Captions on the surface
Accent#928D3A
Second voice, not a rival
Dark variant#312758
Hover, pressed, headers
Light variant#EFEDF7
Selected rows, tints
Dark surface#171424
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 #604cac

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

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • 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#98AC4C
Analogous left#4C68AC
Analogous right#904CAC
Split-complement 1#AC904C
Split-complement 2#68AC4C
Triadic 1#AC604C
Triadic 2#4CAC60
Tetradic#AC4C68

RGB percentages

Red37.6%
Green29.8%
Blue67.5%

CMYK percentages

Cyan44.2%
Magenta55.8%
Yellow0.0%
Key (black)32.5%

Color previews

#604cac text on a black background

contrast 3.13:1

Card sample

#604cac text on a white background

contrast 6.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #604cac;
Background color
Panel with #604cac background
background-color: #604cac;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #604cac;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(96, 76, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(96, 76, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #604cac;
background: linear-gradient(135deg, #604cac, #A04CAC);

Monochromatic scale

Palettes built from #604cac

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.

#604cac 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.

#604cac, answered

What color is #604cac?

#604cac is a balanced soft blue, closest to Slate Blue (ΔE2000 6.5). It sits at 253° on the hue wheel with 39% saturation and 49% lightness, which reads as cool.

What is the RGB value of #604cac?

rgb(96, 76, 172) — 96 red, 76 green and 172 blue out of 255, or 37.6% / 29.8% / 67.5% by channel.

Is #604cac a light or a dark color?

It is a dark color. Relative luminance is 0.1063 and perceived brightness is 38%, so white text on it reaches 6.72:1.

Should I use black or white text on #604cac?

White. It scores 6.72:1 against #604cac, versus 3.13:1 for black — AA at any size.

What is the complementary color of #604cac?

#98AC4C sits directly opposite on the wheel. Softer options are the split-complements #AC904C and #68AC4C, which give the same contrast with far less vibration.

What colors go well with #604cac?

For interface work: #F6F4FA as the surface, #CDC6E6 for borders, #5B4B9B for secondary text, #928D3A as an accent and #312758 for hover and pressed states. For a palette, the analogous pair #4C68AC and #904CAC stays calm, while #98AC4C is the loudest partner.

What is #604cac in CMYK for printing?

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

Is #604cac warm or cool?

Cool — it scores 76 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #834CAC; nudged cooler, #4959AE.

Work with #604cac in the Color Lab