#5646D9#5646D9

#5646D9 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.5% C 0.214 H 280.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5646D9
RGBrgb(86, 70, 217)
HSLhsl(247, 66%, 56%)
HSVhsv(247, 68%, 85%)
CMYKcmyk(60.4%, 67.7%, 0%, 14.9%)
CIE-LABlab(40.19, 47.81, -73.10)
CIE-LCHlch(40.19, 87.35, 303.19°)
OKLaboklab(50.48% 0.0386 -0.2106)
OKLCHoklch(50.48% 0.214 280.4)
XYZxyz(18.5483, 11.3672, 66.8488)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646D9 #C9D946
analogous
#4680D9 #5646D9 #A046D9
triadic
#5646D9 #D95646 #46D956
tetradic
#5646D9 #D94680 #C9D946 #46D9A0
square
#5646D9 #D94680 #C9D946 #46D9A0
split-complementary
#5646D9 #D9A046 #80D946
monochromatic
#281C89 #3726BB #5646D9 #8479E3 #B3ACEE

Accessibility & contrast

On white

6.41
#5646D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5646D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5646D9
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5646D9#FFFFFF#000000##FFFFFF
##5646D91.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DD
Deuteranopia (green-blind)
#0059D6
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5646d9;
/* rgb */ color: rgb(86, 70, 217);
/* oklch */ color: oklch(50.5% 0.214 280.4);
Tailwind
colors: {
  custom: {
    50: '#937be6',
    500: '#5646d9',
    950: '#000000',
  },
}
SCSS
$custom: #5646d9;
$custom-light: #937be6;
$custom-dark: #000000;
JSON
{
  "hex": "#5646d9",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 246.531,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50479,
    "c": 0.21415,
    "h": 280.4
  },
  "luminance": 0.11369
}

Semantic roles & 50–950 ramp

primary
#5646D9
secondary
#D5DC9F
accent
#E93FD6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5646D9

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

Preview Lab → · Contrast checker → · Palette generator →

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