#645DDD#645DDD

#645DDD is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.6% C 0.189 H 280.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#645DDD
RGBrgb(100, 93, 221)
HSLhsl(243, 65%, 62%)
HSVhsv(243, 58%, 87%)
CMYKcmyk(54.8%, 57.9%, 0%, 13.3%)
CIE-LABlab(46.65, 37.94, -64.81)
CIE-LCHlch(46.65, 75.09, 300.35°)
OKLaboklab(55.56% 0.0352 -0.1858)
OKLCHoklch(55.56% 0.189 280.7)
XYZxyz(22.2170, 15.7571, 70.2633)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DDD #D6DD5D
analogous
#5D96DD #645DDD #A45DDD
triadic
#645DDD #DD645D #5DDD64
tetradic
#645DDD #DD5D96 #D6DD5D #5DDDA4
square
#645DDD #DD5D96 #D6DD5D #5DDDA4
split-complementary
#645DDD #DDA45D #96DD5D
monochromatic
#28219E #352CD1 #645DDD #9490E8 #C5C2F2

Accessibility & contrast

On white

5.06
#645DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#645DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DDD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DDD#FFFFFF#000000##FFFFFF
##645DDD1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#297B94
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #645ddd;
/* rgb */ color: rgb(100, 93, 221);
/* oklch */ color: oklch(55.6% 0.189 280.7);
Tailwind
colors: {
  custom: {
    50: '#9a8be8',
    500: '#645ddd',
    950: '#000000',
  },
}
SCSS
$custom: #645ddd;
$custom-light: #9a8be8;
$custom-dark: #000000;
JSON
{
  "hex": "#645ddd",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 221
  },
  "hsl": {
    "h": 243.281,
    "s": 65.306,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55561,
    "c": 0.18912,
    "h": 280.7
  },
  "luminance": 0.15758
}

Semantic roles & 50–950 ramp

primary
#645DDD
secondary
#E0E3B3
accent
#CD18C3
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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