#645B95#645B95

#645B95 is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.5% C 0.091 H 289.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#645B95
RGBrgb(100, 91, 149)
HSLhsl(249, 24%, 47%)
HSVhsv(249, 39%, 58%)
CMYKcmyk(32.9%, 38.9%, 0%, 41.6%)
CIE-LABlab(41.78, 17.60, -30.59)
CIE-LCHlch(41.78, 35.29, 299.92°)
OKLaboklab(50.5% 0.0309 -0.0855)
OKLCHoklch(50.5% 0.091 289.9)
XYZxyz(14.4200, 12.3611, 30.0541)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645B95 #8C955B
analogous
#5B6F95 #645B95 #815B95
triadic
#645B95 #95645B #5B9564
tetradic
#645B95 #955B6F #8C955B #5B9581
square
#645B95 #955B6F #8C955B #5B9581
split-complementary
#645B95 #95815B #6F955B
monochromatic
#312D49 #4A446F #645B95 #857DB0 #A9A3C7

Accessibility & contrast

On white

6.05
#645B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#645B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645B95
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645B95#FFFFFF#000000##FFFFFF
##645B951.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6497
Deuteranopia (green-blind)
#4A6194
Tritanopia (blue-blind)
#586671
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #645b95;
/* rgb */ color: rgb(100, 91, 149);
/* oklch */ color: oklch(50.5% 0.091 289.9);
Tailwind
colors: {
  custom: {
    50: '#9289b4',
    500: '#645b95',
    950: '#000000',
  },
}
SCSS
$custom: #645b95;
$custom-light: #9289b4;
$custom-dark: #000000;
JSON
{
  "hex": "#645b95",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 149
  },
  "hsl": {
    "h": 249.31,
    "s": 24.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50502,
    "c": 0.09096,
    "h": 289.9
  },
  "luminance": 0.12361
}

Semantic roles & 50–950 ramp

primary
#645B95
secondary
#B0B597
accent
#C167B3
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #645B95

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

Preview Lab → · Contrast checker → · Palette generator →

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