Skip to content

#5d7cd2

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

RGB
93, 124, 210
HSL
224°, 57%, 59%
CMYK
56, 41, 0, 18
Luminance
0.2140

At a glance

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

Hex
#5d7cd2
Hue
224°
blue
Saturation
57%
vivid
Lightness
59%
balanced
Brightness
82%
HSV value
Perceived
51%
weighted brightness
Luminance
0.2140
WCAG relative
Temperature
Cool
92/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
5.28:1
Closest name
Royal Blue
ΔE2000 6.9
Where it sits
Hue224° of 360°
Saturation57%
Lightness59%
Temperature
Warm ← → Cool92% 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#5d7cd2
RGBrgb(93, 124, 210)
HSLhsl(224, 57%, 59%)
CMYKcmyk(56%, 41%, 0%, 18%)
LABlab(53.4 14.1 -47.8)
LCHlch(53.4 49.8 286.4)
OKLCHoklch(0.603 0.136 267.3)
Decimal6126802
Display P3color(display-p3 0.365 0.486 0.824)

Copy-ready code

/* CSS */
color: #5d7cd2;
background-color: #5d7cd2;
/* Tailwind (arbitrary) */
class="text-[#5d7cd2] bg-[#5d7cd2]"
/* SCSS */
$brand: #5d7cd2;
/* SwiftUI */
Color(red: 0.365, green: 0.486, blue: 0.824)
/* Android */
Color.parseColor("#5d7cd2")
/* Flutter */
Color(0xFF5D7CD2)
/* Python / OpenCV (BGR) */
(210, 124, 93)

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

Accessibility — WCAG contrast

Aa
#5d7cd2 on white: 3.98:1
AA ✗ fail · AA-large · AAA
Aa
#5d7cd2 on black: 5.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5885D5
deuteranopia · #497BD0
tritanopia · #138F9D

Color scale — 50 to 950

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

#F4F6FB
#E9EDF6
#CDD6EE
#A7B8E7
#7B95DA
#5d7cd2
#355AC0
#2C4BA0
#233C80
#1D2E5D
#121D3A
Base = 500Lightest = 50 · #F4F6FBDarkest = 950 · #121D3A
:root {
  --brand-50: #F4F6FB;
  --brand-100: #E9EDF6;
  --brand-200: #CDD6EE;
  --brand-300: #A7B8E7;
  --brand-400: #7B95DA;
  --brand-500: #5d7cd2;
  --brand-600: #355AC0;
  --brand-700: #2C4BA0;
  --brand-800: #233C80;
  --brand-900: #1D2E5D;
  --brand-950: #121D3A;
  --brand: #5d7cd2;
  --brand-ink: #000000;
}

Colors that work with #5d7cd2

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F6FA
Tinted page background
Border#C0CCED
Hairlines and dividers
Muted text#4B609B
Captions on the surface
Accent#A46528
Second voice, not a rival
Dark variant#1C2F64
Hover, pressed, headers
Light variant#EBEFF9
Selected rows, tints
Dark surface#141824
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 #5d7cd2

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#D2B35D
Analogous left#5DB6D2
Analogous right#785DD2
Split-complement 1#D2785D
Split-complement 2#B6D25D
Triadic 1#D25D7C
Triadic 2#7CD25D
Tetradic#D25DB6

RGB percentages

Red36.5%
Green48.6%
Blue82.4%

CMYK percentages

Cyan55.7%
Magenta41.0%
Yellow0.0%
Key (black)17.6%

Color previews

#5d7cd2 text on a black background

contrast 5.28:1

Card sample

#5d7cd2 text on a white background

contrast 3.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(93, 124, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(93, 124, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5d7cd2;
background: linear-gradient(135deg, #5d7cd2, #8C5DD2);

Monochromatic scale

Palettes built from #5d7cd2

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.

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

#5d7cd2, answered

What color is #5d7cd2?

#5d7cd2 is a balanced vivid blue, closest to Royal Blue (ΔE2000 6.9). It sits at 224° on the hue wheel with 57% saturation and 59% lightness, which reads as cool.

What is the RGB value of #5d7cd2?

rgb(93, 124, 210) — 93 red, 124 green and 210 blue out of 255, or 36.5% / 48.6% / 82.4% by channel.

Is #5d7cd2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2140 and perceived brightness is 51%, so black text on it reaches 5.28:1.

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

Black. It scores 5.28:1 against #5d7cd2, versus 3.98:1 for white — AA at any size.

What is the complementary color of #5d7cd2?

#D2B35D sits directly opposite on the wheel. Softer options are the split-complements #D2785D and #B6D25D, which give the same contrast with far less vibration.

What colors go well with #5d7cd2?

For interface work: #F4F6FA as the surface, #C0CCED for borders, #4B609B for secondary text, #A46528 as an accent and #1C2F64 for hover and pressed states. For a palette, the analogous pair #5DB6D2 and #785DD2 stays calm, while #D2B35D is the loudest partner.

What is #5d7cd2 in CMYK for printing?

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

Is #5d7cd2 warm or cool?

Cool — it scores 92 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #695DD2; nudged cooler, #5B8BD4.

Work with #5d7cd2 in the Color Lab