#645BDB#645BDB

#645BDB is a mid, vivid blue. Relative luminance 0.153; OKLCH L 55.1% C 0.189 H 281.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#645BDB
RGBrgb(100, 91, 219)
HSLhsl(244, 64%, 61%)
HSVhsv(244, 58%, 86%)
CMYKcmyk(54.3%, 58.4%, 0%, 14.1%)
CIE-LABlab(46.05, 38.51, -64.65)
CIE-LCHlch(46.05, 75.25, 300.78°)
OKLaboklab(55.07% 0.0373 -0.1854)
OKLCHoklch(55.07% 0.189 281.4)
XYZxyz(21.7788, 15.3046, 68.8106)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BDB #D2DB5B
analogous
#5B92DB #645BDB #A45BDB
triadic
#645BDB #DB645B #5BDB64
tetradic
#645BDB #DB5B92 #D2DB5B #5BDBA4
square
#645BDB #DB5B92 #D2DB5B #5BDBA4
split-complementary
#645BDB #DBA45B #92DB5B
monochromatic
#2A229A #382DCC #645BDB #938DE6 #C3BFF1

Accessibility & contrast

On white

5.17
#645BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#645BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BDB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BDB#FFFFFF#000000##FFFFFF
##645BDB1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#2C7992
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #645bdb;
/* rgb */ color: rgb(100, 91, 219);
/* oklch */ color: oklch(55.1% 0.189 281.4);
Tailwind
colors: {
  custom: {
    50: '#9a8ae7',
    500: '#645bdb',
    950: '#000000',
  },
}
SCSS
$custom: #645bdb;
$custom-light: #9a8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#645bdb",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 244.219,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55069,
    "c": 0.18908,
    "h": 281.4
  },
  "luminance": 0.15306
}

Semantic roles & 50–950 ramp

primary
#645BDB
secondary
#DEE1B1
accent
#CC1ABF
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #645BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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