#6562DC#6562DC

#6562DC is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.4% C 0.181 H 280.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#6562DC
RGBrgb(101, 98, 220)
HSLhsl(241, 64%, 62%)
HSVhsv(241, 55%, 86%)
CMYKcmyk(54.1%, 55.5%, 0%, 13.7%)
CIE-LABlab(47.84, 34.82, -62.32)
CIE-LCHlch(47.84, 71.38, 299.19°)
OKLaboklab(56.44% 0.0314 -0.1784)
OKLCHoklch(56.44% 0.181 280)
XYZxyz(22.6487, 16.6679, 69.7200)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6562DC #D9DC62
analogous
#629CDC #6562DC #A262DC
triadic
#6562DC #DC6562 #62DC65
tetradic
#6562DC #DC629C #D9DC62 #62DCA2
square
#6562DC #DC629C #D9DC62 #62DCA2
split-complementary
#6562DC #DCA262 #9CDC62
monochromatic
#2724A0 #3430D1 #6562DC #9694E7 #C7C6F2

Accessibility & contrast

On white

4.85
#6562DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#6562DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6562DC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6562DC#FFFFFF#000000##FFFFFF
##6562DC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0676E0
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#2D7E95
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6562dc;
/* rgb */ color: rgb(101, 98, 220);
/* oklch */ color: oklch(56.4% 0.181 280.0);
Tailwind
colors: {
  custom: {
    50: '#9a8fe8',
    500: '#6562dc',
    950: '#000000',
  },
}
SCSS
$custom: #6562dc;
$custom-light: #9a8fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#6562dc",
  "rgb": {
    "r": 101,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 241.475,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56436,
    "c": 0.18117,
    "h": 280
  },
  "luminance": 0.16669
}

Semantic roles & 50–950 ramp

primary
#6562DC
secondary
#E2E3B7
accent
#CB1AC7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6562DC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#6562DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva