#5645CD#5645CD

#5645CD is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.3% C 0.200 H 281.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5645CD
RGBrgb(86, 69, 205)
HSLhsl(248, 58%, 54%)
HSVhsv(248, 66%, 80%)
CMYKcmyk(58%, 66.3%, 0%, 19.6%)
CIE-LABlab(38.97, 44.67, -68.19)
CIE-LCHlch(38.97, 81.52, 303.23°)
OKLaboklab(49.29% 0.041 -0.1962)
OKLCHoklch(49.29% 0.2 281.8)
XYZxyz(16.9819, 10.6413, 58.9049)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5645CD #BCCD45
analogous
#4578CD #5645CD #9A45CD
triadic
#5645CD #CD5645 #45CD56
tetradic
#5645CD #CD4578 #BCCD45 #45CD9A
square
#5645CD #CD4578 #BCCD45 #45CD9A
split-complementary
#5645CD #CD9A45 #78CD45
monochromatic
#2B2077 #3C2DA8 #5645CD #8275DA #AEA5E7

Accessibility & contrast

On white

6.71
#5645CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5645CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5645CD
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5645CD#FFFFFF#000000##FFFFFF
##5645CD1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0057CA
Tritanopia (blue-blind)
#0A6883
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5645cd;
/* rgb */ color: rgb(86, 69, 205);
/* oklch */ color: oklch(49.3% 0.200 281.8);
Tailwind
colors: {
  custom: {
    50: '#917add',
    500: '#5645cd',
    950: '#000000',
  },
}
SCSS
$custom: #5645cd;
$custom-light: #917add;
$custom-dark: #000000;
JSON
{
  "hex": "#5645cd",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 247.5,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49285,
    "c": 0.20049,
    "h": 281.8
  },
  "luminance": 0.10642
}

Semantic roles & 50–950 ramp

primary
#5645CD
secondary
#CDD49A
accent
#E147CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5645CD

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

Preview Lab → · Contrast checker → · Palette generator →

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