#6562BB#6562BB

#6562BB is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.2% C 0.136 H 282.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6562BB
RGBrgb(101, 98, 187)
HSLhsl(242, 40%, 56%)
HSVhsv(242, 48%, 73%)
CMYKcmyk(46%, 47.6%, 0%, 26.7%)
CIE-LABlab(45.76, 24.63, -46.72)
CIE-LCHlch(45.76, 52.81, 297.79°)
OKLaboklab(54.21% 0.0292 -0.1326)
OKLCHoklch(54.21% 0.136 282.4)
XYZxyz(18.7015, 15.0890, 48.9311)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6562BB #B8BB62
analogous
#628BBB #6562BB #9162BB
triadic
#6562BB #BB6562 #62BB65
tetradic
#6562BB #BB628B #B8BB62 #62BB91
square
#6562BB #BB628B #B8BB62 #62BB91
split-complementary
#6562BB #BB9162 #8BBB62
monochromatic
#333171 #47449C #6562BB #8F8DCD #B9B7E0

Accessibility & contrast

On white

5.23
#6562BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6562BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6562BB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6562BB#FFFFFF#000000##FFFFFF
##6562BB1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6FBE
Deuteranopia (green-blind)
#3869B9
Tritanopia (blue-blind)
#487585
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6562bb;
/* rgb */ color: rgb(101, 98, 187);
/* oklch */ color: oklch(54.2% 0.136 282.4);
Tailwind
colors: {
  custom: {
    50: '#968ed0',
    500: '#6562bb',
    950: '#000000',
  },
}
SCSS
$custom: #6562bb;
$custom-light: #968ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6562bb",
  "rgb": {
    "r": 101,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 242.022,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54208,
    "c": 0.13575,
    "h": 282.4
  },
  "luminance": 0.1509
}

Semantic roles & 50–950 ramp

primary
#6562BB
secondary
#CECFAA
accent
#CF58CB
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6562BB

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

Preview Lab → · Contrast checker → · Palette generator →

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