#645CDF#645CDF

#645CDF is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.5% C 0.193 H 280.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#645CDF
RGBrgb(100, 92, 223)
HSLhsl(244, 67%, 62%)
HSVhsv(244, 59%, 87%)
CMYKcmyk(55.2%, 58.7%, 0%, 12.5%)
CIE-LABlab(46.56, 39.16, -66.09)
CIE-LCHlch(46.56, 76.82, 300.65°)
OKLaboklab(55.54% 0.0362 -0.1896)
OKLCHoklch(55.54% 0.193 280.8)
XYZxyz(22.3978, 15.6899, 71.6459)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CDF #D7DF5C
analogous
#5C96DF #645CDF #A65CDF
triadic
#645CDF #DF645C #5CDF64
tetradic
#645CDF #DF5C96 #D7DF5C #5CDFA6
square
#645CDF #DF5C96 #D7DF5C #5CDFA6
split-complementary
#645CDF #DFA65C #96DF5C
monochromatic
#2820A1 #342AD4 #645CDF #958FE9 #C5C2F3

Accessibility & contrast

On white

5.07
#645CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#645CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CDF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CDF#FFFFFF#000000##FFFFFF
##645CDF1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#277B95
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #645cdf;
/* rgb */ color: rgb(100, 92, 223);
/* oklch */ color: oklch(55.5% 0.193 280.8);
Tailwind
colors: {
  custom: {
    50: '#9a8aea',
    500: '#645cdf',
    950: '#000000',
  },
}
SCSS
$custom: #645cdf;
$custom-light: #9a8aea;
$custom-dark: #000000;
JSON
{
  "hex": "#645cdf",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 243.664,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5554,
    "c": 0.19301,
    "h": 280.8
  },
  "luminance": 0.15691
}

Semantic roles & 50–950 ramp

primary
#645CDF
secondary
#E1E4B3
accent
#CF16C4
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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