#645DC8#645DC8

#645DC8 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.1% C 0.161 H 282.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#645DC8
RGBrgb(100, 93, 200)
HSLhsl(244, 49%, 57%)
HSVhsv(244, 54%, 78%)
CMYKcmyk(50%, 53.5%, 0%, 21.6%)
CIE-LABlab(45.23, 31.44, -55.09)
CIE-LCHlch(45.23, 63.43, 299.71°)
OKLaboklab(54.05% 0.0349 -0.1572)
OKLCHoklch(54.05% 0.161 282.5)
XYZxyz(19.5921, 14.7071, 56.4388)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DC8 #C1C85D
analogous
#5D8CC8 #645DC8 #995DC8
triadic
#645DC8 #C8645D #5DC864
tetradic
#645DC8 #C85D8C #C1C85D #5DC899
square
#645DC8 #C85D8C #C1C85D #5DC899
split-complementary
#645DC8 #C8995D #8CC85D
monochromatic
#312B7F #423BAD #645DC8 #908BD8 #BBB8E7

Accessibility & contrast

On white

5.33
#645DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#645DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DC8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DC8#FFFFFF#000000##FFFFFF
##645DC81.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226FCC
Deuteranopia (green-blind)
#1867C6
Tritanopia (blue-blind)
#3E7589
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #645dc8;
/* rgb */ color: rgb(100, 93, 200);
/* oklch */ color: oklch(54.1% 0.161 282.5);
Tailwind
colors: {
  custom: {
    50: '#978bd9',
    500: '#645dc8',
    950: '#000000',
  },
}
SCSS
$custom: #645dc8;
$custom-light: #978bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#645dc8",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 200
  },
  "hsl": {
    "h": 243.925,
    "s": 49.309,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54051,
    "c": 0.16106,
    "h": 282.5
  },
  "luminance": 0.14708
}

Semantic roles & 50–950 ramp

primary
#645DC8
secondary
#D3D6AB
accent
#D94FD0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #645DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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