#645AA3#645AA3

#645AA3 is a mid, moderate blue. Relative luminance 0.127; OKLCH L 51.1% C 0.113 H 288.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#645AA3
RGBrgb(100, 90, 163)
HSLhsl(248, 29%, 50%)
HSVhsv(248, 45%, 64%)
CMYKcmyk(38.7%, 44.8%, 0%, 36.1%)
CIE-LABlab(42.25, 22.19, -38.20)
CIE-LCHlch(42.25, 44.18, 300.15°)
OKLaboklab(51.1% 0.035 -0.1077)
OKLCHoklch(51.1% 0.113 288)
XYZxyz(15.5207, 12.6655, 36.2702)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645AA3 #99A35A
analogous
#5A75A3 #645AA3 #895AA3
triadic
#645AA3 #A3645A #5AA364
tetradic
#645AA3 #A35A75 #99A35A #5AA389
square
#645AA3 #A35A75 #99A35A #5AA389
split-complementary
#645AA3 #A3895A #75A35A
monochromatic
#342E54 #4C447C #645AA3 #8981B9 #AEA8CF

Accessibility & contrast

On white

5.94
#645AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#645AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645AA3
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645AA3#FFFFFF#000000##FFFFFF
##645AA31.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A6
Deuteranopia (green-blind)
#4062A1
Tritanopia (blue-blind)
#536876
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #645aa3;
/* rgb */ color: rgb(100, 90, 163);
/* oklch */ color: oklch(51.1% 0.113 288.0);
Tailwind
colors: {
  custom: {
    50: '#9388be',
    500: '#645aa3',
    950: '#000000',
  },
}
SCSS
$custom: #645aa3;
$custom-light: #9388be;
$custom-dark: #000000;
JSON
{
  "hex": "#645aa3",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 163
  },
  "hsl": {
    "h": 248.219,
    "s": 28.854,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51099,
    "c": 0.11324,
    "h": 288
  },
  "luminance": 0.12666
}

Semantic roles & 50–950 ramp

primary
#645AA3
secondary
#B9BD9C
accent
#C563B8
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #645AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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