#645DE2#645DE2

#645DE2 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.9% C 0.196 H 280.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#645DE2
RGBrgb(100, 93, 226)
HSLhsl(243, 70%, 63%)
HSVhsv(243, 59%, 89%)
CMYKcmyk(55.8%, 58.8%, 0%, 11.4%)
CIE-LABlab(47.01, 39.50, -67.06)
CIE-LCHlch(47.01, 77.83, 300.50°)
OKLaboklab(55.94% 0.0352 -0.1924)
OKLCHoklch(55.94% 0.196 280.4)
XYZxyz(22.8931, 16.0275, 73.8240)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DE2 #DBE25D
analogous
#5D98E2 #645DE2 #A75DE2
triadic
#645DE2 #E2645D #5DE264
tetradic
#645DE2 #E25D98 #DBE25D #5DE2A7
square
#645DE2 #E25D98 #DBE25D #5DE2A7
split-complementary
#645DE2 #E2A75D #98E25D
monochromatic
#251EA7 #3229D9 #645DE2 #9691EB #C7C5F5

Accessibility & contrast

On white

4.99
#645DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#645DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DE2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DE2#FFFFFF#000000##FFFFFF
##645DE21.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#227D97
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #645de2;
/* rgb */ color: rgb(100, 93, 226);
/* oklch */ color: oklch(55.9% 0.196 280.4);
Tailwind
colors: {
  custom: {
    50: '#9b8bec',
    500: '#645de2',
    950: '#000000',
  },
}
SCSS
$custom: #645de2;
$custom-light: #9b8bec;
$custom-dark: #000000;
JSON
{
  "hex": "#645de2",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 226
  },
  "hsl": {
    "h": 243.158,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55936,
    "c": 0.19563,
    "h": 280.4
  },
  "luminance": 0.16029
}

Semantic roles & 50–950 ramp

primary
#645DE2
secondary
#E3E6B5
accent
#D214C8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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