#645DAE#645DAE

#645DAE is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.3% C 0.125 H 285.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#645DAE
RGBrgb(100, 93, 174)
HSLhsl(245, 33%, 52%)
HSVhsv(245, 47%, 68%)
CMYKcmyk(42.5%, 46.6%, 0%, 31.8%)
CIE-LABlab(43.64, 23.56, -42.49)
CIE-LCHlch(43.64, 48.59, 299.01°)
OKLaboklab(52.35% 0.0326 -0.1202)
OKLCHoklch(52.35% 0.125 285.2)
XYZxyz(16.8077, 13.5934, 41.7744)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DAE #A7AE5D
analogous
#5D7FAE #645DAE #8C5DAE
triadic
#645DAE #AE645D #5DAE64
tetradic
#645DAE #AE5D7F #A7AE5D #5DAE8C
square
#645DAE #AE5D7F #A7AE5D #5DAE8C
split-complementary
#645DAE #AE8C5D #7FAE5D
monochromatic
#343060 #4B4589 #645DAE #8B86C2 #B2AFD7

Accessibility & contrast

On white

5.65
#645DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #645DAE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DAE#FFFFFF#000000##FFFFFF
##645DAE1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E69B1
Deuteranopia (green-blind)
#3C65AC
Tritanopia (blue-blind)
#4E6D7D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #645dae;
/* rgb */ color: rgb(100, 93, 174);
/* oklch */ color: oklch(52.3% 0.125 285.2);
Tailwind
colors: {
  custom: {
    50: '#948bc6',
    500: '#645dae',
    950: '#000000',
  },
}
SCSS
$custom: #645dae;
$custom-light: #948bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#645dae",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 174
  },
  "hsl": {
    "h": 245.185,
    "s": 33.333,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52349,
    "c": 0.12459,
    "h": 285.2
  },
  "luminance": 0.13594
}

Semantic roles & 50–950 ramp

primary
#645DAE
secondary
#C2C5A2
accent
#C95EC0
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #645DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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