#645ACE#645ACE

#645ACE is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.9% C 0.173 H 282.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#645ACE
RGBrgb(100, 90, 206)
HSLhsl(245, 54%, 58%)
HSVhsv(245, 56%, 81%)
CMYKcmyk(51.5%, 56.3%, 0%, 19.2%)
CIE-LABlab(44.91, 35.10, -59.06)
CIE-LCHlch(44.91, 68.70, 300.72°)
OKLaboklab(53.94% 0.0384 -0.1689)
OKLCHoklch(53.94% 0.173 282.8)
XYZxyz(20.0489, 14.4768, 60.1184)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645ACE #C4CE5A
analogous
#5A8ACE #645ACE #9E5ACE
triadic
#645ACE #CE645A #5ACE64
tetradic
#645ACE #CE5A8A #C4CE5A #5ACE9E
square
#645ACE #CE5A8A #C4CE5A #5ACE9E
split-complementary
#645ACE #CE9E5A #8ACE5A
monochromatic
#302886 #4136B5 #645ACE #9089DC #BDB8EA

Accessibility & contrast

On white

5.39
#645ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#645ACE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645ACE
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645ACE#FFFFFF#000000##FFFFFF
##645ACE1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026ED2
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#3A758B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #645ace;
/* rgb */ color: rgb(100, 90, 206);
/* oklch */ color: oklch(53.9% 0.173 282.8);
Tailwind
colors: {
  custom: {
    50: '#9889de',
    500: '#645ace',
    950: '#000000',
  },
}
SCSS
$custom: #645ace;
$custom-light: #9889de;
$custom-dark: #000000;
JSON
{
  "hex": "#645ace",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 206
  },
  "hsl": {
    "h": 245.172,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5394,
    "c": 0.17324,
    "h": 282.8
  },
  "luminance": 0.14478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #645ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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