#645CD1#645CD1

#645CD1 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.5% C 0.175 H 282.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#645CD1
RGBrgb(100, 92, 209)
HSLhsl(244, 56%, 59%)
HSVhsv(244, 56%, 82%)
CMYKcmyk(52.2%, 56%, 0%, 18%)
CIE-LABlab(45.59, 34.82, -59.69)
CIE-LCHlch(45.59, 69.10, 300.26°)
OKLaboklab(54.51% 0.0363 -0.1708)
OKLCHoklch(54.51% 0.175 282)
XYZxyz(20.5878, 14.9659, 62.1131)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CD1 #C9D15C
analogous
#5C8FD1 #645CD1 #9F5CD1
triadic
#645CD1 #D1645C #5CD164
tetradic
#645CD1 #D15C8F #C9D15C #5CD19F
square
#645CD1 #D15C8F #C9D15C #5CD19F
split-complementary
#645CD1 #D19F5C #8FD15C
monochromatic
#2E278B #3E35BB #645CD1 #918CDE #BFBBEC

Accessibility & contrast

On white

5.26
#645CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#645CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CD1
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CD1#FFFFFF#000000##FFFFFF
##645CD11.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0570D5
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#37778D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #645cd1;
/* rgb */ color: rgb(100, 92, 209);
/* oklch */ color: oklch(54.5% 0.175 282.0);
Tailwind
colors: {
  custom: {
    50: '#988ae0',
    500: '#645cd1',
    950: '#000000',
  },
}
SCSS
$custom: #645cd1;
$custom-light: #988ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#645cd1",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 209
  },
  "hsl": {
    "h": 244.103,
    "s": 55.981,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54507,
    "c": 0.17457,
    "h": 282
  },
  "luminance": 0.14967
}

Semantic roles & 50–950 ramp

primary
#645CD1
secondary
#D8DBAD
accent
#DF49D5
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #645CD1

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

Preview Lab → · Contrast checker → · Palette generator →

#645CD1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva