#5645AE#5645AE

#5645AE is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.8% C 0.161 H 285.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#5645AE
RGBrgb(86, 69, 174)
HSLhsl(250, 43%, 48%)
HSVhsv(250, 60%, 68%)
CMYKcmyk(50.6%, 60.3%, 0%, 31.8%)
CIE-LABlab(36.54, 35.09, -53.97)
CIE-LCHlch(36.54, 64.38, 303.03°)
OKLaboklab(46.75% 0.0437 -0.1545)
OKLCHoklch(46.75% 0.161 285.8)
XYZxyz(13.6036, 9.2900, 41.1125)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5645AE #9DAE45
analogous
#4569AE #5645AE #8A45AE
triadic
#5645AE #AE5645 #45AE56
tetradic
#5645AE #AE4569 #9DAE45 #45AE8A
square
#5645AE #AE4569 #9DAE45 #45AE8A
split-complementary
#5645AE #AE8A45 #69AE45
monochromatic
#2B2256 #403482 #5645AE #7A6CC5 #A297D6

Accessibility & contrast

On white

7.35
#5645AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5645AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5645AE
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5645AE#FFFFFF#000000##FFFFFF
##5645AE1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#365D73
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5645ae;
/* rgb */ color: rgb(86, 69, 174);
/* oklch */ color: oklch(46.8% 0.161 285.8);
Tailwind
colors: {
  custom: {
    50: '#8d79c7',
    500: '#5645ae',
    950: '#000000',
  },
}
SCSS
$custom: #5645ae;
$custom-light: #8d79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5645ae",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 249.714,
    "s": 43.21,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46754,
    "c": 0.16055,
    "h": 285.8
  },
  "luminance": 0.09291
}

Semantic roles & 50–950 ramp

primary
#5645AE
secondary
#B9C28D
accent
#D355BF
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5645AE

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

Preview Lab → · Contrast checker → · Palette generator →

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