Skip to content

#604abc

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

RGB
96, 74, 188
HSL
252°, 46%, 51%
CMYK
49, 61, 0, 26
Luminance
0.1102

At a glance

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

Hex
#604abc
Hue
252°
blue
Saturation
46%
vivid
Lightness
51%
balanced
Brightness
74%
HSV value
Perceived
39%
weighted brightness
Luminance
0.1102
WCAG relative
Temperature
Cool
77/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
6.56:1
Closest name
Slate Blue
ΔE2000 5.4
Where it sits
Hue252° of 360°
Saturation46%
Lightness51%
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#604abc
RGBrgb(96, 74, 188)
HSLhsl(252, 46%, 51%)
CMYKcmyk(49%, 61%, 0%, 26%)
LABlab(39.6 38.4 -57.2)
LCHlch(39.6 68.9 303.9)
OKLCHoklch(0.495 0.171 287.3)
Decimal6310588
Display P3color(display-p3 0.376 0.290 0.737)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#604abc on white: 6.56:1
AA ✓ pass · AA-large · AAA
Aa
#604abc on black: 3.20:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0060C0
deuteranopia · #005ABA
tritanopia · #40657C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #604abc 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
#ECEAF5
#D6D0EB
#B7ADE1
#9384D2
#6F5BC2
#604abc
#493795
#3B2C77
#2D2357
#1C1636
Base = 600Lightest = 50 · #F6F5FADarkest = 950 · #1C1636
:root {
  --brand-50: #F6F5FA;
  --brand-100: #ECEAF5;
  --brand-200: #D6D0EB;
  --brand-300: #B7ADE1;
  --brand-400: #9384D2;
  --brand-500: #6F5BC2;
  --brand-600: #604abc;
  --brand-700: #493795;
  --brand-800: #3B2C77;
  --brand-900: #2D2357;
  --brand-950: #1C1636;
  --brand: #604abc;
  --brand-ink: #ffffff;
}

Colors that work with #604abc

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#CBC3E9
Hairlines and dividers
Muted text#5A4B9B
Captions on the surface
Accent#999333
Second voice, not a rival
Dark variant#2E225D
Hover, pressed, headers
Light variant#EFECF8
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 #604abc

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#A6BC4A
Analogous left#4A6DBC
Analogous right#994ABC
Split-complement 1#BC994A
Split-complement 2#6DBC4A
Triadic 1#BC604A
Triadic 2#4ABC60
Tetradic#BC4A6D

RGB percentages

Red37.6%
Green29.0%
Blue73.7%

CMYK percentages

Cyan48.9%
Magenta60.6%
Yellow0.0%
Key (black)26.3%

Color previews

#604abc text on a black background

contrast 3.20:1

Card sample

#604abc text on a white background

contrast 6.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #604abc

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.

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

#604abc, answered

What color is #604abc?

#604abc is a balanced vivid blue, closest to Slate Blue (ΔE2000 5.4). It sits at 252° on the hue wheel with 46% saturation and 51% lightness, which reads as cool.

What is the RGB value of #604abc?

rgb(96, 74, 188) — 96 red, 74 green and 188 blue out of 255, or 37.6% / 29% / 73.7% by channel.

Is #604abc a light or a dark color?

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

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

White. It scores 6.56:1 against #604abc, versus 3.20:1 for black — AA at any size.

What is the complementary color of #604abc?

#A6BC4A sits directly opposite on the wheel. Softer options are the split-complements #BC994A and #6DBC4A, which give the same contrast with far less vibration.

What colors go well with #604abc?

For interface work: #F5F4FA as the surface, #CBC3E9 for borders, #5A4B9B for secondary text, #999333 as an accent and #2E225D for hover and pressed states. For a palette, the analogous pair #4A6DBC and #994ABC stays calm, while #A6BC4A is the loudest partner.

What is #604abc in CMYK for printing?

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

Is #604abc 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 #8A4ABC; nudged cooler, #485CBF.

Work with #604abc in the Color Lab