#645CDE#645CDE

#645CDE is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.5% C 0.192 H 280.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#645CDE
RGBrgb(100, 92, 222)
HSLhsl(244, 66%, 62%)
HSVhsv(244, 59%, 87%)
CMYKcmyk(55%, 58.6%, 0%, 12.9%)
CIE-LABlab(46.49, 38.85, -65.63)
CIE-LCHlch(46.49, 76.27, 300.62°)
OKLaboklab(55.47% 0.0362 -0.1883)
OKLCHoklch(55.47% 0.192 280.9)
XYZxyz(22.2634, 15.6361, 70.9380)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CDE #D6DE5C
analogous
#5C95DE #645CDE #A55CDE
triadic
#645CDE #DE645C #5CDE64
tetradic
#645CDE #DE5C95 #D6DE5C #5CDEA5
square
#645CDE #DE5C95 #D6DE5C #5CDEA5
split-complementary
#645CDE #DEA55C #95DE5C
monochromatic
#28209F #352BD2 #645CDE #948FE8 #C5C2F3

Accessibility & contrast

On white

5.09
#645CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#645CDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CDE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CDE#FFFFFF#000000##FFFFFF
##645CDE1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#0069DB
Tritanopia (blue-blind)
#287B94
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #645cde;
/* rgb */ color: rgb(100, 92, 222);
/* oklch */ color: oklch(55.5% 0.192 280.9);
Tailwind
colors: {
  custom: {
    50: '#9a8ae9',
    500: '#645cde',
    950: '#000000',
  },
}
SCSS
$custom: #645cde;
$custom-light: #9a8ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#645cde",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 222
  },
  "hsl": {
    "h": 243.692,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55465,
    "c": 0.19171,
    "h": 280.9
  },
  "luminance": 0.15638
}

Semantic roles & 50–950 ramp

primary
#645CDE
secondary
#E0E3B3
accent
#CE17C3
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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