Skip to content

#604cd2

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

RGB
96, 76, 210
HSL
249°, 60%, 56%
CMYK
54, 64, 0, 18
Luminance
0.1231

At a glance

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

Hex
#604cd2
Hue
249°
blue
Saturation
60%
vivid
Lightness
56%
balanced
Brightness
82%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1231
WCAG relative
Temperature
Cool
78/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
6.07:1
Closest name
Slate Blue
ΔE2000 4.2
Where it sits
Hue249° of 360°
Saturation60%
Lightness56%
Temperature
Warm ← → Cool78% 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#604cd2
RGBrgb(96, 76, 210)
HSLhsl(249, 60%, 56%)
CMYKcmyk(54%, 64%, 0%, 18%)
LABlab(41.7 43.8 -66.6)
LCHlch(41.7 79.7 303.4)
OKLCHoklch(0.516 0.197 283.9)
Decimal6311122
Display P3color(display-p3 0.376 0.298 0.824)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#604cd2 on white: 6.07:1
AA ✓ pass · AA-large · AAA
Aa
#604cd2 on black: 3.46:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0066D6
deuteranopia · #005ECF
tritanopia · #2D6D88

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #604cd2 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.

#F5F4FB
#EBE9F7
#D2CCEF
#AFA5E8
#8879DD
#604cd2
#4731C4
#3B29A3
#2F2182
#261C5F
#18113B
Base = 500Lightest = 50 · #F5F4FBDarkest = 950 · #18113B
:root {
  --brand-50: #F5F4FB;
  --brand-100: #EBE9F7;
  --brand-200: #D2CCEF;
  --brand-300: #AFA5E8;
  --brand-400: #8879DD;
  --brand-500: #604cd2;
  --brand-600: #4731C4;
  --brand-700: #3B29A3;
  --brand-800: #2F2182;
  --brand-900: #261C5F;
  --brand-950: #18113B;
  --brand: #604cd2;
  --brand-ink: #ffffff;
}

Colors that work with #604cd2

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#C6C0ED
Hairlines and dividers
Muted text#574B9B
Captions on the surface
Accent#A79A25
Second voice, not a rival
Dark variant#251A66
Hover, pressed, headers
Light variant#EDEBFA
Selected rows, tints
Dark surface#161424
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 #604cd2

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#BED24C
Analogous left#4C7BD2
Analogous right#A34CD2
Split-complement 1#D2A34C
Split-complement 2#7BD24C
Triadic 1#D2604C
Triadic 2#4CD260
Tetradic#D24C7B

RGB percentages

Red37.6%
Green29.8%
Blue82.4%

CMYK percentages

Cyan54.3%
Magenta63.8%
Yellow0.0%
Key (black)17.6%

Color previews

#604cd2 text on a black background

contrast 3.46:1

Card sample

#604cd2 text on a white background

contrast 6.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #604cd2

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.

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

#604cd2, answered

What color is #604cd2?

#604cd2 is a balanced vivid blue, closest to Slate Blue (ΔE2000 4.2). It sits at 249° on the hue wheel with 60% saturation and 56% lightness, which reads as cool.

What is the RGB value of #604cd2?

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

Is #604cd2 a light or a dark color?

It is a dark color. Relative luminance is 0.1231 and perceived brightness is 41%, so white text on it reaches 6.07:1.

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

White. It scores 6.07:1 against #604cd2, versus 3.46:1 for black — AA at any size.

What is the complementary color of #604cd2?

#BED24C sits directly opposite on the wheel. Softer options are the split-complements #D2A34C and #7BD24C, which give the same contrast with far less vibration.

What colors go well with #604cd2?

For interface work: #F5F4FA as the surface, #C6C0ED for borders, #574B9B for secondary text, #A79A25 as an accent and #251A66 for hover and pressed states. For a palette, the analogous pair #4C7BD2 and #A34CD2 stays calm, while #BED24C is the loudest partner.

What is #604cd2 in CMYK for printing?

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

Is #604cd2 warm or cool?

Cool — it scores 78 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #914CD2; nudged cooler, #4A68D4.

Work with #604cd2 in the Color Lab