#645CDD#645CDD

#645CDD is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.4% C 0.190 H 281.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#645CDD
RGBrgb(100, 92, 221)
HSLhsl(244, 65%, 61%)
HSVhsv(244, 58%, 87%)
CMYKcmyk(54.8%, 58.4%, 0%, 13.3%)
CIE-LABlab(46.42, 38.54, -65.18)
CIE-LCHlch(46.42, 75.72, 300.59°)
OKLaboklab(55.39% 0.0362 -0.1869)
OKLCHoklch(55.39% 0.19 281)
XYZxyz(22.1298, 15.5827, 70.2342)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CDD #D5DD5C
analogous
#5C95DD #645CDD #A55CDD
triadic
#645CDD #DD645C #5CDD64
tetradic
#645CDD #DD5C95 #D5DD5C #5CDDA5
square
#645CDD #DD5C95 #D5DD5C #5CDDA5
split-complementary
#645CDD #DDA55C #95DD5C
monochromatic
#29219E #362BD0 #645CDD #948FE8 #C4C1F2

Accessibility & contrast

On white

5.10
#645CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#645CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CDD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CDD#FFFFFF#000000##FFFFFF
##645CDD1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#297B94
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #645cdd;
/* rgb */ color: rgb(100, 92, 221);
/* oklch */ color: oklch(55.4% 0.190 281.0);
Tailwind
colors: {
  custom: {
    50: '#9a8ae8',
    500: '#645cdd',
    950: '#000000',
  },
}
SCSS
$custom: #645cdd;
$custom-light: #9a8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#645cdd",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 221
  },
  "hsl": {
    "h": 243.721,
    "s": 65.482,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55389,
    "c": 0.19041,
    "h": 281
  },
  "luminance": 0.15584
}

Semantic roles & 50–950 ramp

primary
#645CDD
secondary
#E0E3B2
accent
#CD18C2
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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