#645ACF#645ACF

#645ACF is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.0% C 0.175 H 282.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#645ACF
RGBrgb(100, 90, 207)
HSLhsl(245, 55%, 58%)
HSVhsv(245, 57%, 81%)
CMYKcmyk(51.7%, 56.5%, 0%, 18.8%)
CIE-LABlab(44.98, 35.41, -59.52)
CIE-LCHlch(44.98, 69.26, 300.74°)
OKLaboklab(54.01% 0.0384 -0.1703)
OKLCHoklch(54.01% 0.175 282.7)
XYZxyz(20.1708, 14.5255, 60.7602)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645ACF #C5CF5A
analogous
#5A8ACF #645ACF #9E5ACF
triadic
#645ACF #CF645A #5ACF64
tetradic
#645ACF #CF5A8A #C5CF5A #5ACF9E
square
#645ACF #CF5A8A #C5CF5A #5ACF9E
split-complementary
#645ACF #CF9E5A #8ACF5A
monochromatic
#302787 #4035B7 #645ACF #9189DD #BDB9EB

Accessibility & contrast

On white

5.38
#645ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#645ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645ACF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645ACF#FFFFFF#000000##FFFFFF
##645ACF1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#39758C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #645acf;
/* rgb */ color: rgb(100, 90, 207);
/* oklch */ color: oklch(54.0% 0.175 282.7);
Tailwind
colors: {
  custom: {
    50: '#9889de',
    500: '#645acf',
    950: '#000000',
  },
}
SCSS
$custom: #645acf;
$custom-light: #9889de;
$custom-dark: #000000;
JSON
{
  "hex": "#645acf",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 207
  },
  "hsl": {
    "h": 245.128,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54012,
    "c": 0.17458,
    "h": 282.7
  },
  "luminance": 0.14527
}

Semantic roles & 50–950 ramp

primary
#645ACF
secondary
#D6DAAB
accent
#DE4AD2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #645ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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