#645F95#645F95

#645F95 is a mid, moderate blue. Relative luminance 0.131; OKLCH L 51.3% C 0.085 H 287.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#645F95
RGBrgb(100, 95, 149)
HSLhsl(246, 22%, 48%)
HSVhsv(246, 36%, 58%)
CMYKcmyk(32.9%, 36.2%, 0%, 41.6%)
CIE-LABlab(42.86, 15.12, -28.91)
CIE-LCHlch(42.86, 32.62, 297.61°)
OKLaboklab(51.32% 0.0251 -0.0807)
OKLCHoklch(51.32% 0.085 287.3)
XYZxyz(14.7711, 13.0633, 30.1712)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645F95 #90955F
analogous
#5F7595 #645F95 #7F5F95
triadic
#645F95 #95645F #5F9564
tetradic
#645F95 #955F75 #90955F #5F957F
square
#645F95 #955F75 #90955F #5F957F
split-complementary
#645F95 #957F5F #75955F
monochromatic
#322F4A #4B4770 #645F95 #8682AF #AAA7C7

Accessibility & contrast

On white

5.81
#645F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#645F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645F95
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645F95#FFFFFF#000000##FFFFFF
##645F951.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6797
Deuteranopia (green-blind)
#4E6494
Tritanopia (blue-blind)
#586973
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #645f95;
/* rgb */ color: rgb(100, 95, 149);
/* oklch */ color: oklch(51.3% 0.085 287.3);
Tailwind
colors: {
  custom: {
    50: '#928cb4',
    500: '#645f95',
    950: '#000000',
  },
}
SCSS
$custom: #645f95;
$custom-light: #928cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#645f95",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 149
  },
  "hsl": {
    "h": 245.556,
    "s": 22.131,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51323,
    "c": 0.0845,
    "h": 287.3
  },
  "luminance": 0.13064
}

Semantic roles & 50–950 ramp

primary
#645F95
secondary
#B3B59A
accent
#BF69B7
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0C11
muted
#7E7D80

Preview Lab

Preview with #645F95

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

Preview Lab → · Contrast checker → · Palette generator →

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