#645DCE#645DCE

#645DCE is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.5% C 0.169 H 282.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#645DCE
RGBrgb(100, 93, 206)
HSLhsl(244, 54%, 59%)
HSVhsv(244, 55%, 81%)
CMYKcmyk(51.5%, 54.9%, 0%, 19.2%)
CIE-LABlab(45.62, 33.29, -57.91)
CIE-LCHlch(45.62, 66.79, 299.89°)
OKLaboklab(54.47% 0.0352 -0.1655)
OKLCHoklch(54.47% 0.169 282)
XYZxyz(20.3071, 14.9931, 60.2045)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DCE #C7CE5D
analogous
#5D8ECE #645DCE #9C5DCE
triadic
#645DCE #CE645D #5DCE64
tetradic
#645DCE #CE5D8E #C7CE5D #5DCE9C
square
#645DCE #CE5D8E #C7CE5D #5DCE9C
split-complementary
#645DCE #CE9C5D #8ECE5D
monochromatic
#2F2988 #3F37B7 #645DCE #918CDC #BEBBEA

Accessibility & contrast

On white

5.25
#645DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#645DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DCE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DCE#FFFFFF#000000##FFFFFF
##645DCE1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1670D2
Deuteranopia (green-blind)
#0168CC
Tritanopia (blue-blind)
#39778C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #645dce;
/* rgb */ color: rgb(100, 93, 206);
/* oklch */ color: oklch(54.5% 0.169 282.0);
Tailwind
colors: {
  custom: {
    50: '#988bde',
    500: '#645dce',
    950: '#000000',
  },
}
SCSS
$custom: #645dce;
$custom-light: #988bde;
$custom-dark: #000000;
JSON
{
  "hex": "#645dce",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 206
  },
  "hsl": {
    "h": 243.717,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54471,
    "c": 0.1692,
    "h": 282
  },
  "luminance": 0.14994
}

Semantic roles & 50–950 ramp

primary
#645DCE
secondary
#D7DAAD
accent
#DD4BD4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #645DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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