#645EAA#645EAA

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

Color values

HEX#645EAA
RGBrgb(100, 94, 170)
HSLhsl(245, 31%, 52%)
HSVhsv(245, 45%, 67%)
CMYKcmyk(41.2%, 44.7%, 0%, 33.3%)
CIE-LABlab(43.68, 21.76, -40.08)
CIE-LCHlch(43.68, 45.61, 298.49°)
OKLaboklab(52.3% 0.0307 -0.1132)
OKLCHoklch(52.3% 0.117 285.2)
XYZxyz(16.5119, 13.6164, 39.7806)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EAA #A4AA5E
analogous
#5E7EAA #645EAA #8A5EAA
triadic
#645EAA #AA645E #5EAA64
tetradic
#645EAA #AA5E7E #A4AA5E #5EAA8A
square
#645EAA #AA5E7E #A4AA5E #5EAA8A
split-complementary
#645EAA #AA8A5E #7EAA5E
monochromatic
#34315D #4B4685 #645EAA #8B86BF #B1AED4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645EAA#FFFFFF#000000##FFFFFF
##645EAA1.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)
#4269AD
Deuteranopia (green-blind)
#4065A8
Tritanopia (blue-blind)
#506D7C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #645eaa;
/* rgb */ color: rgb(100, 94, 170);
/* oklch */ color: oklch(52.3% 0.117 285.2);
Tailwind
colors: {
  custom: {
    50: '#938bc4',
    500: '#645eaa',
    950: '#000000',
  },
}
SCSS
$custom: #645eaa;
$custom-light: #938bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#645eaa",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 170
  },
  "hsl": {
    "h": 244.737,
    "s": 30.894,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52302,
    "c": 0.11729,
    "h": 285.2
  },
  "luminance": 0.13617
}

Semantic roles & 50–950 ramp

primary
#645EAA
secondary
#C0C3A1
accent
#C761BF
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #645EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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