#645B93#645B93

#645B93 is a mid, moderate blue. Relative luminance 0.123; OKLCH L 50.4% C 0.088 H 290.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#645B93
RGBrgb(100, 91, 147)
HSLhsl(250, 24%, 47%)
HSVhsv(250, 38%, 58%)
CMYKcmyk(32%, 38.1%, 0%, 42.4%)
CIE-LABlab(41.69, 17.05, -29.55)
CIE-LCHlch(41.69, 34.11, 299.99°)
OKLaboklab(50.39% 0.0304 -0.0825)
OKLCHoklch(50.39% 0.088 290.2)
XYZxyz(14.2617, 12.2978, 29.2204)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645B93 #8A935B
analogous
#5B6E93 #645B93 #805B93
triadic
#645B93 #93645B #5B9364
tetradic
#645B93 #935B6E #8A935B #5B9380
square
#645B93 #935B6E #8A935B #5B9380
split-complementary
#645B93 #93805B #6E935B
monochromatic
#312C47 #4A446D #645B93 #857DAE #A8A3C6

Accessibility & contrast

On white

6.07
#645B93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#645B93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645B93
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645B93#FFFFFF#000000##FFFFFF
##645B931.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6395
Deuteranopia (green-blind)
#4B6192
Tritanopia (blue-blind)
#596570
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #645b93;
/* rgb */ color: rgb(100, 91, 147);
/* oklch */ color: oklch(50.4% 0.088 290.2);
Tailwind
colors: {
  custom: {
    50: '#9289b3',
    500: '#645b93',
    950: '#000000',
  },
}
SCSS
$custom: #645b93;
$custom-light: #9289b3;
$custom-dark: #000000;
JSON
{
  "hex": "#645b93",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 147
  },
  "hsl": {
    "h": 249.643,
    "s": 23.529,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50394,
    "c": 0.08796,
    "h": 290.2
  },
  "luminance": 0.12298
}

Semantic roles & 50–950 ramp

primary
#645B93
secondary
#AFB496
accent
#C068B2
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #645B93

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

Preview Lab → · Contrast checker → · Palette generator →

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