#645DCF#645DCF

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

Color values

HEX#645DCF
RGBrgb(100, 93, 207)
HSLhsl(244, 54%, 59%)
HSVhsv(244, 55%, 81%)
CMYKcmyk(51.7%, 55.1%, 0%, 18.8%)
CIE-LABlab(45.69, 33.59, -58.37)
CIE-LCHlch(45.69, 67.35, 299.92°)
OKLaboklab(54.54% 0.0352 -0.1669)
OKLCHoklch(54.54% 0.171 281.9)
XYZxyz(20.4289, 15.0419, 60.8463)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DCF #C8CF5D
analogous
#5D8FCF #645DCF #9D5DCF
triadic
#645DCF #CF645D #5DCF64
tetradic
#645DCF #CF5D8F #C8CF5D #5DCF9D
square
#645DCF #CF5D8F #C8CF5D #5DCF9D
split-complementary
#645DCF #CF9D5D #8FCF5D
monochromatic
#2F2989 #3F37B8 #645DCF #918CDD #BEBBEB

Accessibility & contrast

On white

5.24
#645DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#645DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DCF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DCF#FFFFFF#000000##FFFFFF
##645DCF1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1470D3
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#38778D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #645dcf;
/* rgb */ color: rgb(100, 93, 207);
/* oklch */ color: oklch(54.5% 0.171 281.9);
Tailwind
colors: {
  custom: {
    50: '#988bde',
    500: '#645dcf',
    950: '#000000',
  },
}
SCSS
$custom: #645dcf;
$custom-light: #988bde;
$custom-dark: #000000;
JSON
{
  "hex": "#645dcf",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 207
  },
  "hsl": {
    "h": 243.684,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54542,
    "c": 0.17055,
    "h": 281.9
  },
  "luminance": 0.15043
}

Semantic roles & 50–950 ramp

primary
#645DCF
secondary
#D8DAAD
accent
#DE4AD5
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #645DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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