#645CA4#645CA4

#645CA4 is a mid, moderate blue. Relative luminance 0.130; OKLCH L 51.6% C 0.112 H 286.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#645CA4
RGBrgb(100, 92, 164)
HSLhsl(247, 28%, 50%)
HSVhsv(247, 44%, 64%)
CMYKcmyk(39%, 43.9%, 0%, 35.7%)
CIE-LABlab(42.83, 21.24, -37.89)
CIE-LCHlch(42.83, 43.44, 299.28°)
OKLaboklab(51.55% 0.0324 -0.1068)
OKLCHoklch(51.55% 0.112 286.9)
XYZxyz(15.7817, 13.0434, 36.8009)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CA4 #9CA45C
analogous
#5C78A4 #645CA4 #885CA4
triadic
#645CA4 #A4645C #5CA464
tetradic
#645CA4 #A45C78 #9CA45C #5CA488
square
#645CA4 #A45C78 #9CA45C #5CA488
split-complementary
#645CA4 #A4885C #78A45C
monochromatic
#343056 #4C467D #645CA4 #8983BA #AFABD0

Accessibility & contrast

On white

5.82
#645CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#645CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CA4
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CA4#FFFFFF#000000##FFFFFF
##645CA41.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4367A7
Deuteranopia (green-blind)
#4263A2
Tritanopia (blue-blind)
#526A78
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #645ca4;
/* rgb */ color: rgb(100, 92, 164);
/* oklch */ color: oklch(51.6% 0.112 286.9);
Tailwind
colors: {
  custom: {
    50: '#938abf',
    500: '#645ca4',
    950: '#000000',
  },
}
SCSS
$custom: #645ca4;
$custom-light: #938abf;
$custom-dark: #000000;
JSON
{
  "hex": "#645ca4",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 164
  },
  "hsl": {
    "h": 246.667,
    "s": 28.346,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51551,
    "c": 0.11159,
    "h": 286.9
  },
  "luminance": 0.13044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #645CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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