#645DD2#645DD2

#645DD2 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.8% C 0.175 H 281.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#645DD2
RGBrgb(100, 93, 210)
HSLhsl(244, 57%, 59%)
HSVhsv(244, 56%, 82%)
CMYKcmyk(52.4%, 55.7%, 0%, 17.6%)
CIE-LABlab(45.89, 34.52, -59.76)
CIE-LCHlch(45.89, 69.02, 300.01°)
OKLaboklab(54.76% 0.0352 -0.171)
OKLCHoklch(54.76% 0.175 281.6)
XYZxyz(20.7992, 15.1900, 62.7963)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DD2 #CBD25D
analogous
#5D91D2 #645DD2 #9F5DD2
triadic
#645DD2 #D2645D #5DD264
tetradic
#645DD2 #D25D91 #CBD25D #5DD29F
square
#645DD2 #D25D91 #CBD25D #5DD29F
split-complementary
#645DD2 #D29F5D #91D25D
monochromatic
#2D278D #3D35BD #645DD2 #928DDF #C0BDED

Accessibility & contrast

On white

5.20
#645DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#645DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DD2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DD2#FFFFFF#000000##FFFFFF
##645DD21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0971D6
Deuteranopia (green-blind)
#0069D0
Tritanopia (blue-blind)
#36788E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #645dd2;
/* rgb */ color: rgb(100, 93, 210);
/* oklch */ color: oklch(54.8% 0.175 281.6);
Tailwind
colors: {
  custom: {
    50: '#988be1',
    500: '#645dd2',
    950: '#000000',
  },
}
SCSS
$custom: #645dd2;
$custom-light: #988be1;
$custom-dark: #000000;
JSON
{
  "hex": "#645dd2",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 210
  },
  "hsl": {
    "h": 243.59,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54756,
    "c": 0.17457,
    "h": 281.6
  },
  "luminance": 0.15191
}

Semantic roles & 50–950 ramp

primary
#645DD2
secondary
#D9DCAF
accent
#E048D7
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #645DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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