#645EA6#645EA6

#645EA6 is a mid, moderate blue. Relative luminance 0.135; OKLCH L 52.1% C 0.111 H 285.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#645EA6
RGBrgb(100, 94, 166)
HSLhsl(245, 29%, 51%)
HSVhsv(245, 43%, 65%)
CMYKcmyk(39.8%, 43.4%, 0%, 34.9%)
CIE-LABlab(43.46, 20.59, -38.07)
CIE-LCHlch(43.46, 43.28, 298.40°)
OKLaboklab(52.07% 0.0301 -0.1073)
OKLCHoklch(52.07% 0.111 285.6)
XYZxyz(16.1392, 13.4673, 37.8181)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EA6 #A0A65E
analogous
#5E7CA6 #645EA6 #885EA6
triadic
#645EA6 #A6645E #5EA664
tetradic
#645EA6 #A65E7C #A0A65E #5EA688
square
#645EA6 #A65E7C #A0A65E #5EA688
split-complementary
#645EA6 #A6885E #7CA65E
monochromatic
#343159 #4C4780 #645EA6 #8A85BC #B0ADD2

Accessibility & contrast

On white

5.69
#645EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#645EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645EA6
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EA6#FFFFFF#000000##FFFFFF
##645EA61.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4569A9
Deuteranopia (green-blind)
#4365A4
Tritanopia (blue-blind)
#516C7A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #645ea6;
/* rgb */ color: rgb(100, 94, 166);
/* oklch */ color: oklch(52.1% 0.111 285.6);
Tailwind
colors: {
  custom: {
    50: '#938bc1',
    500: '#645ea6',
    950: '#000000',
  },
}
SCSS
$custom: #645ea6;
$custom-light: #938bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#645ea6",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 166
  },
  "hsl": {
    "h": 245,
    "s": 28.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52065,
    "c": 0.11144,
    "h": 285.6
  },
  "luminance": 0.13468
}

Semantic roles & 50–950 ramp

primary
#645EA6
secondary
#BDC0A0
accent
#C563BD
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #645EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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