#6562EA#6562EA

#6562EA is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.5% C 0.200 H 279.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#6562EA
RGBrgb(101, 98, 234)
HSLhsl(241, 76%, 65%)
HSVhsv(241, 58%, 92%)
CMYKcmyk(56.8%, 58.1%, 0%, 8.2%)
CIE-LABlab(48.81, 39.20, -68.65)
CIE-LCHlch(48.81, 79.06, 299.73°)
OKLaboklab(57.46% 0.0314 -0.1971)
OKLCHoklch(57.46% 0.2 279.1)
XYZxyz(24.5811, 17.4409, 79.8971)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6562EA #E7EA62
analogous
#62A3EA #6562EA #A962EA
triadic
#6562EA #EA6562 #62EA65
tetradic
#6562EA #EA62A3 #E7EA62 #62EAA9
square
#6562EA #EA62A3 #E7EA62 #62EAA9
split-complementary
#6562EA #EAA962 #A3EA62
monochromatic
#1C19B9 #302CE3 #6562EA #9A98F1 #CFCEF8

Accessibility & contrast

On white

4.68
#6562EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#6562EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6562EA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6562EA#FFFFFF#000000##FFFFFF
##6562EA1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#14829D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6562ea;
/* rgb */ color: rgb(101, 98, 234);
/* oklch */ color: oklch(57.5% 0.200 279.1);
Tailwind
colors: {
  custom: {
    50: '#9c8ff2',
    500: '#6562ea',
    950: '#000000',
  },
}
SCSS
$custom: #6562ea;
$custom-light: #9c8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#6562ea",
  "rgb": {
    "r": 101,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 241.324,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57464,
    "c": 0.19955,
    "h": 279.1
  },
  "luminance": 0.17443
}

Semantic roles & 50–950 ramp

primary
#6562EA
secondary
#EAEBBD
accent
#D90DD4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6562EA

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

Preview Lab → · Contrast checker → · Palette generator →

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