#645DD3#645DD3

#645DD3 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.8% C 0.176 H 281.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#645DD3
RGBrgb(100, 93, 211)
HSLhsl(244, 57%, 60%)
HSVhsv(244, 56%, 83%)
CMYKcmyk(52.6%, 55.9%, 0%, 17.3%)
CIE-LABlab(45.96, 34.83, -60.23)
CIE-LCHlch(45.96, 69.57, 300.04°)
OKLaboklab(54.83% 0.0353 -0.1723)
OKLCHoklch(54.83% 0.176 281.6)
XYZxyz(20.9241, 15.2400, 63.4544)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DD3 #CCD35D
analogous
#5D91D3 #645DD3 #9F5DD3
triadic
#645DD3 #D3645D #5DD364
tetradic
#645DD3 #D35D91 #CCD35D #5DD39F
square
#645DD3 #D35D91 #CCD35D #5DD39F
split-complementary
#645DD3 #D39F5D #91D35D
monochromatic
#2D278F #3C34BF #645DD3 #928DE0 #C0BDED

Accessibility & contrast

On white

5.19
#645DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#645DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DD3
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DD3#FFFFFF#000000##FFFFFF
##645DD31.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0471D7
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#35788F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #645dd3;
/* rgb */ color: rgb(100, 93, 211);
/* oklch */ color: oklch(54.8% 0.176 281.6);
Tailwind
colors: {
  custom: {
    50: '#988be1',
    500: '#645dd3',
    950: '#000000',
  },
}
SCSS
$custom: #645dd3;
$custom-light: #988be1;
$custom-dark: #000000;
JSON
{
  "hex": "#645dd3",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 211
  },
  "hsl": {
    "h": 243.559,
    "s": 57.282,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54828,
    "c": 0.17591,
    "h": 281.6
  },
  "luminance": 0.15241
}

Semantic roles & 50–950 ramp

primary
#645DD3
secondary
#DADDAF
accent
#E147D7
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #645DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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