#645CCF#645CCF

#645CCF is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.4% C 0.172 H 282.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#645CCF
RGBrgb(100, 92, 207)
HSLhsl(244, 55%, 59%)
HSVhsv(244, 56%, 81%)
CMYKcmyk(51.7%, 55.6%, 0%, 18.8%)
CIE-LABlab(45.45, 34.20, -58.76)
CIE-LCHlch(45.45, 67.99, 300.20°)
OKLaboklab(54.36% 0.0363 -0.168)
OKLCHoklch(54.36% 0.172 282.2)
XYZxyz(20.3417, 14.8675, 60.8172)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CCF #C7CF5C
analogous
#5C8DCF #645CCF #9D5CCF
triadic
#645CCF #CF645C #5CCF64
tetradic
#645CCF #CF5C8D #C7CF5C #5CCF9D
square
#645CCF #CF5C8D #C7CF5C #5CCF9D
split-complementary
#645CCF #CF9D5C #8DCF5C
monochromatic
#2F2888 #3F36B8 #645CCF #918BDD #BEBBEB

Accessibility & contrast

On white

5.28
#645CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#645CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CCF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CCF#FFFFFF#000000##FFFFFF
##645CCF1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E70D3
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#39768C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #645ccf;
/* rgb */ color: rgb(100, 92, 207);
/* oklch */ color: oklch(54.4% 0.172 282.2);
Tailwind
colors: {
  custom: {
    50: '#988ade',
    500: '#645ccf',
    950: '#000000',
  },
}
SCSS
$custom: #645ccf;
$custom-light: #988ade;
$custom-dark: #000000;
JSON
{
  "hex": "#645ccf",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 244.174,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54364,
    "c": 0.1719,
    "h": 282.2
  },
  "luminance": 0.14869
}

Semantic roles & 50–950 ramp

primary
#645CCF
secondary
#D7DAAD
accent
#DE4AD4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #645CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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