#645E95#645E95

#645E95 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 51.1% C 0.086 H 287.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#645E95
RGBrgb(100, 94, 149)
HSLhsl(247, 23%, 48%)
HSVhsv(247, 37%, 58%)
CMYKcmyk(32.9%, 36.9%, 0%, 41.6%)
CIE-LABlab(42.59, 15.74, -29.33)
CIE-LCHlch(42.59, 33.29, 298.22°)
OKLaboklab(51.12% 0.0265 -0.0819)
OKLCHoklch(51.12% 0.086 287.9)
XYZxyz(14.6816, 12.8843, 30.1413)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645E95 #8F955E
analogous
#5E7495 #645E95 #7F5E95
triadic
#645E95 #95645E #5E9564
tetradic
#645E95 #955E74 #8F955E #5E957F
square
#645E95 #955E74 #8F955E #5E957F
split-complementary
#645E95 #957F5E #74955E
monochromatic
#322F4A #4B466F #645E95 #8681AF #AAA6C7

Accessibility & contrast

On white

5.87
#645E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#645E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645E95
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645E95#FFFFFF#000000##FFFFFF
##645E951.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6697
Deuteranopia (green-blind)
#4D6394
Tritanopia (blue-blind)
#586872
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #645e95;
/* rgb */ color: rgb(100, 94, 149);
/* oklch */ color: oklch(51.1% 0.086 287.9);
Tailwind
colors: {
  custom: {
    50: '#928bb4',
    500: '#645e95',
    950: '#000000',
  },
}
SCSS
$custom: #645e95;
$custom-light: #928bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#645e95",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 149
  },
  "hsl": {
    "h": 246.545,
    "s": 22.634,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51116,
    "c": 0.0861,
    "h": 287.9
  },
  "luminance": 0.12885
}

Semantic roles & 50–950 ramp

primary
#645E95
secondary
#B2B59A
accent
#BF69B6
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0C11
muted
#7E7D80

Preview Lab

Preview with #645E95

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

Preview Lab → · Contrast checker → · Palette generator →

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