#645DC0#645DC0

#645DC0 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.5% C 0.150 H 283.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#645DC0
RGBrgb(100, 93, 192)
HSLhsl(244, 44%, 56%)
HSVhsv(244, 52%, 75%)
CMYKcmyk(47.9%, 51.6%, 0%, 24.7%)
CIE-LABlab(44.72, 28.98, -51.28)
CIE-LCHlch(44.72, 58.91, 299.47°)
OKLaboklab(53.51% 0.0345 -0.146)
OKLCHoklch(53.51% 0.15 283.3)
XYZxyz(18.6815, 14.3429, 51.6430)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DC0 #B9C05D
analogous
#5D87C0 #645DC0 #955DC0
triadic
#645DC0 #C0645D #5DC064
tetradic
#645DC0 #C05D87 #B9C05D #5DC095
square
#645DC0 #C05D87 #B9C05D #5DC095
split-complementary
#645DC0 #C0955D #87C05D
monochromatic
#332E75 #463FA1 #645DC0 #8E89D1 #B8B5E2

Accessibility & contrast

On white

5.43
#645DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#645DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DC0
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DC0#FFFFFF#000000##FFFFFF
##645DC01.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6DC3
Deuteranopia (green-blind)
#2867BE
Tritanopia (blue-blind)
#447286
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #645dc0;
/* rgb */ color: rgb(100, 93, 192);
/* oklch */ color: oklch(53.5% 0.150 283.3);
Tailwind
colors: {
  custom: {
    50: '#968bd4',
    500: '#645dc0',
    950: '#000000',
  },
}
SCSS
$custom: #645dc0;
$custom-light: #968bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#645dc0",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 192
  },
  "hsl": {
    "h": 244.242,
    "s": 44,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53507,
    "c": 0.15005,
    "h": 283.3
  },
  "luminance": 0.14344
}

Semantic roles & 50–950 ramp

primary
#645DC0
secondary
#CED1A8
accent
#D454CB
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83

Preview Lab

Preview with #645DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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