#645BD0#645BD0

#645BD0 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.3% C 0.175 H 282.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#645BD0
RGBrgb(100, 91, 208)
HSLhsl(245, 55%, 59%)
HSVhsv(245, 56%, 82%)
CMYKcmyk(51.9%, 56.2%, 0%, 18.4%)
CIE-LABlab(45.28, 35.11, -59.61)
CIE-LCHlch(45.28, 69.18, 300.50°)
OKLaboklab(54.26% 0.0374 -0.1705)
OKLCHoklch(54.26% 0.175 282.4)
XYZxyz(20.3783, 14.7444, 61.4344)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BD0 #C7D05B
analogous
#5B8CD0 #645BD0 #9E5BD0
triadic
#645BD0 #D0645B #5BD064
tetradic
#645BD0 #D05B8C #C7D05B #5BD09E
square
#645BD0 #D05B8C #C7D05B #5BD09E
split-complementary
#645BD0 #D09E5B #8CD05B
monochromatic
#2F2789 #3F35B9 #645BD0 #918BDE #BEBAEB

Accessibility & contrast

On white

5.32
#645BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#645BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BD0
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BD0#FFFFFF#000000##FFFFFF
##645BD01.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016FD4
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#38768D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #645bd0;
/* rgb */ color: rgb(100, 91, 208);
/* oklch */ color: oklch(54.3% 0.175 282.4);
Tailwind
colors: {
  custom: {
    50: '#9889df',
    500: '#645bd0',
    950: '#000000',
  },
}
SCSS
$custom: #645bd0;
$custom-light: #9889df;
$custom-dark: #000000;
JSON
{
  "hex": "#645bd0",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 208
  },
  "hsl": {
    "h": 244.615,
    "s": 55.45,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54259,
    "c": 0.17457,
    "h": 282.4
  },
  "luminance": 0.14746
}

Semantic roles & 50–950 ramp

primary
#645BD0
secondary
#D7DBAC
accent
#DF49D3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #645BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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