#645BCE#645BCE

#645BCE is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.1% C 0.172 H 282.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#645BCE
RGBrgb(100, 91, 206)
HSLhsl(245, 54%, 58%)
HSVhsv(245, 56%, 81%)
CMYKcmyk(51.5%, 55.8%, 0%, 19.2%)
CIE-LABlab(45.15, 34.50, -58.68)
CIE-LCHlch(45.15, 68.07, 300.45°)
OKLaboklab(54.12% 0.0373 -0.1678)
OKLCHoklch(54.12% 0.172 282.5)
XYZxyz(20.1338, 14.6466, 60.1467)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BCE #C5CE5B
analogous
#5B8BCE #645BCE #9E5BCE
triadic
#645BCE #CE645B #5BCE64
tetradic
#645BCE #CE5B8B #C5CE5B #5BCE9E
square
#645BCE #CE5B8B #C5CE5B #5BCE9E
split-complementary
#645BCE #CE9E5B #8BCE5B
monochromatic
#302886 #4036B6 #645BCE #918ADC #BDB9EA

Accessibility & contrast

On white

5.34
#645BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#645BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BCE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BCE#FFFFFF#000000##FFFFFF
##645BCE1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6FD2
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#3A758C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #645bce;
/* rgb */ color: rgb(100, 91, 206);
/* oklch */ color: oklch(54.1% 0.172 282.5);
Tailwind
colors: {
  custom: {
    50: '#9889de',
    500: '#645bce',
    950: '#000000',
  },
}
SCSS
$custom: #645bce;
$custom-light: #9889de;
$custom-dark: #000000;
JSON
{
  "hex": "#645bce",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 206
  },
  "hsl": {
    "h": 244.696,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54115,
    "c": 0.1719,
    "h": 282.5
  },
  "luminance": 0.14648
}

Semantic roles & 50–950 ramp

primary
#645BCE
secondary
#D6D9AB
accent
#DD4AD2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #645BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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