#645CCD#645CCD

#645CCD is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.2% C 0.169 H 282.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#645CCD
RGBrgb(100, 92, 205)
HSLhsl(244, 53%, 58%)
HSVhsv(244, 55%, 80%)
CMYKcmyk(51.2%, 55.1%, 0%, 19.6%)
CIE-LABlab(45.32, 33.58, -57.83)
CIE-LCHlch(45.32, 66.87, 300.15°)
OKLaboklab(54.22% 0.0362 -0.1653)
OKLCHoklch(54.22% 0.169 282.4)
XYZxyz(20.0988, 14.7703, 59.5377)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CCD #C5CD5C
analogous
#5C8CCD #645CCD #9C5CCD
triadic
#645CCD #CD645C #5CCD64
tetradic
#645CCD #CD5C8C #C5CD5C #5CCD9C
square
#645CCD #CD5C8C #C5CD5C #5CCD9C
split-complementary
#645CCD #CD9C5C #8CCD5C
monochromatic
#302986 #4037B4 #645CCD #918BDB #BDBAEA

Accessibility & contrast

On white

5.31
#645CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#645CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CCD
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CCD#FFFFFF#000000##FFFFFF
##645CCD1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146FD1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#3A768B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #645ccd;
/* rgb */ color: rgb(100, 92, 205);
/* oklch */ color: oklch(54.2% 0.169 282.4);
Tailwind
colors: {
  custom: {
    50: '#988add',
    500: '#645ccd',
    950: '#000000',
  },
}
SCSS
$custom: #645ccd;
$custom-light: #988add;
$custom-dark: #000000;
JSON
{
  "hex": "#645ccd",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 244.248,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54222,
    "c": 0.16921,
    "h": 282.4
  },
  "luminance": 0.14771
}

Semantic roles & 50–950 ramp

primary
#645CCD
secondary
#D6D9AC
accent
#DC4BD2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #645CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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