Skip to content

#562fdc

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

RGB
86, 47, 220
HSL
254°, 71%, 52%
CMYK
61, 79, 0, 14
Luminance
0.0918

At a glance

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

Hex
#562fdc
Hue
254°
blue
Saturation
71%
vivid
Lightness
52%
balanced
Brightness
86%
HSV value
Perceived
37%
weighted brightness
Luminance
0.0918
WCAG relative
Temperature
Cool
76/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
7.41:1
Closest name
Blue
ΔE2000 6.2
Where it sits
Hue254° of 360°
Saturation71%
Lightness52%
Temperature
Warm ← → Cool76% 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#562fdc
RGBrgb(86, 47, 220)
HSLhsl(254, 71%, 52%)
CMYKcmyk(61%, 79%, 0%, 14%)
LABlab(36.3 60.4 -81.2)
LCHlch(36.3 101.2 306.6)
OKLCHoklch(0.478 0.240 282.8)
Decimal5648348
Display P3color(display-p3 0.337 0.184 0.863)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#562fdc on white: 7.41:1
AA ✓ pass · AA-large · AAA
Aa
#562fdc on black: 2.84:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005BE1
deuteranopia · #004FD9
tritanopia · #006386

Color scale — 50 to 950

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

#F5F3FC
#EBE7F8
#D2C9F3
#B19FEF
#8A6FE7
#562fdc
#4A23D2
#3E1DAF
#32188C
#271565
#180D3F
Base = 500Lightest = 50 · #F5F3FCDarkest = 950 · #180D3F
:root {
  --brand-50: #F5F3FC;
  --brand-100: #EBE7F8;
  --brand-200: #D2C9F3;
  --brand-300: #B19FEF;
  --brand-400: #8A6FE7;
  --brand-500: #562fdc;
  --brand-600: #4A23D2;
  --brand-700: #3E1DAF;
  --brand-800: #32188C;
  --brand-900: #271565;
  --brand-950: #180D3F;
  --brand: #562fdc;
  --brand-ink: #ffffff;
}

Colors that work with #562fdc

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#F6F4FA
Tinted page background
Border#CAC0ED
Hairlines and dividers
Muted text#5D4B9B
Captions on the surface
Accent#B3AF19
Second voice, not a rival
Dark variant#27126D
Hover, pressed, headers
Light variant#EDE9FB
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 #562fdc

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
  • Text on black or near-black surfaces
  • 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#B5DC2F
Analogous left#2F5FDC
Analogous right#AD2FDC
Split-complement 1#DCAD2F
Split-complement 2#5FDC2F
Triadic 1#DC562F
Triadic 2#2FDC56
Tetradic#DC2F5F

RGB percentages

Red33.7%
Green18.4%
Blue86.3%

CMYK percentages

Cyan60.9%
Magenta78.6%
Yellow0.0%
Key (black)13.7%

Color previews

#562fdc text on a black background

contrast 2.84:1

Card sample

#562fdc text on a white background

contrast 7.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #562fdc

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.

#562fdc 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.

#562fdc, answered

What color is #562fdc?

#562fdc is a balanced vivid blue, closest to Blue (ΔE2000 6.2). It sits at 254° on the hue wheel with 71% saturation and 52% lightness, which reads as cool.

What is the RGB value of #562fdc?

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

Is #562fdc a light or a dark color?

It is a dark color. Relative luminance is 0.0918 and perceived brightness is 37%, so white text on it reaches 7.41:1.

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

White. It scores 7.41:1 against #562fdc, versus 2.84:1 for black — AAA at any size.

What is the complementary color of #562fdc?

#B5DC2F sits directly opposite on the wheel. Softer options are the split-complements #DCAD2F and #5FDC2F, which give the same contrast with far less vibration.

What colors go well with #562fdc?

For interface work: #F6F4FA as the surface, #CAC0ED for borders, #5D4B9B for secondary text, #B3AF19 as an accent and #27126D for hover and pressed states. For a palette, the analogous pair #2F5FDC and #AD2FDC stays calm, while #B5DC2F is the loudest partner.

What is #562fdc in CMYK for printing?

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

Is #562fdc warm or cool?

Cool — it scores 76 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #952FDC; nudged cooler, #2D46DE.

Work with #562fdc in the Color Lab