#5645CE#5645CE

#5645CE is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.4% C 0.202 H 281.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5645CE
RGBrgb(86, 69, 206)
HSLhsl(247, 58%, 54%)
HSVhsv(247, 67%, 81%)
CMYKcmyk(58.3%, 66.5%, 0%, 19.2%)
CIE-LABlab(39.05, 44.98, -68.63)
CIE-LCHlch(39.05, 82.06, 303.24°)
OKLaboklab(49.37% 0.0409 -0.1975)
OKLCHoklch(49.37% 0.202 281.7)
XYZxyz(17.1030, 10.6898, 59.5426)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5645CE #BDCE45
analogous
#4579CE #5645CE #9B45CE
triadic
#5645CE #CE5645 #45CE56
tetradic
#5645CE #CE4579 #BDCE45 #45CE9B
square
#5645CE #CE4579 #BDCE45 #45CE9B
split-complementary
#5645CE #CE9B45 #79CE45
monochromatic
#2B2079 #3C2DA9 #5645CE #8275DB #AEA6E8

Accessibility & contrast

On white

6.69
#5645CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5645CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5645CE
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5645CE#FFFFFF#000000##FFFFFF
##5645CE1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0057CB
Tritanopia (blue-blind)
#066884
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5645ce;
/* rgb */ color: rgb(86, 69, 206);
/* oklch */ color: oklch(49.4% 0.202 281.7);
Tailwind
colors: {
  custom: {
    50: '#927ade',
    500: '#5645ce',
    950: '#000000',
  },
}
SCSS
$custom: #5645ce;
$custom-light: #927ade;
$custom-dark: #000000;
JSON
{
  "hex": "#5645ce",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 247.445,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49371,
    "c": 0.20174,
    "h": 281.7
  },
  "luminance": 0.10691
}

Semantic roles & 50–950 ramp

primary
#5645CE
secondary
#CDD59A
accent
#E246CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5645CE

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

Preview Lab → · Contrast checker → · Palette generator →

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