#5645D2#5645D2

#5645D2 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.7% C 0.207 H 281.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5645D2
RGBrgb(86, 69, 210)
HSLhsl(247, 61%, 55%)
HSVhsv(247, 67%, 82%)
CMYKcmyk(59%, 67.1%, 0%, 17.6%)
CIE-LABlab(39.39, 46.22, -70.39)
CIE-LCHlch(39.39, 84.21, 303.29°)
OKLaboklab(49.72% 0.0403 -0.2027)
OKLCHoklch(49.72% 0.207 281.3)
XYZxyz(17.5951, 10.8866, 62.1344)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5645D2 #C1D245
analogous
#457BD2 #5645D2 #9D45D2
triadic
#5645D2 #D25645 #45D256
tetradic
#5645D2 #D2457B #C1D245 #45D29D
square
#5645D2 #D2457B #C1D245 #45D29D
split-complementary
#5645D2 #D29D45 #7BD245
monochromatic
#2A1F7E #3A2AAF #5645D2 #8376DE #B0A8EA

Accessibility & contrast

On white

6.61
#5645D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5645D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5645D2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5645D2#FFFFFF#000000##FFFFFF
##5645D21.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0058CF
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5645d2;
/* rgb */ color: rgb(86, 69, 210);
/* oklch */ color: oklch(49.7% 0.207 281.3);
Tailwind
colors: {
  custom: {
    50: '#927ae1',
    500: '#5645d2',
    950: '#000000',
  },
}
SCSS
$custom: #5645d2;
$custom-light: #927ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#5645d2",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 247.234,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49717,
    "c": 0.20668,
    "h": 281.3
  },
  "luminance": 0.10888
}

Semantic roles & 50–950 ramp

primary
#5645D2
secondary
#D0D79C
accent
#E444D1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5645D2

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

Preview Lab → · Contrast checker → · Palette generator →

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