#5645CC#5645CC

#5645CC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 49.2% C 0.199 H 281.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5645CC
RGBrgb(86, 69, 204)
HSLhsl(248, 57%, 54%)
HSVhsv(248, 66%, 80%)
CMYKcmyk(57.8%, 66.2%, 0%, 20%)
CIE-LABlab(38.89, 44.37, -67.75)
CIE-LCHlch(38.89, 80.98, 303.22°)
OKLaboklab(49.2% 0.0411 -0.195)
OKLCHoklch(49.2% 0.199 281.9)
XYZxyz(16.8616, 10.5932, 58.2712)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5645CC #BBCC45
analogous
#4577CC #5645CC #9A45CC
triadic
#5645CC #CC5645 #45CC56
tetradic
#5645CC #CC4577 #BBCC45 #45CC9A
square
#5645CC #CC4577 #BBCC45 #45CC9A
split-complementary
#5645CC #CC9A45 #77CC45
monochromatic
#2B2076 #3D2EA6 #5645CC #8275D9 #ADA5E6

Accessibility & contrast

On white

6.73
#5645CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5645CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5645CC
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5645CC#FFFFFF#000000##FFFFFF
##5645CC1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0057C9
Tritanopia (blue-blind)
#0E6882
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5645cc;
/* rgb */ color: rgb(86, 69, 204);
/* oklch */ color: oklch(49.2% 0.199 281.9);
Tailwind
colors: {
  custom: {
    50: '#917add',
    500: '#5645cc',
    950: '#000000',
  },
}
SCSS
$custom: #5645cc;
$custom-light: #917add;
$custom-dark: #000000;
JSON
{
  "hex": "#5645cc",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 247.556,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.492,
    "c": 0.19924,
    "h": 281.9
  },
  "luminance": 0.10594
}

Semantic roles & 50–950 ramp

primary
#5645CC
secondary
#CCD399
accent
#E048CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5645CC

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

Preview Lab → · Contrast checker → · Palette generator →

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