#645CD0#645CD0

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

Color values

HEX#645CD0
RGBrgb(100, 92, 208)
HSLhsl(244, 55%, 59%)
HSVhsv(244, 56%, 82%)
CMYKcmyk(51.9%, 55.8%, 0%, 18.4%)
CIE-LABlab(45.52, 34.51, -59.22)
CIE-LCHlch(45.52, 68.54, 300.23°)
OKLaboklab(54.44% 0.0363 -0.1694)
OKLCHoklch(54.44% 0.173 282.1)
XYZxyz(20.4644, 14.9165, 61.4631)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CD0 #C8D05C
analogous
#5C8ED0 #645CD0 #9E5CD0
triadic
#645CD0 #D0645C #5CD064
tetradic
#645CD0 #D05C8E #C8D05C #5CD09E
square
#645CD0 #D05C8E #C8D05C #5CD09E
split-complementary
#645CD0 #D09E5C #8ED05C
monochromatic
#2F288A #3F35B9 #645CD0 #918CDE #BEBBEB

Accessibility & contrast

On white

5.27
#645CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#645CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CD0
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CD0#FFFFFF#000000##FFFFFF
##645CD01.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0970D4
Deuteranopia (green-blind)
#0068CE
Tritanopia (blue-blind)
#38768D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #645cd0;
/* rgb */ color: rgb(100, 92, 208);
/* oklch */ color: oklch(54.4% 0.173 282.1);
Tailwind
colors: {
  custom: {
    50: '#988adf',
    500: '#645cd0',
    950: '#000000',
  },
}
SCSS
$custom: #645cd0;
$custom-light: #988adf;
$custom-dark: #000000;
JSON
{
  "hex": "#645cd0",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 208
  },
  "hsl": {
    "h": 244.138,
    "s": 55.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54436,
    "c": 0.17323,
    "h": 282.1
  },
  "luminance": 0.14918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #645CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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