#645EA9#645EA9

#645EA9 is a mid, moderate blue. Relative luminance 0.136; OKLCH L 52.2% C 0.116 H 285.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#645EA9
RGBrgb(100, 94, 169)
HSLhsl(245, 30%, 52%)
HSVhsv(245, 44%, 66%)
CMYKcmyk(40.8%, 44.4%, 0%, 33.7%)
CIE-LABlab(43.62, 21.46, -39.58)
CIE-LCHlch(43.62, 45.03, 298.47°)
OKLaboklab(52.24% 0.0306 -0.1117)
OKLCHoklch(52.24% 0.116 285.3)
XYZxyz(16.4176, 13.5787, 39.2843)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EA9 #A3A95E
analogous
#5E7EA9 #645EA9 #8A5EA9
triadic
#645EA9 #A9645E #5EA964
tetradic
#645EA9 #A95E7E #A3A95E #5EA98A
square
#645EA9 #A95E7E #A3A95E #5EA98A
split-complementary
#645EA9 #A98A5E #7EA95E
monochromatic
#34315C #4B4684 #645EA9 #8A86BE #B1AED4

Accessibility & contrast

On white

5.65
#645EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#645EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645EA9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EA9#FFFFFF#000000##FFFFFF
##645EA91.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4369AC
Deuteranopia (green-blind)
#4165A7
Tritanopia (blue-blind)
#506D7B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #645ea9;
/* rgb */ color: rgb(100, 94, 169);
/* oklch */ color: oklch(52.2% 0.116 285.3);
Tailwind
colors: {
  custom: {
    50: '#938bc3',
    500: '#645ea9',
    950: '#000000',
  },
}
SCSS
$custom: #645ea9;
$custom-light: #938bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#645ea9",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 169
  },
  "hsl": {
    "h": 244.8,
    "s": 30.364,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52242,
    "c": 0.11583,
    "h": 285.3
  },
  "luminance": 0.13579
}

Semantic roles & 50–950 ramp

primary
#645EA9
secondary
#BFC2A1
accent
#C761BE
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #645EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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