#645CD2#645CD2

#645CD2 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.6% C 0.176 H 281.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#645CD2
RGBrgb(100, 92, 210)
HSLhsl(244, 57%, 59%)
HSVhsv(244, 56%, 82%)
CMYKcmyk(52.4%, 56.2%, 0%, 17.6%)
CIE-LABlab(45.66, 35.13, -60.15)
CIE-LCHlch(45.66, 69.65, 300.28°)
OKLaboklab(54.58% 0.0363 -0.1721)
OKLCHoklch(54.58% 0.176 281.9)
XYZxyz(20.7120, 15.0156, 62.7672)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CD2 #CAD25C
analogous
#5C8FD2 #645CD2 #9F5CD2
triadic
#645CD2 #D2645C #5CD264
tetradic
#645CD2 #D25C8F #CAD25C #5CD29F
square
#645CD2 #D25C8F #CAD25C #5CD29F
split-complementary
#645CD2 #D29F5C #8FD25C
monochromatic
#2E278D #3D34BD #645CD2 #928CDF #BFBCEC

Accessibility & contrast

On white

5.25
#645CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#645CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CD2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CD2#FFFFFF#000000##FFFFFF
##645CD21.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#36778E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #645cd2;
/* rgb */ color: rgb(100, 92, 210);
/* oklch */ color: oklch(54.6% 0.176 281.9);
Tailwind
colors: {
  custom: {
    50: '#988ae1',
    500: '#645cd2',
    950: '#000000',
  },
}
SCSS
$custom: #645cd2;
$custom-light: #988ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#645cd2",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 244.068,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5458,
    "c": 0.17591,
    "h": 281.9
  },
  "luminance": 0.15017
}

Semantic roles & 50–950 ramp

primary
#645CD2
secondary
#D9DCAE
accent
#E048D6
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #645CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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