#645BB7#645BB7

#645BB7 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.5% C 0.140 H 284.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#645BB7
RGBrgb(100, 91, 183)
HSLhsl(246, 39%, 54%)
HSVhsv(246, 50%, 72%)
CMYKcmyk(45.4%, 50.3%, 0%, 28.2%)
CIE-LABlab(43.67, 27.48, -47.73)
CIE-LCHlch(43.67, 55.08, 299.93°)
OKLaboklab(52.54% 0.0362 -0.1356)
OKLCHoklch(52.54% 0.14 284.9)
XYZxyz(17.5414, 13.6096, 46.4932)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BB7 #AEB75B
analogous
#5B80B7 #645BB7 #925BB7
triadic
#645BB7 #B7645B #5BB764
tetradic
#645BB7 #B75B80 #AEB75B #5BB792
square
#645BB7 #B75B80 #AEB75B #5BB792
split-complementary
#645BB7 #B7925B #80B75B
monochromatic
#342E69 #494194 #645BB7 #8C86CA #B4B0DC

Accessibility & contrast

On white

5.64
#645BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#645BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BB7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BB7#FFFFFF#000000##FFFFFF
##645BB71.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336ABA
Deuteranopia (green-blind)
#2F64B5
Tritanopia (blue-blind)
#496E80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #645bb7;
/* rgb */ color: rgb(100, 91, 183);
/* oklch */ color: oklch(52.5% 0.140 284.9);
Tailwind
colors: {
  custom: {
    50: '#9589cd',
    500: '#645bb7',
    950: '#000000',
  },
}
SCSS
$custom: #645bb7;
$custom-light: #9589cd;
$custom-dark: #000000;
JSON
{
  "hex": "#645bb7",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 183
  },
  "hsl": {
    "h": 245.87,
    "s": 38.983,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52539,
    "c": 0.14035,
    "h": 284.9
  },
  "luminance": 0.1361
}

Semantic roles & 50–950 ramp

primary
#645BB7
secondary
#C7CBA3
accent
#CF59C3
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #645BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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