#5645D6#5645D6

#5645D6 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.1% C 0.212 H 280.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5645D6
RGBrgb(86, 69, 214)
HSLhsl(247, 64%, 55%)
HSVhsv(247, 68%, 84%)
CMYKcmyk(59.8%, 67.8%, 0%, 16.1%)
CIE-LABlab(39.73, 47.45, -72.14)
CIE-LCHlch(39.73, 86.34, 303.34°)
OKLaboklab(50.07% 0.0398 -0.2078)
OKLCHoklch(50.07% 0.212 280.8)
XYZxyz(18.0997, 11.0884, 64.7918)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5645D6 #C5D645
analogous
#457DD6 #5645D6 #9E45D6
triadic
#5645D6 #D65645 #45D656
tetradic
#5645D6 #D6457D #C5D645 #45D69E
square
#5645D6 #D6457D #C5D645 #45D69E
split-complementary
#5645D6 #D69E45 #7DD645
monochromatic
#291D84 #3928B6 #5645D6 #8477E1 #B1A9EC

Accessibility & contrast

On white

6.53
#5645D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5645D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5645D6
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5645D6#FFFFFF#000000##FFFFFF
##5645D61.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DA
Deuteranopia (green-blind)
#0058D3
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5645d6;
/* rgb */ color: rgb(86, 69, 214);
/* oklch */ color: oklch(50.1% 0.212 280.8);
Tailwind
colors: {
  custom: {
    50: '#937ae4',
    500: '#5645d6',
    950: '#000000',
  },
}
SCSS
$custom: #5645d6;
$custom-light: #937ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#5645d6",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 247.034,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50067,
    "c": 0.2116,
    "h": 280.8
  },
  "luminance": 0.1109
}

Semantic roles & 50–950 ramp

primary
#5645D6
secondary
#D3DA9D
accent
#E741D3
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5645D6

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

Preview Lab → · Contrast checker → · Palette generator →

#5645D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva