#645DCB#645DCB

#645DCB is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.3% C 0.165 H 282.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#645DCB
RGBrgb(100, 93, 203)
HSLhsl(244, 51%, 58%)
HSVhsv(244, 54%, 80%)
CMYKcmyk(50.7%, 54.2%, 0%, 20.4%)
CIE-LABlab(45.43, 32.36, -56.50)
CIE-LCHlch(45.43, 65.11, 299.80°)
OKLaboklab(54.26% 0.0351 -0.1614)
OKLCHoklch(54.26% 0.165 282.3)
XYZxyz(19.9461, 14.8487, 58.3034)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DCB #C4CB5D
analogous
#5D8DCB #645DCB #9B5DCB
triadic
#645DCB #CB645D #5DCB64
tetradic
#645DCB #CB5D8D #C4CB5D #5DCB9B
square
#645DCB #CB5D8D #C4CB5D #5DCB9B
split-complementary
#645DCB #CB9B5D #8DCB5D
monochromatic
#302A83 #4139B2 #645DCB #908BDA #BDBAE9

Accessibility & contrast

On white

5.29
#645DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#645DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DCB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DCB#FFFFFF#000000##FFFFFF
##645DCB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6FCF
Deuteranopia (green-blind)
#0F68C9
Tritanopia (blue-blind)
#3C768B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #645dcb;
/* rgb */ color: rgb(100, 93, 203);
/* oklch */ color: oklch(54.3% 0.165 282.3);
Tailwind
colors: {
  custom: {
    50: '#978bdb',
    500: '#645dcb',
    950: '#000000',
  },
}
SCSS
$custom: #645dcb;
$custom-light: #978bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#645dcb",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 203
  },
  "hsl": {
    "h": 243.818,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5426,
    "c": 0.16514,
    "h": 282.3
  },
  "luminance": 0.1485
}

Semantic roles & 50–950 ramp

primary
#645DCB
secondary
#D5D8AC
accent
#DB4DD2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #645DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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