#5646CE#5646CE

#5646CE is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.5% C 0.201 H 281.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5646CE
RGBrgb(86, 70, 206)
HSLhsl(247, 58%, 54%)
HSVhsv(247, 66%, 81%)
CMYKcmyk(58.3%, 66%, 0%, 19.2%)
CIE-LABlab(39.27, 44.41, -68.29)
CIE-LCHlch(39.27, 81.46, 303.04°)
OKLaboklab(49.52% 0.04 -0.1965)
OKLCHoklch(49.52% 0.201 281.5)
XYZxyz(17.1650, 10.8138, 59.5633)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646CE #BECE46
analogous
#467ACE #5646CE #9A46CE
triadic
#5646CE #CE5646 #46CE56
tetradic
#5646CE #CE467A #BECE46 #46CE9A
square
#5646CE #CE467A #BECE46 #46CE9A
split-complementary
#5646CE #CE9A46 #7ACE46
monochromatic
#2B2079 #3C2DAA #5646CE #8276DB #AEA7E8

Accessibility & contrast

On white

6.64
#5646CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5646CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5646CE
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5646CE#FFFFFF#000000##FFFFFF
##5646CE1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0058CB
Tritanopia (blue-blind)
#066984
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5646ce;
/* rgb */ color: rgb(86, 70, 206);
/* oklch */ color: oklch(49.5% 0.201 281.5);
Tailwind
colors: {
  custom: {
    50: '#927bde',
    500: '#5646ce',
    950: '#000000',
  },
}
SCSS
$custom: #5646ce;
$custom-light: #927bde;
$custom-dark: #000000;
JSON
{
  "hex": "#5646ce",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 247.059,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49524,
    "c": 0.20057,
    "h": 281.5
  },
  "luminance": 0.10815
}

Semantic roles & 50–950 ramp

primary
#5646CE
secondary
#CED59B
accent
#E146CF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5646CE

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

Preview Lab → · Contrast checker → · Palette generator →

#5646CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva