#645BEB#645BEB

#645BEB is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.3% C 0.210 H 280.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#645BEB
RGBrgb(100, 91, 235)
HSLhsl(244, 78%, 64%)
HSVhsv(244, 61%, 92%)
CMYKcmyk(57.4%, 61.3%, 0%, 7.8%)
CIE-LABlab(47.22, 43.47, -71.80)
CIE-LCHlch(47.22, 83.94, 301.19°)
OKLaboklab(56.3% 0.0366 -0.2064)
OKLCHoklch(56.3% 0.21 280.1)
XYZxyz(23.9873, 16.1880, 80.4417)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BEB #E2EB5B
analogous
#5B9AEB #645BEB #AC5BEB
triadic
#645BEB #EB645B #5BEB64
tetradic
#645BEB #EB5B9A #E2EB5B #5BEBAC
square
#645BEB #EB5B9A #E2EB5B #5BEBAC
split-complementary
#645BEB #EBAC5B #9AEB5B
monochromatic
#2016B5 #3024E4 #645BEB #9892F2 #CBC8F8

Accessibility & contrast

On white

4.96
#645BEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#645BEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BEB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BEB#FFFFFF#000000##FFFFFF
##645BEB1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#0B7E9A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #645beb;
/* rgb */ color: rgb(100, 91, 235);
/* oklch */ color: oklch(56.3% 0.210 280.1);
Tailwind
colors: {
  custom: {
    50: '#9c8af2',
    500: '#645beb',
    950: '#000000',
  },
}
SCSS
$custom: #645beb;
$custom-light: #9c8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#645beb",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 243.75,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56298,
    "c": 0.20961,
    "h": 280.1
  },
  "luminance": 0.1619
}

Semantic roles & 50–950 ramp

primary
#645BEB
secondary
#E7EAB8
accent
#DB0BCE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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