#5646D5#5646D5

#5646D5 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.1% C 0.209 H 280.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5646D5
RGBrgb(86, 70, 213)
HSLhsl(247, 63%, 55%)
HSVhsv(247, 67%, 84%)
CMYKcmyk(59.6%, 67.1%, 0%, 16.5%)
CIE-LABlab(39.85, 46.58, -71.36)
CIE-LCHlch(39.85, 85.22, 303.13°)
OKLaboklab(50.13% 0.0391 -0.2056)
OKLCHoklch(50.13% 0.209 280.8)
XYZxyz(18.0344, 11.1616, 64.1420)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646D5 #C5D546
analogous
#467ED5 #5646D5 #9D46D5
triadic
#5646D5 #D55646 #46D556
tetradic
#5646D5 #D5467E #C5D546 #46D59D
square
#5646D5 #D5467E #C5D546 #46D59D
split-complementary
#5646D5 #D59D46 #7ED546
monochromatic
#291E83 #3929B5 #5646D5 #8478E0 #B1AAEC

Accessibility & contrast

On white

6.50
#5646D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5646D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5646D5
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5646D5#FFFFFF#000000##FFFFFF
##5646D51.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D9
Deuteranopia (green-blind)
#0059D2
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5646d5;
/* rgb */ color: rgb(86, 70, 213);
/* oklch */ color: oklch(50.1% 0.209 280.8);
Tailwind
colors: {
  custom: {
    50: '#937be3',
    500: '#5646d5',
    950: '#000000',
  },
}
SCSS
$custom: #5646d5;
$custom-light: #937be3;
$custom-dark: #000000;
JSON
{
  "hex": "#5646d5",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 246.713,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50128,
    "c": 0.20925,
    "h": 280.8
  },
  "luminance": 0.11163
}

Semantic roles & 50–950 ramp

primary
#5646D5
secondary
#D3D99E
accent
#E642D4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5646D5

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

Preview Lab → · Contrast checker → · Palette generator →

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