Skip to content

#562ffc

a balanced, electric blue · cool · closest name: Blue

RGB
86, 47, 252
HSL
251°, 97%, 59%
CMYK
66, 81, 0, 1
Luminance
0.1104

At a glance

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

Hex
#562ffc
Hue
251°
blue
Saturation
97%
electric
Lightness
59%
balanced
Brightness
99%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1104
WCAG relative
Temperature
Cool
77/100 cool
Color family
Blue
Tone
Electric
Best ink
White
6.55:1
Closest name
Blue
ΔE2000 6.7
Where it sits
Hue251° of 360°
Saturation97%
Lightness59%
Temperature
Warm ← → Cool77% 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#562ffc
RGBrgb(86, 47, 252)
HSLhsl(251, 97%, 59%)
CMYKcmyk(66%, 81%, 0%, 1%)
LABlab(39.6 69.1 -93.8)
LCHlch(39.6 116.5 306.4)
OKLCHoklch(0.511 0.275 279.1)
Decimal5648380
Display P3color(display-p3 0.337 0.184 0.988)

Copy-ready code

/* CSS */
color: #562ffc;
background-color: #562ffc;
/* Tailwind (arbitrary) */
class="text-[#562ffc] bg-[#562ffc]"
/* SCSS */
$brand: #562ffc;
/* SwiftUI */
Color(red: 0.337, green: 0.184, blue: 0.988)
/* Android */
Color.parseColor("#562ffc")
/* Flutter */
Color(0xFF562FFC)
/* Python / OpenCV (BGR) */
(252, 47, 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 #562ffc · 6.55:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.55:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.21:1
AA fail · AA large pass · AAA fail
Reading the other direction: #562ffc as text scores 6.55:1 on white and 3.21:1 on black.

Accessibility — WCAG contrast

Aa
#562ffc on white: 6.55:1
AA ✓ pass · AA-large · AAA
Aa
#562ffc on black: 3.21:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0065FF
deuteranopia · #0055F9
tritanopia · #007098

Color scale — 50 to 950

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

#F4F1FD
#E8E4FC
#CCC1FB
#A590FD
#7859FD
#562ffc
#3103F1
#2903C9
#2002A1
#1B0674
#110448
Base = 500Lightest = 50 · #F4F1FDDarkest = 950 · #110448
:root {
  --brand-50: #F4F1FD;
  --brand-100: #E8E4FC;
  --brand-200: #CCC1FB;
  --brand-300: #A590FD;
  --brand-400: #7859FD;
  --brand-500: #562ffc;
  --brand-600: #3103F1;
  --brand-700: #2903C9;
  --brand-800: #2002A1;
  --brand-900: #1B0674;
  --brand-950: #110448;
  --brand: #562ffc;
  --brand-ink: #ffffff;
}

Colors that work with #562ffc

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#C8C0ED
Hairlines and dividers
Muted text#5A4B9B
Captions on the surface
Accent#CCBF00
Second voice, not a rival
Dark variant#19027E
Hover, pressed, headers
Light variant#EBE6FF
Selected rows, tints
Dark surface#171424
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 #562ffc

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#D5FC2F
Analogous left#2F6EFC
Analogous right#BC2FFC
Split-complement 1#FCBC2F
Split-complement 2#6EFC2F
Triadic 1#FC562F
Triadic 2#2FFC56
Tetradic#FC2F6E

RGB percentages

Red33.7%
Green18.4%
Blue98.8%

CMYK percentages

Cyan65.9%
Magenta81.3%
Yellow0.0%
Key (black)1.2%

Color previews

#562ffc text on a black background

contrast 3.21:1

Card sample

#562ffc text on a white background

contrast 6.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #562ffc;
Background color
Panel with #562ffc background
background-color: #562ffc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #562ffc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(86, 47, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 47, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #562ffc;
background: linear-gradient(135deg, #562ffc, #DF2FFC);

Monochromatic scale

Palettes built from #562ffc

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.

#562ffc 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#562ffc, answered

What color is #562ffc?

#562ffc is a balanced electric blue, closest to Blue (ΔE2000 6.7). It sits at 251° on the hue wheel with 97% saturation and 59% lightness, which reads as cool.

What is the RGB value of #562ffc?

rgb(86, 47, 252) — 86 red, 47 green and 252 blue out of 255, or 33.7% / 18.4% / 98.8% by channel.

Is #562ffc a light or a dark color?

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

Should I use black or white text on #562ffc?

White. It scores 6.55:1 against #562ffc, versus 3.21:1 for black — AA at any size.

What is the complementary color of #562ffc?

#D5FC2F sits directly opposite on the wheel. Softer options are the split-complements #FCBC2F and #6EFC2F, which give the same contrast with far less vibration.

What colors go well with #562ffc?

For interface work: #F5F4FA as the surface, #C8C0ED for borders, #5A4B9B for secondary text, #CCBF00 as an accent and #19027E for hover and pressed states. For a palette, the analogous pair #2F6EFC and #BC2FFC stays calm, while #D5FC2F is the loudest partner.

What is #562ffc in CMYK for printing?

cmyk(66%, 81%, 0%, 1%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #562ffc warm or cool?

Cool — it scores 77 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A12FFC; nudged cooler, #2D4BFE.

Work with #562ffc in the Color Lab