#5645D7#5645D7

#5645D7 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.2% C 0.213 H 280.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5645D7
RGBrgb(86, 69, 215)
HSLhsl(247, 65%, 56%)
HSVhsv(247, 68%, 84%)
CMYKcmyk(60%, 67.9%, 0%, 15.7%)
CIE-LABlab(39.81, 47.76, -72.57)
CIE-LCHlch(39.81, 86.88, 303.35°)
OKLaboklab(50.16% 0.0396 -0.2091)
OKLCHoklch(50.16% 0.213 280.7)
XYZxyz(18.2278, 11.1397, 65.4664)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5645D7 #C6D745
analogous
#457DD7 #5645D7 #9F45D7
triadic
#5645D7 #D75645 #45D756
tetradic
#5645D7 #D7457D #C6D745 #45D79F
square
#5645D7 #D7457D #C6D745 #45D79F
split-complementary
#5645D7 #D79F45 #7DD745
monochromatic
#291D85 #3827B7 #5645D7 #8477E2 #B2AAED

Accessibility & contrast

On white

6.51
#5645D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5645D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5645D7
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5645D7#FFFFFF#000000##FFFFFF
##5645D71.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5645d7;
/* rgb */ color: rgb(86, 69, 215);
/* oklch */ color: oklch(50.2% 0.213 280.7);
Tailwind
colors: {
  custom: {
    50: '#937ae4',
    500: '#5645d7',
    950: '#000000',
  },
}
SCSS
$custom: #5645d7;
$custom-light: #937ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#5645d7",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 246.986,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50155,
    "c": 0.21282,
    "h": 280.7
  },
  "luminance": 0.11141
}

Semantic roles & 50–950 ramp

primary
#5645D7
secondary
#D3DA9E
accent
#E840D4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5645D7

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

Preview Lab → · Contrast checker → · Palette generator →

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