#6562DB#6562DB

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

Color values

HEX#6562DB
RGBrgb(101, 98, 219)
HSLhsl(241, 63%, 62%)
HSVhsv(241, 55%, 86%)
CMYKcmyk(53.9%, 55.3%, 0%, 14.1%)
CIE-LABlab(47.77, 34.50, -61.86)
CIE-LCHlch(47.77, 70.83, 299.15°)
OKLaboklab(56.36% 0.0314 -0.1771)
OKLCHoklch(56.36% 0.18 280)
XYZxyz(22.5167, 16.6151, 69.0246)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6562DB #D8DB62
analogous
#629BDB #6562DB #A262DB
triadic
#6562DB #DB6562 #62DB65
tetradic
#6562DB #DB629B #D8DB62 #62DBA2
square
#6562DB #DB629B #D8DB62 #62DBA2
split-complementary
#6562DB #DBA262 #9BDB62
monochromatic
#27249E #3430D0 #6562DB #9694E6 #C7C6F2

Accessibility & contrast

On white

4.86
#6562DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#6562DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6562DB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6562DB#FFFFFF#000000##FFFFFF
##6562DB1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B76DF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#2E7E95
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6562db;
/* rgb */ color: rgb(101, 98, 219);
/* oklch */ color: oklch(56.4% 0.180 280.0);
Tailwind
colors: {
  custom: {
    50: '#9a8fe7',
    500: '#6562db',
    950: '#000000',
  },
}
SCSS
$custom: #6562db;
$custom-light: #9a8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#6562db",
  "rgb": {
    "r": 101,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 241.488,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56364,
    "c": 0.17984,
    "h": 280
  },
  "luminance": 0.16617
}

Semantic roles & 50–950 ramp

primary
#6562DB
secondary
#E2E3B6
accent
#CA1BC6
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6562DB

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

Preview Lab → · Contrast checker → · Palette generator →

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