#645CA5#645CA5

#645CA5 is a mid, moderate blue. Relative luminance 0.131; OKLCH L 51.6% C 0.113 H 286.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#645CA5
RGBrgb(100, 92, 165)
HSLhsl(247, 29%, 50%)
HSVhsv(247, 44%, 65%)
CMYKcmyk(39.4%, 44.2%, 0%, 35.3%)
CIE-LABlab(42.88, 21.53, -38.39)
CIE-LCHlch(42.88, 44.02, 299.29°)
OKLaboklab(51.61% 0.0326 -0.1082)
OKLCHoklch(51.61% 0.113 286.8)
XYZxyz(15.8723, 13.0797, 37.2784)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CA5 #9DA55C
analogous
#5C78A5 #645CA5 #885CA5
triadic
#645CA5 #A5645C #5CA564
tetradic
#645CA5 #A55C78 #9DA55C #5CA588
square
#645CA5 #A55C78 #9DA55C #5CA588
split-complementary
#645CA5 #A5885C #78A55C
monochromatic
#343057 #4C467E #645CA5 #8983BB #AFABD1

Accessibility & contrast

On white

5.81
#645CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#645CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CA5
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CA5#FFFFFF#000000##FFFFFF
##645CA51.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4267A8
Deuteranopia (green-blind)
#4163A3
Tritanopia (blue-blind)
#526A78
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #645ca5;
/* rgb */ color: rgb(100, 92, 165);
/* oklch */ color: oklch(51.6% 0.113 286.8);
Tailwind
colors: {
  custom: {
    50: '#938ac0',
    500: '#645ca5',
    950: '#000000',
  },
}
SCSS
$custom: #645ca5;
$custom-light: #938ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#645ca5",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 165
  },
  "hsl": {
    "h": 246.575,
    "s": 28.854,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5161,
    "c": 0.11305,
    "h": 286.8
  },
  "luminance": 0.1308
}

Semantic roles & 50–950 ramp

primary
#645CA5
secondary
#BBBF9E
accent
#C563BA
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #645CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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