#645BD9#645BD9

#645BD9 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.9% C 0.186 H 281.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#645BD9
RGBrgb(100, 91, 217)
HSLhsl(244, 62%, 60%)
HSVhsv(244, 58%, 85%)
CMYKcmyk(53.9%, 58.1%, 0%, 14.9%)
CIE-LABlab(45.91, 37.89, -63.74)
CIE-LCHlch(45.91, 74.15, 300.73°)
OKLaboklab(54.92% 0.0373 -0.1827)
OKLCHoklch(54.92% 0.186 281.5)
XYZxyz(21.5171, 15.1999, 67.4322)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BD9 #D0D95B
analogous
#5B91D9 #645BD9 #A35BD9
triadic
#645BD9 #D9645B #5BD964
tetradic
#645BD9 #D95B91 #D0D95B #5BD9A3
square
#645BD9 #D95B91 #D0D95B #5BD9A3
split-complementary
#645BD9 #D9A35B #91D95B
monochromatic
#2B2397 #392EC8 #645BD9 #938DE5 #C2BEF0

Accessibility & contrast

On white

5.20
#645BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#645BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BD9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BD9#FFFFFF#000000##FFFFFF
##645BD91.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#2F7991
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #645bd9;
/* rgb */ color: rgb(100, 91, 217);
/* oklch */ color: oklch(54.9% 0.186 281.5);
Tailwind
colors: {
  custom: {
    50: '#998ae6',
    500: '#645bd9',
    950: '#000000',
  },
}
SCSS
$custom: #645bd9;
$custom-light: #998ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#645bd9",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 217
  },
  "hsl": {
    "h": 244.286,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5492,
    "c": 0.18646,
    "h": 281.5
  },
  "luminance": 0.15201
}

Semantic roles & 50–950 ramp

primary
#645BD9
secondary
#DDE0B0
accent
#CA1BBE
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #645BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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