Skip to content

#604eb0

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

RGB
96, 78, 176
HSL
251°, 39%, 50%
CMYK
46, 56, 0, 31
Luminance
0.1107

At a glance

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

Hex
#604eb0
Hue
251°
blue
Saturation
39%
soft
Lightness
50%
balanced
Brightness
69%
HSV value
Perceived
39%
weighted brightness
Luminance
0.1107
WCAG relative
Temperature
Cool
77/100 cool
Color family
Blue
Tone
Soft
Best ink
White
6.53:1
Closest name
Slate Blue
ΔE2000 5.7
Where it sits
Hue251° of 360°
Saturation39%
Lightness50%
Temperature
Warm ← → Cool77% 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#604eb0
RGBrgb(96, 78, 176)
HSLhsl(251, 39%, 50%)
CMYKcmyk(46%, 56%, 0%, 31%)
LABlab(39.7 32.4 -50.0)
LCHlch(39.7 59.6 302.9)
OKLCHoklch(0.493 0.150 288.1)
Decimal6311600
Display P3color(display-p3 0.376 0.306 0.690)

Copy-ready code

/* CSS */
color: #604eb0;
background-color: #604eb0;
/* Tailwind (arbitrary) */
class="text-[#604eb0] bg-[#604eb0]"
/* SCSS */
$brand: #604eb0;
/* SwiftUI */
Color(red: 0.376, green: 0.306, blue: 0.690)
/* Android */
Color.parseColor("#604eb0")
/* Flutter */
Color(0xFF604EB0)
/* Python / OpenCV (BGR) */
(176, 78, 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 #604eb0 · 6.53:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.53:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.21:1
AA fail · AA large pass · AAA fail
Reading the other direction: #604eb0 as text scores 6.53:1 on white and 3.21:1 on black.

Accessibility — WCAG contrast

Aa
#604eb0 on white: 6.53:1
AA ✓ pass · AA-large · AAA
Aa
#604eb0 on black: 3.21:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #1860B3
deuteranopia · #195BAE
tritanopia · #476377

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #604eb0 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
#B9B1DD
#968ACB
#7363BA
#604eb0
#4D3F8D
#3E3271
#2F2753
#1E1934
Base = 600Lightest = 50 · #F6F5FADarkest = 950 · #1E1934
:root {
  --brand-50: #F6F5FA;
  --brand-100: #EDEBF4;
  --brand-200: #D7D3E9;
  --brand-300: #B9B1DD;
  --brand-400: #968ACB;
  --brand-500: #7363BA;
  --brand-600: #604eb0;
  --brand-700: #4D3F8D;
  --brand-800: #3E3271;
  --brand-900: #2F2753;
  --brand-950: #1E1934;
  --brand: #604eb0;
  --brand-ink: #ffffff;
}

Colors that work with #604eb0

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#F5F4FA
Tinted page background
Border#CCC6E6
Hairlines and dividers
Muted text#594B9B
Captions on the surface
Accent#918C3B
Second voice, not a rival
Dark variant#302758
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 #604eb0

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#9EB04E
Analogous left#4E6DB0
Analogous right#914EB0
Split-complement 1#B0914E
Split-complement 2#6DB04E
Triadic 1#B0604E
Triadic 2#4EB060
Tetradic#B04E6D

RGB percentages

Red37.6%
Green30.6%
Blue69.0%

CMYK percentages

Cyan45.5%
Magenta55.7%
Yellow0.0%
Key (black)31.0%

Color previews

#604eb0 text on a black background

contrast 3.21:1

Card sample

#604eb0 text on a white background

contrast 6.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #604eb0

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.

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

#604eb0, answered

What color is #604eb0?

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

What is the RGB value of #604eb0?

rgb(96, 78, 176) — 96 red, 78 green and 176 blue out of 255, or 37.6% / 30.6% / 69% by channel.

Is #604eb0 a light or a dark color?

It is a dark color. Relative luminance is 0.1107 and perceived brightness is 39%, so white text on it reaches 6.53:1.

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

White. It scores 6.53:1 against #604eb0, versus 3.21:1 for black — AA at any size.

What is the complementary color of #604eb0?

#9EB04E sits directly opposite on the wheel. Softer options are the split-complements #B0914E and #6DB04E, which give the same contrast with far less vibration.

What colors go well with #604eb0?

For interface work: #F5F4FA as the surface, #CCC6E6 for borders, #594B9B for secondary text, #918C3B as an accent and #302758 for hover and pressed states. For a palette, the analogous pair #4E6DB0 and #914EB0 stays calm, while #9EB04E is the loudest partner.

What is #604eb0 in CMYK for printing?

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

Is #604eb0 warm or cool?

Cool — it scores 77 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #844EB0; nudged cooler, #4B5EB3.

Work with #604eb0 in the Color Lab