Skip to content

#5b6fd2

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

RGB
91, 111, 210
HSL
230°, 57%, 59%
CMYK
57, 47, 0, 18
Luminance
0.1825

At a glance

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

Hex
#5b6fd2
Hue
230°
blue
Saturation
57%
vivid
Lightness
59%
balanced
Brightness
82%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1825
WCAG relative
Temperature
Cool
89/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
4.65:1
Closest name
Royal Blue
ΔE2000 3.8
Where it sits
Hue230° of 360°
Saturation57%
Lightness59%
Temperature
Warm ← → Cool89% 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#5b6fd2
RGBrgb(91, 111, 210)
HSLhsl(230, 57%, 59%)
CMYKcmyk(57%, 47%, 0%, 18%)
LABlab(49.8 21.7 -53.5)
LCHlch(49.8 57.7 292.0)
OKLCHoklch(0.575 0.153 272.2)
Decimal5992402
Display P3color(display-p3 0.357 0.435 0.824)

Copy-ready code

/* CSS */
color: #5b6fd2;
background-color: #5b6fd2;
/* Tailwind (arbitrary) */
class="text-[#5b6fd2] bg-[#5b6fd2]"
/* SCSS */
$brand: #5b6fd2;
/* SwiftUI */
Color(red: 0.357, green: 0.435, blue: 0.824)
/* Android */
Color.parseColor("#5b6fd2")
/* Flutter */
Color(0xFF5B6FD2)
/* Python / OpenCV (BGR) */
(210, 111, 91)

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

Accessibility — WCAG contrast

Aa
#5b6fd2 on white: 4.52:1
AA ✓ pass · AA-large · AAA
Aa
#5b6fd2 on black: 4.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #407CD6
deuteranopia · #2F72D0
tritanopia · #0D8596

Color scale — 50 to 950

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

#F4F5FB
#E9EBF6
#CDD3EE
#A7B2E7
#7B8BDB
#5b6fd2
#354CC0
#2C40A0
#233380
#1D285D
#12193A
Base = 500Lightest = 50 · #F4F5FBDarkest = 950 · #12193A
:root {
  --brand-50: #F4F5FB;
  --brand-100: #E9EBF6;
  --brand-200: #CDD3EE;
  --brand-300: #A7B2E7;
  --brand-400: #7B8BDB;
  --brand-500: #5b6fd2;
  --brand-600: #354CC0;
  --brand-700: #2C40A0;
  --brand-800: #233380;
  --brand-900: #1D285D;
  --brand-950: #12193A;
  --brand: #5b6fd2;
  --brand-ink: #000000;
}

Colors that work with #5b6fd2

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#F4F5FA
Tinted page background
Border#C0C7ED
Hairlines and dividers
Muted text#4B589B
Captions on the surface
Accent#A47028
Second voice, not a rival
Dark variant#1B2864
Hover, pressed, headers
Light variant#EBEDFA
Selected rows, tints
Dark surface#141624
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 #5b6fd2

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

Works well for
  • Body text and links 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
  • 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#D2BE5B
Analogous left#5BAAD2
Analogous right#825BD2
Split-complement 1#D2825B
Split-complement 2#AAD25B
Triadic 1#D25B6F
Triadic 2#6FD25B
Tetradic#D25BAA

RGB percentages

Red35.7%
Green43.5%
Blue82.4%

CMYK percentages

Cyan56.7%
Magenta47.1%
Yellow0.0%
Key (black)17.6%

Color previews

#5b6fd2 text on a black background

contrast 4.65:1

Card sample

#5b6fd2 text on a white background

contrast 4.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(91, 111, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(91, 111, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5b6fd2;
background: linear-gradient(135deg, #5b6fd2, #965BD2);

Monochromatic scale

Palettes built from #5b6fd2

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.

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

#5b6fd2, answered

What color is #5b6fd2?

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

What is the RGB value of #5b6fd2?

rgb(91, 111, 210) — 91 red, 111 green and 210 blue out of 255, or 35.7% / 43.5% / 82.4% by channel.

Is #5b6fd2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1825 and perceived brightness is 48%, so black text on it reaches 4.65:1.

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

Black. It scores 4.65:1 against #5b6fd2, versus 4.52:1 for white — AA at any size.

What is the complementary color of #5b6fd2?

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

What colors go well with #5b6fd2?

For interface work: #F4F5FA as the surface, #C0C7ED for borders, #4B589B for secondary text, #A47028 as an accent and #1B2864 for hover and pressed states. For a palette, the analogous pair #5BAAD2 and #825BD2 stays calm, while #D2BE5B is the loudest partner.

What is #5b6fd2 in CMYK for printing?

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

Is #5b6fd2 warm or cool?

Cool — it scores 89 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #735BD2; nudged cooler, #5985D4.

Work with #5b6fd2 in the Color Lab