#645EB7#645EB7

#645EB7 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.1% C 0.136 H 283.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#645EB7
RGBrgb(100, 94, 183)
HSLhsl(244, 38%, 54%)
HSVhsv(244, 49%, 72%)
CMYKcmyk(45.4%, 48.6%, 0%, 28.2%)
CIE-LABlab(44.42, 25.64, -46.52)
CIE-LCHlch(44.42, 53.12, 298.86°)
OKLaboklab(53.11% 0.0324 -0.132)
OKLCHoklch(53.11% 0.136 283.8)
XYZxyz(17.8030, 14.1328, 46.5804)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EB7 #B1B75E
analogous
#5E85B7 #645EB7 #915EB7
triadic
#645EB7 #B7645E #5EB764
tetradic
#645EB7 #B75E85 #B1B75E #5EB791
square
#645EB7 #B75E85 #B1B75E #5EB791
split-complementary
#645EB7 #B7915E #85B75E
monochromatic
#34306B #484395 #645EB7 #8D88CA #B5B3DD

Accessibility & contrast

On white

5.49
#645EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#645EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645EB7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EB7#FFFFFF#000000##FFFFFF
##645EB71.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386CBA
Deuteranopia (green-blind)
#3566B5
Tritanopia (blue-blind)
#497182
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #645eb7;
/* rgb */ color: rgb(100, 94, 183);
/* oklch */ color: oklch(53.1% 0.136 283.8);
Tailwind
colors: {
  custom: {
    50: '#958bcd',
    500: '#645eb7',
    950: '#000000',
  },
}
SCSS
$custom: #645eb7;
$custom-light: #958bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#645eb7",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 183
  },
  "hsl": {
    "h": 244.045,
    "s": 38.197,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53106,
    "c": 0.13598,
    "h": 283.8
  },
  "luminance": 0.14134
}

Semantic roles & 50–950 ramp

primary
#645EB7
secondary
#C9CBA6
accent
#CE5AC6
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #645EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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