#6562CC#6562CC

#6562CC is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.3% C 0.160 H 281.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6562CC
RGBrgb(101, 98, 204)
HSLhsl(242, 51%, 59%)
HSVhsv(242, 52%, 80%)
CMYKcmyk(50.5%, 52%, 0%, 20%)
CIE-LABlab(46.79, 29.84, -54.87)
CIE-LCHlch(46.79, 62.46, 298.53°)
OKLaboklab(55.32% 0.0307 -0.1565)
OKLCHoklch(55.32% 0.16 281.1)
XYZxyz(20.6303, 15.8606, 59.0894)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6562CC #C9CC62
analogous
#6294CC #6562CC #9A62CC
triadic
#6562CC #CC6562 #62CC65
tetradic
#6562CC #CC6294 #C9CC62 #62CC9A
square
#6562CC #CC6294 #C9CC62 #62CC9A
split-complementary
#6562CC #CC9A62 #94CC62
monochromatic
#2F2C88 #3F3BB6 #6562CC #9290DB #C0BEEA

Accessibility & contrast

On white

5.03
#6562CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#6562CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6562CC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6562CC#FFFFFF#000000##FFFFFF
##6562CC1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C73D0
Deuteranopia (green-blind)
#216BCA
Tritanopia (blue-blind)
#3D798E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6562cc;
/* rgb */ color: rgb(101, 98, 204);
/* oklch */ color: oklch(55.3% 0.160 281.1);
Tailwind
colors: {
  custom: {
    50: '#988edc',
    500: '#6562cc',
    950: '#000000',
  },
}
SCSS
$custom: #6562cc;
$custom-light: #988edc;
$custom-dark: #000000;
JSON
{
  "hex": "#6562cc",
  "rgb": {
    "r": 101,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 241.698,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55319,
    "c": 0.15953,
    "h": 281.1
  },
  "luminance": 0.15862
}

Semantic roles & 50–950 ramp

primary
#6562CC
secondary
#D8DAB0
accent
#DA4DD6
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6562CC

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

Preview Lab → · Contrast checker → · Palette generator →

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