#645DDB#645DDB

#645DDB is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.4% C 0.187 H 280.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#645DDB
RGBrgb(100, 93, 219)
HSLhsl(243, 64%, 61%)
HSVhsv(243, 58%, 86%)
CMYKcmyk(54.3%, 57.5%, 0%, 14.1%)
CIE-LABlab(46.51, 37.32, -63.90)
CIE-LCHlch(46.51, 74.00, 300.29°)
OKLaboklab(55.41% 0.0353 -0.1831)
OKLCHoklch(55.41% 0.187 280.9)
XYZxyz(21.9521, 15.6511, 68.8683)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DDB #D4DB5D
analogous
#5D95DB #645DDB #A35DDB
triadic
#645DDB #DB645D #5DDB64
tetradic
#645DDB #DB5D95 #D4DB5D #5DDBA3
square
#645DDB #DB5D95 #D4DB5D #5DDBA3
split-complementary
#645DDB #DBA35D #95DB5D
monochromatic
#29229B #362ECD #645DDB #948FE6 #C4C1F1

Accessibility & contrast

On white

5.08
#645DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#645DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DDB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DDB#FFFFFF#000000##FFFFFF
##645DDB1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#2C7B93
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #645ddb;
/* rgb */ color: rgb(100, 93, 219);
/* oklch */ color: oklch(55.4% 0.187 280.9);
Tailwind
colors: {
  custom: {
    50: '#9a8be7',
    500: '#645ddb',
    950: '#000000',
  },
}
SCSS
$custom: #645ddb;
$custom-light: #9a8be7;
$custom-dark: #000000;
JSON
{
  "hex": "#645ddb",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 219
  },
  "hsl": {
    "h": 243.333,
    "s": 63.636,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55412,
    "c": 0.18651,
    "h": 280.9
  },
  "luminance": 0.15652
}

Semantic roles & 50–950 ramp

primary
#645DDB
secondary
#DFE2B2
accent
#CB1AC2
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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