Skip to content

#545cd3

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

RGB
84, 92, 211
HSL
236°, 59%, 58%
CMYK
60, 56, 0, 17
Luminance
0.1424

At a glance

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

Hex
#545cd3
Hue
236°
blue
Saturation
59%
vivid
Lightness
58%
balanced
Brightness
83%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1424
WCAG relative
Temperature
Cool
85/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
5.46:1
Closest name
Slate Blue
ΔE2000 4
Where it sits
Hue236° of 360°
Saturation59%
Lightness58%
Temperature
Warm ← → Cool85% 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#545cd3
RGBrgb(84, 92, 211)
HSLhsl(236, 59%, 58%)
CMYKcmyk(60%, 56%, 0%, 17%)
LABlab(44.6 32.5 -62.5)
LCHlch(44.6 70.4 297.4)
OKLCHoklch(0.535 0.180 275.6)
Decimal5528787
Display P3color(display-p3 0.329 0.361 0.827)

Copy-ready code

/* CSS */
color: #545cd3;
background-color: #545cd3;
/* Tailwind (arbitrary) */
class="text-[#545cd3] bg-[#545cd3]"
/* SCSS */
$brand: #545cd3;
/* SwiftUI */
Color(red: 0.329, green: 0.361, blue: 0.827)
/* Android */
Color.parseColor("#545cd3")
/* Flutter */
Color(0xFF545CD3)
/* Python / OpenCV (BGR) */
(211, 92, 84)

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

Accessibility — WCAG contrast

Aa
#545cd3 on white: 5.46:1
AA ✓ pass · AA-large · AAA
Aa
#545cd3 on black: 3.85:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006FD7
deuteranopia · #0064D1
tritanopia · #00788E

Color scale — 50 to 950

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

#F4F4FB
#E9EAF7
#CDCFEF
#A6AAE8
#797FDD
#545cd3
#323BC3
#2A31A2
#212782
#1C205E
#11143B
Base = 500Lightest = 50 · #F4F4FBDarkest = 950 · #11143B
:root {
  --brand-50: #F4F4FB;
  --brand-100: #E9EAF7;
  --brand-200: #CDCFEF;
  --brand-300: #A6AAE8;
  --brand-400: #797FDD;
  --brand-500: #545cd3;
  --brand-600: #323BC3;
  --brand-700: #2A31A2;
  --brand-800: #212782;
  --brand-900: #1C205E;
  --brand-950: #11143B;
  --brand: #545cd3;
  --brand-ink: #ffffff;
}

Colors that work with #545cd3

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#4B509B
Captions on the surface
Accent#A67F26
Second voice, not a rival
Dark variant#1A1F65
Hover, pressed, headers
Light variant#EBECFA
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 #545cd3

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#D3CB54
Analogous left#549BD3
Analogous right#8B54D3
Split-complement 1#D38B54
Split-complement 2#9BD354
Triadic 1#D3545C
Triadic 2#5CD354
Tetradic#D3549B

RGB percentages

Red32.9%
Green36.1%
Blue82.7%

CMYK percentages

Cyan60.2%
Magenta56.4%
Yellow0.0%
Key (black)17.3%

Color previews

#545cd3 text on a black background

contrast 3.85:1

Card sample

#545cd3 text on a white background

contrast 5.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #545cd3;
Background color
Panel with #545cd3 background
background-color: #545cd3;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #545cd3;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(84, 92, 211, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(84, 92, 211, 0.45);
Border & gradient
Gradient panel
border: 3px solid #545cd3;
background: linear-gradient(135deg, #545cd3, #A154D3);

Monochromatic scale

Palettes built from #545cd3

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.

#545cd3 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.

#545cd3, answered

What color is #545cd3?

#545cd3 is a balanced vivid blue, closest to Slate Blue (ΔE2000 4). It sits at 236° on the hue wheel with 59% saturation and 58% lightness, which reads as cool.

What is the RGB value of #545cd3?

rgb(84, 92, 211) — 84 red, 92 green and 211 blue out of 255, or 32.9% / 36.1% / 82.7% by channel.

Is #545cd3 a light or a dark color?

It is a dark color. Relative luminance is 0.1424 and perceived brightness is 43%, so white text on it reaches 5.46:1.

Should I use black or white text on #545cd3?

White. It scores 5.46:1 against #545cd3, versus 3.85:1 for black — AA at any size.

What is the complementary color of #545cd3?

#D3CB54 sits directly opposite on the wheel. Softer options are the split-complements #D38B54 and #9BD354, which give the same contrast with far less vibration.

What colors go well with #545cd3?

For interface work: #F4F5FA as the surface, #C0C3ED for borders, #4B509B for secondary text, #A67F26 as an accent and #1A1F65 for hover and pressed states. For a palette, the analogous pair #549BD3 and #8B54D3 stays calm, while #D3CB54 is the loudest partner.

What is #545cd3 in CMYK for printing?

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

Is #545cd3 warm or cool?

Cool — it scores 85 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7A54D3; nudged cooler, #527AD5.

Work with #545cd3 in the Color Lab