#6562E4#6562E4

#6562E4 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 57.0% C 0.192 H 279.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#6562E4
RGBrgb(101, 98, 228)
HSLhsl(241, 71%, 64%)
HSVhsv(241, 57%, 89%)
CMYKcmyk(55.7%, 57%, 0%, 10.6%)
CIE-LABlab(48.39, 37.32, -65.96)
CIE-LCHlch(48.39, 75.78, 299.50°)
OKLaboklab(57.02% 0.0315 -0.1891)
OKLCHoklch(57.02% 0.192 279.4)
XYZxyz(23.7337, 17.1019, 75.4341)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6562E4 #E1E462
analogous
#62A0E4 #6562E4 #A662E4
triadic
#6562E4 #E46562 #62E465
tetradic
#6562E4 #E462A0 #E1E462 #62E4A6
square
#6562E4 #E462A0 #E1E462 #62E4A6
split-complementary
#6562E4 #E4A662 #A0E462
monochromatic
#211EAE #322EDB #6562E4 #9896ED #CBCAF6

Accessibility & contrast

On white

4.75
#6562E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#6562E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6562E4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6562E4#FFFFFF#000000##FFFFFF
##6562E41.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#006EE1
Tritanopia (blue-blind)
#218199
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6562e4;
/* rgb */ color: rgb(101, 98, 228);
/* oklch */ color: oklch(57.0% 0.192 279.4);
Tailwind
colors: {
  custom: {
    50: '#9b8fed',
    500: '#6562e4',
    950: '#000000',
  },
}
SCSS
$custom: #6562e4;
$custom-light: #9b8fed;
$custom-dark: #000000;
JSON
{
  "hex": "#6562e4",
  "rgb": {
    "r": 101,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 241.385,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57018,
    "c": 0.19174,
    "h": 279.4
  },
  "luminance": 0.17104
}

Semantic roles & 50–950 ramp

primary
#6562E4
secondary
#E7E8BA
accent
#D313CE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6562E4

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

Preview Lab → · Contrast checker → · Palette generator →

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