#645DD8#645DD8

#645DD8 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.2% C 0.183 H 281.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#645DD8
RGBrgb(100, 93, 216)
HSLhsl(243, 61%, 61%)
HSVhsv(243, 57%, 85%)
CMYKcmyk(53.7%, 56.9%, 0%, 15.3%)
CIE-LABlab(46.30, 36.38, -62.53)
CIE-LCHlch(46.30, 72.34, 300.20°)
OKLaboklab(55.19% 0.0353 -0.1791)
OKLCHoklch(55.19% 0.183 281.1)
XYZxyz(21.5607, 15.4946, 66.8071)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DD8 #D1D85D
analogous
#5D93D8 #645DD8 #A25DD8
triadic
#645DD8 #D8645D #5DD864
tetradic
#645DD8 #D85D93 #D1D85D #5DD8A2
square
#645DD8 #D85D93 #D1D85D #5DD8A2
split-complementary
#645DD8 #D8A25D #93D85D
monochromatic
#2B2496 #3930C8 #645DD8 #938EE4 #C2C0F0

Accessibility & contrast

On white

5.12
#645DD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#645DD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DD8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DD8#FFFFFF#000000##FFFFFF
##645DD81.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#0069D5
Tritanopia (blue-blind)
#2F7A91
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #645dd8;
/* rgb */ color: rgb(100, 93, 216);
/* oklch */ color: oklch(55.2% 0.183 281.1);
Tailwind
colors: {
  custom: {
    50: '#998be5',
    500: '#645dd8',
    950: '#000000',
  },
}
SCSS
$custom: #645dd8;
$custom-light: #998be5;
$custom-dark: #000000;
JSON
{
  "hex": "#645dd8",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 216
  },
  "hsl": {
    "h": 243.415,
    "s": 61.194,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55191,
    "c": 0.18255,
    "h": 281.1
  },
  "luminance": 0.15496
}

Semantic roles & 50–950 ramp

primary
#645DD8
secondary
#DDE0B1
accent
#C91DBF
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #645DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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