#5646CA#5646CA

#5646CA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 49.2% C 0.196 H 282.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5646CA
RGBrgb(86, 70, 202)
HSLhsl(247, 55%, 53%)
HSVhsv(247, 65%, 79%)
CMYKcmyk(57.4%, 65.3%, 0%, 20.8%)
CIE-LABlab(38.94, 43.17, -66.51)
CIE-LCHlch(38.94, 79.29, 302.99°)
OKLaboklab(49.19% 0.0405 -0.1913)
OKLCHoklch(49.19% 0.196 282)
XYZxyz(16.6853, 10.6219, 57.0367)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646CA #BACA46
analogous
#4678CA #5646CA #9846CA
triadic
#5646CA #CA5646 #46CA56
tetradic
#5646CA #CA4678 #BACA46 #46CA98
square
#5646CA #CA4678 #BACA46 #46CA98
split-complementary
#5646CA #CA9846 #78CA46
monochromatic
#2B2174 #3D2FA4 #5646CA #8176D8 #ADA5E5

Accessibility & contrast

On white

6.72
#5646CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5646CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5646CA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5646CA#FFFFFF#000000##FFFFFF
##5646CA1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#136782
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5646ca;
/* rgb */ color: rgb(86, 70, 202);
/* oklch */ color: oklch(49.2% 0.196 282.0);
Tailwind
colors: {
  custom: {
    50: '#917bdb',
    500: '#5646ca',
    950: '#000000',
  },
}
SCSS
$custom: #5646ca;
$custom-light: #917bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5646ca",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 247.273,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49185,
    "c": 0.19555,
    "h": 282
  },
  "luminance": 0.10623
}

Semantic roles & 50–950 ramp

primary
#5646CA
secondary
#CBD29A
accent
#DF49CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5646CA

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

Preview Lab → · Contrast checker → · Palette generator →

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