#645DDF#645DDF

#645DDF is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.7% C 0.192 H 280.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#645DDF
RGBrgb(100, 93, 223)
HSLhsl(243, 67%, 62%)
HSVhsv(243, 58%, 87%)
CMYKcmyk(55.2%, 58.3%, 0%, 12.5%)
CIE-LABlab(46.80, 38.56, -65.71)
CIE-LCHlch(46.80, 76.19, 300.41°)
OKLaboklab(55.71% 0.0352 -0.1885)
OKLCHoklch(55.71% 0.192 280.6)
XYZxyz(22.4850, 15.8643, 71.6750)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DDF #D8DF5D
analogous
#5D97DF #645DDF #A55DDF
triadic
#645DDF #DF645D #5DDF64
tetradic
#645DDF #DF5D97 #D8DF5D #5DDFA5
square
#645DDF #DF5D97 #D8DF5D #5DDFA5
split-complementary
#645DDF #DFA55D #97DF5D
monochromatic
#2720A2 #332AD5 #645DDF #9590E9 #C6C3F3

Accessibility & contrast

On white

5.03
#645DDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#645DDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DDF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DDF#FFFFFF#000000##FFFFFF
##645DDF1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#006ADC
Tritanopia (blue-blind)
#267C95
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #645ddf;
/* rgb */ color: rgb(100, 93, 223);
/* oklch */ color: oklch(55.7% 0.192 280.6);
Tailwind
colors: {
  custom: {
    50: '#9a8bea',
    500: '#645ddf',
    950: '#000000',
  },
}
SCSS
$custom: #645ddf;
$custom-light: #9a8bea;
$custom-dark: #000000;
JSON
{
  "hex": "#645ddf",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 223
  },
  "hsl": {
    "h": 243.231,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.5571,
    "c": 0.19174,
    "h": 280.6
  },
  "luminance": 0.15866
}

Semantic roles & 50–950 ramp

primary
#645DDF
secondary
#E1E4B4
accent
#CF17C5
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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