#645DEB#645DEB

#645DEB is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.6% C 0.207 H 279.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#645DEB
RGBrgb(100, 93, 235)
HSLhsl(243, 78%, 64%)
HSVhsv(243, 60%, 92%)
CMYKcmyk(57.4%, 60.4%, 0%, 7.8%)
CIE-LABlab(47.67, 42.30, -71.07)
CIE-LCHlch(47.67, 82.71, 300.76°)
OKLaboklab(56.63% 0.0348 -0.2042)
OKLCHoklch(56.63% 0.207 279.7)
XYZxyz(24.1605, 16.5345, 80.4995)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DEB #E4EB5D
analogous
#5D9DEB #645DEB #AB5DEB
triadic
#645DEB #EB645D #5DEB64
tetradic
#645DEB #EB5D9D #E4EB5D #5DEBAB
square
#645DEB #EB5D9D #E4EB5D #5DEBAB
split-complementary
#645DEB #EBAB5D #9DEB5D
monochromatic
#1F17B7 #3027E4 #645DEB #9893F2 #CCCAF8

Accessibility & contrast

On white

4.88
#645DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#645DEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DEB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DEB#FFFFFF#000000##FFFFFF
##645DEB1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#006CE8
Tritanopia (blue-blind)
#0A809B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #645deb;
/* rgb */ color: rgb(100, 93, 235);
/* oklch */ color: oklch(56.6% 0.207 279.7);
Tailwind
colors: {
  custom: {
    50: '#9c8bf2',
    500: '#645deb',
    950: '#000000',
  },
}
SCSS
$custom: #645deb;
$custom-light: #9c8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#645deb",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 242.958,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56627,
    "c": 0.20719,
    "h": 279.7
  },
  "luminance": 0.16536
}

Semantic roles & 50–950 ramp

primary
#645DEB
secondary
#E8EBB9
accent
#DA0BD0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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