#645DDC#645DDC

#645DDC is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.5% C 0.188 H 280.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#645DDC
RGBrgb(100, 93, 220)
HSLhsl(243, 64%, 61%)
HSVhsv(243, 58%, 86%)
CMYKcmyk(54.5%, 57.7%, 0%, 13.7%)
CIE-LABlab(46.58, 37.63, -64.35)
CIE-LCHlch(46.58, 74.55, 300.32°)
OKLaboklab(55.49% 0.0353 -0.1845)
OKLCHoklch(55.49% 0.188 280.8)
XYZxyz(22.0841, 15.7040, 69.5637)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DDC #D5DC5D
analogous
#5D96DC #645DDC #A45DDC
triadic
#645DDC #DC645D #5DDC64
tetradic
#645DDC #DC5D96 #D5DC5D #5DDCA4
square
#645DDC #DC5D96 #D5DC5D #5DDCA4
split-complementary
#645DDC #DCA45D #96DC5D
monochromatic
#29229D #362DCF #645DDC #948FE7 #C4C2F2

Accessibility & contrast

On white

5.07
#645DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#645DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DDC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DDC#FFFFFF#000000##FFFFFF
##645DDC1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#2A7B93
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #645ddc;
/* rgb */ color: rgb(100, 93, 220);
/* oklch */ color: oklch(55.5% 0.188 280.8);
Tailwind
colors: {
  custom: {
    50: '#9a8be8',
    500: '#645ddc',
    950: '#000000',
  },
}
SCSS
$custom: #645ddc;
$custom-light: #9a8be8;
$custom-dark: #000000;
JSON
{
  "hex": "#645ddc",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 220
  },
  "hsl": {
    "h": 243.307,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55486,
    "c": 0.18782,
    "h": 280.8
  },
  "luminance": 0.15705
}

Semantic roles & 50–950 ramp

primary
#645DDC
secondary
#E0E2B3
accent
#CC19C2
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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