#5646CD#5646CD

#5646CD is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.4% C 0.199 H 281.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5646CD
RGBrgb(86, 70, 205)
HSLhsl(247, 57%, 54%)
HSVhsv(247, 66%, 80%)
CMYKcmyk(58%, 65.9%, 0%, 19.6%)
CIE-LABlab(39.18, 44.10, -67.84)
CIE-LCHlch(39.18, 80.92, 303.03°)
OKLaboklab(49.44% 0.0402 -0.1952)
OKLCHoklch(49.44% 0.199 281.6)
XYZxyz(17.0439, 10.7654, 58.9256)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646CD #BDCD46
analogous
#467ACD #5646CD #9A46CD
triadic
#5646CD #CD5646 #46CD56
tetradic
#5646CD #CD467A #BDCD46 #46CD9A
square
#5646CD #CD467A #BDCD46 #46CD9A
split-complementary
#5646CD #CD9A46 #7ACD46
monochromatic
#2B2078 #3C2DA8 #5646CD #8276DA #AEA6E7

Accessibility & contrast

On white

6.66
#5646CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5646CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5646CD
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5646CD#FFFFFF#000000##FFFFFF
##5646CD1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0057CA
Tritanopia (blue-blind)
#0A6883
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5646cd;
/* rgb */ color: rgb(86, 70, 205);
/* oklch */ color: oklch(49.4% 0.199 281.6);
Tailwind
colors: {
  custom: {
    50: '#917bdd',
    500: '#5646cd',
    950: '#000000',
  },
}
SCSS
$custom: #5646cd;
$custom-light: #917bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5646cd",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 247.111,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49439,
    "c": 0.19932,
    "h": 281.6
  },
  "luminance": 0.10767
}

Semantic roles & 50–950 ramp

primary
#5646CD
secondary
#CDD49B
accent
#E147CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5646CD

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

Preview Lab → · Contrast checker → · Palette generator →

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