Skip to content

#5e5cd3

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

RGB
94, 92, 211
HSL
241°, 58%, 59%
CMYK
56, 56, 0, 17
Luminance
0.1474

At a glance

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

Hex
#5e5cd3
Hue
241°
blue
Saturation
58%
vivid
Lightness
59%
balanced
Brightness
83%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1474
WCAG relative
Temperature
Cool
83/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
5.32:1
Closest name
Slate Blue
ΔE2000 2.5
Where it sits
Hue241° of 360°
Saturation58%
Lightness59%
Temperature
Warm ← → Cool83% 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#5e5cd3
RGBrgb(94, 92, 211)
HSLhsl(241, 58%, 59%)
CMYKcmyk(56%, 56%, 0%, 17%)
LABlab(45.3 34.3 -61.4)
LCHlch(45.3 70.3 299.2)
OKLCHoklch(0.542 0.178 279.4)
Decimal6184147
Display P3color(display-p3 0.369 0.361 0.827)

Copy-ready code

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

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

Accessibility — WCAG contrast

Aa
#5e5cd3 on white: 5.32:1
AA ✓ pass · AA-large · AAA
Aa
#5e5cd3 on black: 3.95:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0070D7
deuteranopia · #0066D1
tritanopia · #22788E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #5e5cd3 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
#E9E9F7
#CECDEF
#A8A7E7
#7C7ADB
#5e5cd3
#3634C1
#2D2BA1
#242381
#1E1D5E
#13123A
Base = 500Lightest = 50 · #F4F4FBDarkest = 950 · #13123A
:root {
  --brand-50: #F4F4FB;
  --brand-100: #E9E9F7;
  --brand-200: #CECDEF;
  --brand-300: #A8A7E7;
  --brand-400: #7C7ADB;
  --brand-500: #5e5cd3;
  --brand-600: #3634C1;
  --brand-700: #2D2BA1;
  --brand-800: #242381;
  --brand-900: #1E1D5E;
  --brand-950: #13123A;
  --brand: #5e5cd3;
  --brand-ink: #ffffff;
}

Colors that work with #5e5cd3

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#F4F4FA
Tinted page background
Border#C1C0ED
Hairlines and dividers
Muted text#4C4B9B
Captions on the surface
Accent#A58727
Second voice, not a rival
Dark variant#1C1B64
Hover, pressed, headers
Light variant#EBEBFA
Selected rows, tints
Dark surface#141424
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 #5e5cd3

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#D1D35C
Analogous left#5C95D3
Analogous right#995CD3
Split-complement 1#D3995C
Split-complement 2#95D35C
Triadic 1#D35E5C
Triadic 2#5CD35E
Tetradic#D35C95

RGB percentages

Red36.9%
Green36.1%
Blue82.7%

CMYK percentages

Cyan55.5%
Magenta56.4%
Yellow0.0%
Key (black)17.3%

Color previews

#5e5cd3 text on a black background

contrast 3.95:1

Card sample

#5e5cd3 text on a white background

contrast 5.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5e5cd3;
Background color
Panel with #5e5cd3 background
background-color: #5e5cd3;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5e5cd3;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #5e5cd3

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.

#5e5cd3 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.

#5e5cd3, answered

What color is #5e5cd3?

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

What is the RGB value of #5e5cd3?

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

Is #5e5cd3 a light or a dark color?

It is a dark color. Relative luminance is 0.1474 and perceived brightness is 44%, so white text on it reaches 5.32:1.

Should I use black or white text on #5e5cd3?

White. It scores 5.32:1 against #5e5cd3, versus 3.95:1 for black — AA at any size.

What is the complementary color of #5e5cd3?

#D1D35C sits directly opposite on the wheel. Softer options are the split-complements #D3995C and #95D35C, which give the same contrast with far less vibration.

What colors go well with #5e5cd3?

For interface work: #F4F4FA as the surface, #C1C0ED for borders, #4C4B9B for secondary text, #A58727 as an accent and #1C1B64 for hover and pressed states. For a palette, the analogous pair #5C95D3 and #995CD3 stays calm, while #D1D35C is the loudest partner.

What is #5e5cd3 in CMYK for printing?

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

Is #5e5cd3 warm or cool?

Cool — it scores 83 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8A5CD3; nudged cooler, #5A7DD5.

Work with #5e5cd3 in the Color Lab