#5646D8#5646D8

#5646D8 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.4% C 0.213 H 280.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5646D8
RGBrgb(86, 70, 216)
HSLhsl(247, 65%, 56%)
HSVhsv(247, 68%, 85%)
CMYKcmyk(60.2%, 67.6%, 0%, 15.3%)
CIE-LABlab(40.11, 47.50, -72.67)
CIE-LCHlch(40.11, 86.82, 303.17°)
OKLaboklab(50.39% 0.0387 -0.2094)
OKLCHoklch(50.39% 0.213 280.5)
XYZxyz(18.4187, 11.3153, 66.1659)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646D8 #C8D846
analogous
#467FD8 #5646D8 #9F46D8
triadic
#5646D8 #D85646 #46D856
tetradic
#5646D8 #D8467F #C8D846 #46D89F
square
#5646D8 #D8467F #C8D846 #46D89F
split-complementary
#5646D8 #D89F46 #7FD846
monochromatic
#281C87 #3727BA #5646D8 #8479E3 #B2ABED

Accessibility & contrast

On white

6.44
#5646D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5646D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5646D8
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5646D8#FFFFFF#000000##FFFFFF
##5646D81.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DC
Deuteranopia (green-blind)
#0059D5
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5646d8;
/* rgb */ color: rgb(86, 70, 216);
/* oklch */ color: oklch(50.4% 0.213 280.5);
Tailwind
colors: {
  custom: {
    50: '#937be5',
    500: '#5646d8',
    950: '#000000',
  },
}
SCSS
$custom: #5646d8;
$custom-light: #937be5;
$custom-dark: #000000;
JSON
{
  "hex": "#5646d8",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 246.575,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50391,
    "c": 0.21294,
    "h": 280.5
  },
  "luminance": 0.11317
}

Semantic roles & 50–950 ramp

primary
#5646D8
secondary
#D4DB9F
accent
#E840D6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5646D8

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

Preview Lab → · Contrast checker → · Palette generator →

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