#645BCD#645BCD

#645BCD is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.0% C 0.171 H 282.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#645BCD
RGBrgb(100, 91, 205)
HSLhsl(245, 53%, 58%)
HSVhsv(245, 56%, 80%)
CMYKcmyk(51.2%, 55.6%, 0%, 19.6%)
CIE-LABlab(45.08, 34.19, -58.21)
CIE-LCHlch(45.08, 67.51, 300.43°)
OKLaboklab(54.04% 0.0373 -0.1664)
OKLCHoklch(54.04% 0.171 282.6)
XYZxyz(20.0127, 14.5982, 59.5090)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BCD #C4CD5B
analogous
#5B8BCD #645BCD #9D5BCD
triadic
#645BCD #CD645B #5BCD64
tetradic
#645BCD #CD5B8B #C4CD5B #5BCD9D
square
#645BCD #CD5B8B #C4CD5B #5BCD9D
split-complementary
#645BCD #CD9D5B #8BCD5B
monochromatic
#302985 #4137B4 #645BCD #908ADB #BDB9EA

Accessibility & contrast

On white

5.36
#645BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#645BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BCD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BCD#FFFFFF#000000##FFFFFF
##645BCD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6ED1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#3A758B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #645bcd;
/* rgb */ color: rgb(100, 91, 205);
/* oklch */ color: oklch(54.0% 0.171 282.6);
Tailwind
colors: {
  custom: {
    50: '#9889dd',
    500: '#645bcd',
    950: '#000000',
  },
}
SCSS
$custom: #645bcd;
$custom-light: #9889dd;
$custom-dark: #000000;
JSON
{
  "hex": "#645bcd",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 205
  },
  "hsl": {
    "h": 244.737,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54044,
    "c": 0.17056,
    "h": 282.6
  },
  "luminance": 0.14599
}

Semantic roles & 50–950 ramp

primary
#645BCD
secondary
#D5D9AB
accent
#DD4BD1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #645BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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