Skip to content

#562fcf

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

RGB
86, 47, 207
HSL
255°, 63%, 50%
CMYK
59, 77, 0, 19
Luminance
0.0852

At a glance

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

Hex
#562fcf
Hue
255°
blue
Saturation
63%
vivid
Lightness
50%
balanced
Brightness
81%
HSV value
Perceived
36%
weighted brightness
Luminance
0.0852
WCAG relative
Temperature
Cool
75/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
7.77:1
Closest name
Blue
ΔE2000 6.9
Where it sits
Hue255° of 360°
Saturation63%
Lightness50%
Temperature
Warm ← → Cool75% 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#562fcf
RGBrgb(86, 47, 207)
HSLhsl(255, 63%, 50%)
CMYKcmyk(59%, 77%, 0%, 19%)
LABlab(35.0 56.8 -75.8)
LCHlch(35.0 94.7 306.8)
OKLCHoklch(0.466 0.226 284.6)
Decimal5648335
Display P3color(display-p3 0.337 0.184 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#562fcf on white: 7.77:1
AA ✓ pass · AA-large · AAA
Aa
#562fcf on black: 2.70:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0057D3
deuteranopia · #004DCC
tritanopia · #0A5E7E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #562fcf is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F5F4FB
#ECE8F7
#D4CBF0
#B5A4EA
#9076E0
#6B48D5
#562fcf
#4526A6
#371E85
#2B1A61
#1B103C
Base = 600Lightest = 50 · #F5F4FBDarkest = 950 · #1B103C
:root {
  --brand-50: #F5F4FB;
  --brand-100: #ECE8F7;
  --brand-200: #D4CBF0;
  --brand-300: #B5A4EA;
  --brand-400: #9076E0;
  --brand-500: #6B48D5;
  --brand-600: #562fcf;
  --brand-700: #4526A6;
  --brand-800: #371E85;
  --brand-900: #2B1A61;
  --brand-950: #1B103C;
  --brand: #562fcf;
  --brand-ink: #ffffff;
}

Colors that work with #562fcf

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#CBC0ED
Hairlines and dividers
Muted text#5E4B9B
Captions on the surface
Accent#AAA922
Second voice, not a rival
Dark variant#2B1868
Hover, pressed, headers
Light variant#EEEAFA
Selected rows, tints
Dark surface#181424
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 #562fcf

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#A8CF2F
Analogous left#2F58CF
Analogous right#A62FCF
Split-complement 1#CFA62F
Split-complement 2#58CF2F
Triadic 1#CF562F
Triadic 2#2FCF56
Tetradic#CF2F58

RGB percentages

Red33.7%
Green18.4%
Blue81.2%

CMYK percentages

Cyan58.5%
Magenta77.3%
Yellow0.0%
Key (black)18.8%

Color previews

#562fcf text on a black background

contrast 2.70:1

Card sample

#562fcf text on a white background

contrast 7.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #562fcf

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.

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

#562fcf, answered

What color is #562fcf?

#562fcf is a balanced vivid blue, closest to Blue (ΔE2000 6.9). It sits at 255° on the hue wheel with 63% saturation and 50% lightness, which reads as cool.

What is the RGB value of #562fcf?

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

Is #562fcf a light or a dark color?

It is a dark color. Relative luminance is 0.0852 and perceived brightness is 36%, so white text on it reaches 7.77:1.

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

White. It scores 7.77:1 against #562fcf, versus 2.70:1 for black — AAA at any size.

What is the complementary color of #562fcf?

#A8CF2F sits directly opposite on the wheel. Softer options are the split-complements #CFA62F and #58CF2F, which give the same contrast with far less vibration.

What colors go well with #562fcf?

For interface work: #F6F4FA as the surface, #CBC0ED for borders, #5E4B9B for secondary text, #AAA922 as an accent and #2B1868 for hover and pressed states. For a palette, the analogous pair #2F58CF and #A62FCF stays calm, while #A8CF2F is the loudest partner.

What is #562fcf in CMYK for printing?

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

Is #562fcf warm or cool?

Cool — it scores 75 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #912FCF; nudged cooler, #2C41D2.

Work with #562fcf in the Color Lab