#645CD8#645CD8

#645CD8 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 55.0% C 0.184 H 281.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#645CD8
RGBrgb(100, 92, 216)
HSLhsl(244, 61%, 60%)
HSVhsv(244, 57%, 85%)
CMYKcmyk(53.7%, 57.4%, 0%, 15.3%)
CIE-LABlab(46.07, 36.98, -62.91)
CIE-LCHlch(46.07, 72.97, 300.45°)
OKLaboklab(55.02% 0.0363 -0.1802)
OKLCHoklch(55.02% 0.184 281.4)
XYZxyz(21.4735, 15.3202, 66.7780)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CD8 #D0D85C
analogous
#5C92D8 #645CD8 #A25CD8
triadic
#645CD8 #D8645C #5CD864
tetradic
#645CD8 #D85C92 #D0D85C #5CD8A2
square
#645CD8 #D85C92 #D0D85C #5CD8A2
split-complementary
#645CD8 #D8A25C #92D85C
monochromatic
#2B2496 #3930C7 #645CD8 #938DE4 #C2BFF0

Accessibility & contrast

On white

5.17
#645CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#645CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CD8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CD8#FFFFFF#000000##FFFFFF
##645CD81.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#0069D5
Tritanopia (blue-blind)
#307991
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #645cd8;
/* rgb */ color: rgb(100, 92, 216);
/* oklch */ color: oklch(55.0% 0.184 281.4);
Tailwind
colors: {
  custom: {
    50: '#998ae5',
    500: '#645cd8',
    950: '#000000',
  },
}
SCSS
$custom: #645cd8;
$custom-light: #998ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#645cd8",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 243.871,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55018,
    "c": 0.18385,
    "h": 281.4
  },
  "luminance": 0.15321
}

Semantic roles & 50–950 ramp

primary
#645CD8
secondary
#DDE0B0
accent
#C91CBE
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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