#645EA5#645EA5

#645EA5 is a mid, moderate blue. Relative luminance 0.134; OKLCH L 52.0% C 0.110 H 285.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#645EA5
RGBrgb(100, 94, 165)
HSLhsl(245, 28%, 51%)
HSVhsv(245, 43%, 65%)
CMYKcmyk(39.4%, 43%, 0%, 35.3%)
CIE-LABlab(43.41, 20.30, -37.56)
CIE-LCHlch(43.41, 42.70, 298.38°)
OKLaboklab(52.01% 0.0299 -0.1058)
OKLCHoklch(52.01% 0.11 285.8)
XYZxyz(16.0479, 13.4308, 37.3369)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EA5 #9FA55E
analogous
#5E7BA5 #645EA5 #875EA5
triadic
#645EA5 #A5645E #5EA564
tetradic
#645EA5 #A55E7B #9FA55E #5EA587
square
#645EA5 #A55E7B #9FA55E #5EA587
split-complementary
#645EA5 #A5875E #7BA55E
monochromatic
#343158 #4C477F #645EA5 #8A85BB #B0ADD1

Accessibility & contrast

On white

5.70
#645EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #645EA5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EA5#FFFFFF#000000##FFFFFF
##645EA51.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4569A8
Deuteranopia (green-blind)
#4465A3
Tritanopia (blue-blind)
#526C79
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #645ea5;
/* rgb */ color: rgb(100, 94, 165);
/* oklch */ color: oklch(52.0% 0.110 285.8);
Tailwind
colors: {
  custom: {
    50: '#938bc0',
    500: '#645ea5',
    950: '#000000',
  },
}
SCSS
$custom: #645ea5;
$custom-light: #938bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#645ea5",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 165
  },
  "hsl": {
    "h": 245.07,
    "s": 28.287,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52007,
    "c": 0.10996,
    "h": 285.8
  },
  "luminance": 0.13431
}

Semantic roles & 50–950 ramp

primary
#645EA5
secondary
#BCBFA0
accent
#C563BC
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #645EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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