#645DC2#645DC2

#645DC2 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.6% C 0.153 H 283.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#645DC2
RGBrgb(100, 93, 194)
HSLhsl(244, 45%, 56%)
HSVhsv(244, 52%, 76%)
CMYKcmyk(48.5%, 52.1%, 0%, 23.9%)
CIE-LABlab(44.85, 29.59, -52.24)
CIE-LCHlch(44.85, 60.04, 299.53°)
OKLaboklab(53.64% 0.0346 -0.1488)
OKLCHoklch(53.64% 0.153 283.1)
XYZxyz(18.9046, 14.4321, 52.8180)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DC2 #BBC25D
analogous
#5D89C2 #645DC2 #975DC2
triadic
#645DC2 #C2645D #5DC264
tetradic
#645DC2 #C25D89 #BBC25D #5DC297
square
#645DC2 #C25D89 #BBC25D #5DC297
split-complementary
#645DC2 #C2975D #89C25D
monochromatic
#322D78 #453EA4 #645DC2 #8F89D3 #B9B6E3

Accessibility & contrast

On white

5.40
#645DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#645DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DC2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DC2#FFFFFF#000000##FFFFFF
##645DC21.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6DC6
Deuteranopia (green-blind)
#2467C0
Tritanopia (blue-blind)
#427386
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #645dc2;
/* rgb */ color: rgb(100, 93, 194);
/* oklch */ color: oklch(53.6% 0.153 283.1);
Tailwind
colors: {
  custom: {
    50: '#968bd5',
    500: '#645dc2',
    950: '#000000',
  },
}
SCSS
$custom: #645dc2;
$custom-light: #968bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#645dc2",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 244.158,
    "s": 45.291,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53641,
    "c": 0.15282,
    "h": 283.1
  },
  "luminance": 0.14433
}

Semantic roles & 50–950 ramp

primary
#645DC2
secondary
#CFD2A9
accent
#D553CC
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83

Preview Lab

Preview with #645DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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