#5645D1#5645D1

#5645D1 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.6% C 0.205 H 281.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5645D1
RGBrgb(86, 69, 209)
HSLhsl(247, 60%, 55%)
HSVhsv(247, 67%, 82%)
CMYKcmyk(58.9%, 67%, 0%, 18%)
CIE-LABlab(39.30, 45.91, -69.95)
CIE-LCHlch(39.30, 83.67, 303.28°)
OKLaboklab(49.63% 0.0405 -0.2014)
OKLCHoklch(49.63% 0.205 281.4)
XYZxyz(17.4709, 10.8369, 61.4803)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5645D1 #C0D145
analogous
#457AD1 #5645D1 #9C45D1
triadic
#5645D1 #D15645 #45D156
tetradic
#5645D1 #D1457A #C0D145 #45D19C
square
#5645D1 #D1457A #C0D145 #45D19C
split-complementary
#5645D1 #D19C45 #7AD145
monochromatic
#2A1F7D #3B2BAE #5645D1 #8376DD #AFA7E9

Accessibility & contrast

On white

6.63
#5645D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5645D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5645D1
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5645D1#FFFFFF#000000##FFFFFF
##5645D11.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D5
Deuteranopia (green-blind)
#0057CE
Tritanopia (blue-blind)
#006985
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5645d1;
/* rgb */ color: rgb(86, 69, 209);
/* oklch */ color: oklch(49.6% 0.205 281.4);
Tailwind
colors: {
  custom: {
    50: '#927ae0',
    500: '#5645d1',
    950: '#000000',
  },
}
SCSS
$custom: #5645d1;
$custom-light: #927ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#5645d1",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 247.286,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.4963,
    "c": 0.20546,
    "h": 281.4
  },
  "luminance": 0.10838
}

Semantic roles & 50–950 ramp

primary
#5645D1
secondary
#CFD79B
accent
#E344D0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5645D1

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

Preview Lab → · Contrast checker → · Palette generator →

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