Skip to content

#564fd7

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

RGB
86, 79, 215
HSL
243°, 63%, 58%
CMYK
60, 63, 0, 16
Luminance
0.1248

At a glance

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

Hex
#564fd7
Hue
243°
blue
Saturation
63%
vivid
Lightness
58%
balanced
Brightness
84%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1248
WCAG relative
Temperature
Cool
82/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
6.01:1
Closest name
Slate Blue
ΔE2000 4.4
Where it sits
Hue243° of 360°
Saturation63%
Lightness58%
Temperature
Warm ← → Cool82% 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#564fd7
RGBrgb(86, 79, 215)
HSLhsl(243, 63%, 58%)
CMYKcmyk(60%, 63%, 0%, 16%)
LABlab(42.0 42.0 -69.1)
LCHlch(42.0 80.8 301.3)
OKLCHoklch(0.517 0.201 279.0)
Decimal5656535
Display P3color(display-p3 0.337 0.310 0.843)

Copy-ready code

/* CSS */
color: #564fd7;
background-color: #564fd7;
/* Tailwind (arbitrary) */
class="text-[#564fd7] bg-[#564fd7]"
/* SCSS */
$brand: #564fd7;
/* SwiftUI */
Color(red: 0.337, green: 0.310, blue: 0.843)
/* Android */
Color.parseColor("#564fd7")
/* Flutter */
Color(0xFF564FD7)
/* Python / OpenCV (BGR) */
(215, 79, 86)

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

Accessibility — WCAG contrast

Aa
#564fd7 on white: 6.01:1
AA ✓ pass · AA-large · AAA
Aa
#564fd7 on black: 3.50:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0068DB
deuteranopia · #005ED4
tritanopia · #00718C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #564fd7 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
#E9E8F7
#CDCBF0
#A7A4EA
#7B76E0
#564fd7
#352DC8
#2C26A6
#241E85
#1D1A61
#12103C
Base = 500Lightest = 50 · #F4F4FBDarkest = 950 · #12103C
:root {
  --brand-50: #F4F4FB;
  --brand-100: #E9E8F7;
  --brand-200: #CDCBF0;
  --brand-300: #A7A4EA;
  --brand-400: #7B76E0;
  --brand-500: #564fd7;
  --brand-600: #352DC8;
  --brand-700: #2C26A6;
  --brand-800: #241E85;
  --brand-900: #1D1A61;
  --brand-950: #12103C;
  --brand: #564fd7;
  --brand-ink: #ffffff;
}

Colors that work with #564fd7

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#F5F4FA
Tinted page background
Border#C2C0ED
Hairlines and dividers
Muted text#4F4B9B
Captions on the surface
Accent#AA9022
Second voice, not a rival
Dark variant#1C1868
Hover, pressed, headers
Light variant#EBEAFA
Selected rows, tints
Dark surface#151424
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 #564fd7

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#D0D74F
Analogous left#4F8CD7
Analogous right#9A4FD7
Split-complement 1#D79A4F
Split-complement 2#8CD74F
Triadic 1#D7564F
Triadic 2#4FD756
Tetradic#D74F8C

RGB percentages

Red33.7%
Green31.0%
Blue84.3%

CMYK percentages

Cyan60.0%
Magenta63.3%
Yellow0.0%
Key (black)15.7%

Color previews

#564fd7 text on a black background

contrast 3.50:1

Card sample

#564fd7 text on a white background

contrast 6.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #564fd7;
Background color
Panel with #564fd7 background
background-color: #564fd7;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #564fd7;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(86, 79, 215, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 79, 215, 0.45);
Border & gradient
Gradient panel
border: 3px solid #564fd7;
background: linear-gradient(135deg, #564fd7, #B14FD7);

Monochromatic scale

Palettes built from #564fd7

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.

#564fd7 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.

#564fd7, answered

What color is #564fd7?

#564fd7 is a balanced vivid blue, closest to Slate Blue (ΔE2000 4.4). It sits at 243° on the hue wheel with 63% saturation and 58% lightness, which reads as cool.

What is the RGB value of #564fd7?

rgb(86, 79, 215) — 86 red, 79 green and 215 blue out of 255, or 33.7% / 31% / 84.3% by channel.

Is #564fd7 a light or a dark color?

It is a dark color. Relative luminance is 0.1248 and perceived brightness is 41%, so white text on it reaches 6.01:1.

Should I use black or white text on #564fd7?

White. It scores 6.01:1 against #564fd7, versus 3.50:1 for black — AA at any size.

What is the complementary color of #564fd7?

#D0D74F sits directly opposite on the wheel. Softer options are the split-complements #D79A4F and #8CD74F, which give the same contrast with far less vibration.

What colors go well with #564fd7?

For interface work: #F5F4FA as the surface, #C2C0ED for borders, #4F4B9B for secondary text, #AA9022 as an accent and #1C1868 for hover and pressed states. For a palette, the analogous pair #4F8CD7 and #9A4FD7 stays calm, while #D0D74F is the loudest partner.

What is #564fd7 in CMYK for printing?

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

Is #564fd7 warm or cool?

Cool — it scores 82 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #884FD7; nudged cooler, #4D71D9.

Work with #564fd7 in the Color Lab