#645DBF#645DBF

#645DBF is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.4% C 0.149 H 283.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#645DBF
RGBrgb(100, 93, 191)
HSLhsl(244, 43%, 56%)
HSVhsv(244, 51%, 75%)
CMYKcmyk(47.6%, 51.3%, 0%, 25.1%)
CIE-LABlab(44.66, 28.68, -50.80)
CIE-LCHlch(44.66, 58.34, 299.45°)
OKLaboklab(53.44% 0.0344 -0.1446)
OKLCHoklch(53.44% 0.149 283.4)
XYZxyz(18.5711, 14.2987, 51.0615)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DBF #B8BF5D
analogous
#5D87BF #645DBF #955DBF
triadic
#645DBF #BF645D #5DBF64
tetradic
#645DBF #BF5D87 #B8BF5D #5DBF95
square
#645DBF #BF5D87 #B8BF5D #5DBF95
split-complementary
#645DBF #BF955D #87BF5D
monochromatic
#332E74 #463FA0 #645DBF #8E89D0 #B8B5E2

Accessibility & contrast

On white

5.44
#645DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#645DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DBF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DBF#FFFFFF#000000##FFFFFF
##645DBF1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6DC2
Deuteranopia (green-blind)
#2966BD
Tritanopia (blue-blind)
#447285
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #645dbf;
/* rgb */ color: rgb(100, 93, 191);
/* oklch */ color: oklch(53.4% 0.149 283.4);
Tailwind
colors: {
  custom: {
    50: '#968bd3',
    500: '#645dbf',
    950: '#000000',
  },
}
SCSS
$custom: #645dbf;
$custom-light: #968bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#645dbf",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 191
  },
  "hsl": {
    "h": 244.286,
    "s": 43.363,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5344,
    "c": 0.14865,
    "h": 283.4
  },
  "luminance": 0.143
}

Semantic roles & 50–950 ramp

primary
#645DBF
secondary
#CDD0A8
accent
#D355CA
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83

Preview Lab

Preview with #645DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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