Skip to content

#5d7ace

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

RGB
93, 122, 206
HSL
225°, 54%, 59%
CMYK
55, 41, 0, 19
Luminance
0.2070

At a glance

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

Hex
#5d7ace
Hue
225°
blue
Saturation
54%
vivid
Lightness
59%
balanced
Brightness
81%
HSV value
Perceived
50%
weighted brightness
Luminance
0.2070
WCAG relative
Temperature
Cool
92/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
5.14:1
Closest name
Royal Blue
ΔE2000 6.4
Where it sits
Hue225° of 360°
Saturation54%
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#5d7ace
RGBrgb(93, 122, 206)
HSLhsl(225, 54%, 59%)
CMYKcmyk(55%, 41%, 0%, 19%)
LABlab(52.6 14.0 -46.7)
LCHlch(52.6 48.8 286.7)
OKLCHoklch(0.597 0.133 267.9)
Decimal6126286
Display P3color(display-p3 0.365 0.478 0.808)

Copy-ready code

/* CSS */
color: #5d7ace;
background-color: #5d7ace;
/* Tailwind (arbitrary) */
class="text-[#5d7ace] bg-[#5d7ace]"
/* SCSS */
$brand: #5d7ace;
/* SwiftUI */
Color(red: 0.365, green: 0.478, blue: 0.808)
/* Android */
Color.parseColor("#5d7ace")
/* Flutter */
Color(0xFF5D7ACE)
/* Python / OpenCV (BGR) */
(206, 122, 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 #5d7ace · 5.14:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.09:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.14:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #5d7ace as text scores 4.09:1 on white and 5.14:1 on black.

Accessibility — WCAG contrast

Aa
#5d7ace on white: 4.09:1
AA ✗ fail · AA-large · AAA
Aa
#5d7ace on black: 5.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5783D1
deuteranopia · #4979CC
tritanopia · #1D8C9A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #5d7ace 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
#CED6ED
#A9B8E5
#7E95D8
#5d7ace
#395ABC
#2F4B9D
#263C7D
#1F2F5B
#131D39
Base = 500Lightest = 50 · #F4F6FBDarkest = 950 · #131D39
:root {
  --brand-50: #F4F6FB;
  --brand-100: #E9EDF6;
  --brand-200: #CED6ED;
  --brand-300: #A9B8E5;
  --brand-400: #7E95D8;
  --brand-500: #5d7ace;
  --brand-600: #395ABC;
  --brand-700: #2F4B9D;
  --brand-800: #263C7D;
  --brand-900: #1F2F5B;
  --brand-950: #131D39;
  --brand: #5d7ace;
  --brand-ink: #000000;
}

Colors that work with #5d7ace

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#C0CCEC
Hairlines and dividers
Muted text#4B5F9B
Captions on the surface
Accent#A0662C
Second voice, not a rival
Dark variant#1E2F62
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 #5d7ace

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#CEB15D
Analogous left#5DB2CE
Analogous right#785DCE
Split-complement 1#CE785D
Split-complement 2#B2CE5D
Triadic 1#CE5D7A
Triadic 2#7ACE5D
Tetradic#CE5DB2

RGB percentages

Red36.5%
Green47.8%
Blue80.8%

CMYK percentages

Cyan54.9%
Magenta40.8%
Yellow0.0%
Key (black)19.2%

Color previews

#5d7ace text on a black background

contrast 5.14:1

Card sample

#5d7ace text on a white background

contrast 4.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5d7ace

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.

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

#5d7ace, answered

What color is #5d7ace?

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

What is the RGB value of #5d7ace?

rgb(93, 122, 206) — 93 red, 122 green and 206 blue out of 255, or 36.5% / 47.8% / 80.8% by channel.

Is #5d7ace a light or a dark color?

It is a mid-tone. Relative luminance is 0.2070 and perceived brightness is 50%, so black text on it reaches 5.14:1.

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

Black. It scores 5.14:1 against #5d7ace, versus 4.09:1 for white — AA at any size.

What is the complementary color of #5d7ace?

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

What colors go well with #5d7ace?

For interface work: #F4F6FA as the surface, #C0CCEC for borders, #4B5F9B for secondary text, #A0662C as an accent and #1E2F62 for hover and pressed states. For a palette, the analogous pair #5DB2CE and #785DCE stays calm, while #CEB15D is the loudest partner.

What is #5d7ace in CMYK for printing?

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

Is #5d7ace 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 #695DCE; nudged cooler, #5B89D0.

Work with #5d7ace in the Color Lab