#645BE7#645BE7

#645BE7 is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.0% C 0.205 H 280.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#645BE7
RGBrgb(100, 91, 231)
HSLhsl(244, 74%, 63%)
HSVhsv(244, 61%, 91%)
CMYKcmyk(56.7%, 60.6%, 0%, 9.4%)
CIE-LABlab(46.92, 42.23, -70.03)
CIE-LCHlch(46.92, 81.78, 301.09°)
OKLaboklab(55.99% 0.0368 -0.2012)
OKLCHoklch(55.99% 0.205 280.4)
XYZxyz(23.4159, 15.9594, 77.4324)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BE7 #DEE75B
analogous
#5B98E7 #645BE7 #AA5BE7
triadic
#645BE7 #E7645B #5BE764
tetradic
#645BE7 #E75B98 #DEE75B #5BE7AA
square
#645BE7 #E75B98 #DEE75B #5BE7AA
split-complementary
#645BE7 #E7AA5B #98E75B
monochromatic
#2319AE #3226DF #645BE7 #9690EF #C9C6F7

Accessibility & contrast

On white

5.01
#645BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#645BE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BE7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BE7#FFFFFF#000000##FFFFFF
##645BE71.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#187D98
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #645be7;
/* rgb */ color: rgb(100, 91, 231);
/* oklch */ color: oklch(56.0% 0.205 280.4);
Tailwind
colors: {
  custom: {
    50: '#9b8af0',
    500: '#645be7',
    950: '#000000',
  },
}
SCSS
$custom: #645be7;
$custom-light: #9b8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#645be7",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 243.857,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55985,
    "c": 0.20454,
    "h": 280.4
  },
  "luminance": 0.15961
}

Semantic roles & 50–950 ramp

primary
#645BE7
secondary
#E5E8B6
accent
#D70FCA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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