#645DCD#645DCD

#645DCD is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.4% C 0.168 H 282.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#645DCD
RGBrgb(100, 93, 205)
HSLhsl(244, 53%, 58%)
HSVhsv(244, 55%, 80%)
CMYKcmyk(51.2%, 54.6%, 0%, 19.6%)
CIE-LABlab(45.56, 32.98, -57.44)
CIE-LCHlch(45.56, 66.23, 299.86°)
OKLaboklab(54.4% 0.0351 -0.1641)
OKLCHoklch(54.4% 0.168 282.1)
XYZxyz(20.1860, 14.9447, 59.5667)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DCD #C6CD5D
analogous
#5D8ECD #645DCD #9C5DCD
triadic
#645DCD #CD645D #5DCD64
tetradic
#645DCD #CD5D8E #C6CD5D #5DCD9C
square
#645DCD #CD5D8E #C6CD5D #5DCD9C
split-complementary
#645DCD #CD9C5D #8ECD5D
monochromatic
#2F2986 #4038B5 #645DCD #918CDB #BDBBEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645DCD#FFFFFF#000000##FFFFFF
##645DCD1.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)
#1970D1
Deuteranopia (green-blind)
#0668CB
Tritanopia (blue-blind)
#3A768C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #645dcd;
/* rgb */ color: rgb(100, 93, 205);
/* oklch */ color: oklch(54.4% 0.168 282.1);
Tailwind
colors: {
  custom: {
    50: '#988bdd',
    500: '#645dcd',
    950: '#000000',
  },
}
SCSS
$custom: #645dcd;
$custom-light: #988bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#645dcd",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 243.75,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.544,
    "c": 0.16786,
    "h": 282.1
  },
  "luminance": 0.14946
}

Semantic roles & 50–950 ramp

primary
#645DCD
secondary
#D6D9AD
accent
#DC4CD3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #645DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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