#5645CF#5645CF

#5645CF is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.5% C 0.203 H 281.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5645CF
RGBrgb(86, 69, 207)
HSLhsl(247, 59%, 54%)
HSVhsv(247, 67%, 81%)
CMYKcmyk(58.5%, 66.7%, 0%, 18.8%)
CIE-LABlab(39.14, 45.29, -69.07)
CIE-LCHlch(39.14, 82.60, 303.25°)
OKLaboklab(49.46% 0.0408 -0.1988)
OKLCHoklch(49.46% 0.203 281.6)
XYZxyz(17.2248, 10.7385, 60.1845)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5645CF #BECF45
analogous
#4579CF #5645CF #9B45CF
triadic
#5645CF #CF5645 #45CF56
tetradic
#5645CF #CF4579 #BECF45 #45CF9B
square
#5645CF #CF4579 #BECF45 #45CF9B
split-complementary
#5645CF #CF9B45 #79CF45
monochromatic
#2B207A #3C2CAB #5645CF #8276DC #AEA6E8

Accessibility & contrast

On white

6.67
#5645CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5645CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5645CF
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5645CF#FFFFFF#000000##FFFFFF
##5645CF1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0057CC
Tritanopia (blue-blind)
#026984
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5645cf;
/* rgb */ color: rgb(86, 69, 207);
/* oklch */ color: oklch(49.5% 0.203 281.6);
Tailwind
colors: {
  custom: {
    50: '#927adf',
    500: '#5645cf',
    950: '#000000',
  },
}
SCSS
$custom: #5645cf;
$custom-light: #927adf;
$custom-dark: #000000;
JSON
{
  "hex": "#5645cf",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 247.391,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49457,
    "c": 0.20298,
    "h": 281.6
  },
  "luminance": 0.1074
}

Semantic roles & 50–950 ramp

primary
#5645CF
secondary
#CED59B
accent
#E246CF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5645CF

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

Preview Lab → · Contrast checker → · Palette generator →

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