#645DE8#645DE8

#645DE8 is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.4% C 0.203 H 279.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#645DE8
RGBrgb(100, 93, 232)
HSLhsl(243, 75%, 64%)
HSVhsv(243, 60%, 91%)
CMYKcmyk(56.9%, 59.9%, 0%, 9%)
CIE-LABlab(47.45, 41.37, -69.74)
CIE-LCHlch(47.45, 81.09, 300.67°)
OKLaboklab(56.39% 0.035 -0.2003)
OKLCHoklch(56.39% 0.203 279.9)
XYZxyz(23.7308, 16.3626, 78.2361)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DE8 #E1E85D
analogous
#5D9BE8 #645DE8 #A95DE8
triadic
#645DE8 #E8645D #5DE864
tetradic
#645DE8 #E85D9B #E1E85D #5DE8A9
square
#645DE8 #E85D9B #E1E85D #5DE8A9
split-complementary
#645DE8 #E8A95D #9BE85D
monochromatic
#2119B1 #3127E0 #645DE8 #9793F0 #CBC8F7

Accessibility & contrast

On white

4.91
#645DE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#645DE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DE8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DE8#FFFFFF#000000##FFFFFF
##645DE81.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#157F9A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #645de8;
/* rgb */ color: rgb(100, 93, 232);
/* oklch */ color: oklch(56.4% 0.203 279.9);
Tailwind
colors: {
  custom: {
    50: '#9c8bf0',
    500: '#645de8',
    950: '#000000',
  },
}
SCSS
$custom: #645de8;
$custom-light: #9c8bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#645de8",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 232
  },
  "hsl": {
    "h": 243.022,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56394,
    "c": 0.20336,
    "h": 279.9
  },
  "luminance": 0.16364
}

Semantic roles & 50–950 ramp

primary
#645DE8
secondary
#E6E9B8
accent
#D70ECD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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