#6562DF#6562DF

#6562DF is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.7% C 0.185 H 279.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#6562DF
RGBrgb(101, 98, 223)
HSLhsl(241, 66%, 63%)
HSVhsv(241, 56%, 87%)
CMYKcmyk(54.7%, 56.1%, 0%, 12.5%)
CIE-LABlab(48.04, 35.75, -63.69)
CIE-LCHlch(48.04, 73.04, 299.31°)
OKLaboklab(56.65% 0.0314 -0.1825)
OKLCHoklch(56.65% 0.185 279.8)
XYZxyz(23.0496, 16.8283, 71.8313)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6562DF #DCDF62
analogous
#629DDF #6562DF #A362DF
triadic
#6562DF #DF6562 #62DF65
tetradic
#6562DF #DF629D #DCDF62 #62DFA3
square
#6562DF #DF629D #DCDF62 #62DFA3
split-complementary
#6562DF #DFA362 #9DDF62
monochromatic
#2522A5 #332FD5 #6562DF #9795E9 #C9C8F4

Accessibility & contrast

On white

4.81
#6562DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#6562DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6562DF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6562DF#FFFFFF#000000##FFFFFF
##6562DF1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#006DDC
Tritanopia (blue-blind)
#297F97
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6562df;
/* rgb */ color: rgb(101, 98, 223);
/* oklch */ color: oklch(56.7% 0.185 279.8);
Tailwind
colors: {
  custom: {
    50: '#9a8fea',
    500: '#6562df',
    950: '#000000',
  },
}
SCSS
$custom: #6562df;
$custom-light: #9a8fea;
$custom-dark: #000000;
JSON
{
  "hex": "#6562df",
  "rgb": {
    "r": 101,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 241.44,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56652,
    "c": 0.18515,
    "h": 279.8
  },
  "luminance": 0.1683
}

Semantic roles & 50–950 ramp

primary
#6562DF
secondary
#E4E5B8
accent
#CE17CA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6562DF

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

Preview Lab → · Contrast checker → · Palette generator →

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