#645DA5#645DA5

#645DA5 is a mid, moderate blue. Relative luminance 0.133; OKLCH L 51.8% C 0.112 H 286.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#645DA5
RGBrgb(100, 93, 165)
HSLhsl(246, 29%, 51%)
HSVhsv(246, 44%, 65%)
CMYKcmyk(39.4%, 43.6%, 0%, 35.3%)
CIE-LABlab(43.14, 20.91, -37.98)
CIE-LCHlch(43.14, 43.36, 298.84°)
OKLaboklab(51.81% 0.0312 -0.107)
OKLCHoklch(51.81% 0.112 286.3)
XYZxyz(15.9595, 13.2541, 37.3074)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DA5 #9EA55D
analogous
#5D7AA5 #645DA5 #885DA5
triadic
#645DA5 #A5645D #5DA564
tetradic
#645DA5 #A55D7A #9EA55D #5DA588
square
#645DA5 #A55D7A #9EA55D #5DA588
split-complementary
#645DA5 #A5885D #7AA55D
monochromatic
#343057 #4C467F #645DA5 #8A84BB #AFACD1

Accessibility & contrast

On white

5.75
#645DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#645DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DA5
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DA5#FFFFFF#000000##FFFFFF
##645DA51.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4468A8
Deuteranopia (green-blind)
#4264A3
Tritanopia (blue-blind)
#526B79
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #645da5;
/* rgb */ color: rgb(100, 93, 165);
/* oklch */ color: oklch(51.8% 0.112 286.3);
Tailwind
colors: {
  custom: {
    50: '#938bc0',
    500: '#645da5',
    950: '#000000',
  },
}
SCSS
$custom: #645da5;
$custom-light: #938bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#645da5",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 165
  },
  "hsl": {
    "h": 245.833,
    "s": 28.571,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51808,
    "c": 0.11151,
    "h": 286.3
  },
  "luminance": 0.13255
}

Semantic roles & 50–950 ramp

primary
#645DA5
secondary
#BCBF9F
accent
#C563BB
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #645DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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