#645FD1#645FD1

#645FD1 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.0% C 0.171 H 281.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#645FD1
RGBrgb(100, 95, 209)
HSLhsl(243, 55%, 60%)
HSVhsv(243, 55%, 82%)
CMYKcmyk(52.2%, 54.5%, 0%, 18%)
CIE-LABlab(46.31, 33.00, -58.53)
CIE-LCHlch(46.31, 67.19, 299.42°)
OKLaboklab(55.04% 0.0331 -0.1673)
OKLCHoklch(55.04% 0.171 281.2)
XYZxyz(20.8528, 15.4960, 62.2015)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FD1 #CCD15F
analogous
#5F93D1 #645FD1 #9D5FD1
triadic
#645FD1 #D1645F #5FD164
tetradic
#645FD1 #D15F93 #CCD15F #5FD19D
square
#645FD1 #D15F93 #CCD15F #5FD19D
split-complementary
#645FD1 #D19D5F #93D15F
monochromatic
#2D298D #3C36BD #645FD1 #928FDF #C0BEEC

Accessibility & contrast

On white

5.12
#645FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#645FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FD1
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FD1#FFFFFF#000000##FFFFFF
##645FD11.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1872D5
Deuteranopia (green-blind)
#006ACF
Tritanopia (blue-blind)
#36798F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #645fd1;
/* rgb */ color: rgb(100, 95, 209);
/* oklch */ color: oklch(55.0% 0.171 281.2);
Tailwind
colors: {
  custom: {
    50: '#988ce0',
    500: '#645fd1',
    950: '#000000',
  },
}
SCSS
$custom: #645fd1;
$custom-light: #988ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#645fd1",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 209
  },
  "hsl": {
    "h": 242.632,
    "s": 55.34,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55042,
    "c": 0.17056,
    "h": 281.2
  },
  "luminance": 0.15497
}

Semantic roles & 50–950 ramp

primary
#645FD1
secondary
#DADCB0
accent
#DF49D8
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #645FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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