#645DD7#645DD7

#645DD7 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 55.1% C 0.181 H 281.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#645DD7
RGBrgb(100, 93, 215)
HSLhsl(243, 60%, 60%)
HSVhsv(243, 57%, 84%)
CMYKcmyk(53.5%, 56.7%, 0%, 15.7%)
CIE-LABlab(46.24, 36.07, -62.07)
CIE-LCHlch(46.24, 71.79, 300.17°)
OKLaboklab(55.12% 0.0353 -0.1778)
OKLCHoklch(55.12% 0.181 281.2)
XYZxyz(21.4318, 15.4430, 66.1283)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DD7 #D0D75D
analogous
#5D93D7 #645DD7 #A15DD7
triadic
#645DD7 #D7645D #5DD764
tetradic
#645DD7 #D75D93 #D0D75D #5DD7A1
square
#645DD7 #D75D93 #D0D75D #5DD7A1
split-complementary
#645DD7 #D7A15D #93D75D
monochromatic
#2B2595 #3931C6 #645DD7 #938EE3 #C2BFEF

Accessibility & contrast

On white

5.14
#645DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#645DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DD7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DD7#FFFFFF#000000##FFFFFF
##645DD71.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#0069D4
Tritanopia (blue-blind)
#307991
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #645dd7;
/* rgb */ color: rgb(100, 93, 215);
/* oklch */ color: oklch(55.1% 0.181 281.2);
Tailwind
colors: {
  custom: {
    50: '#998be4',
    500: '#645dd7',
    950: '#000000',
  },
}
SCSS
$custom: #645dd7;
$custom-light: #998be4;
$custom-dark: #000000;
JSON
{
  "hex": "#645dd7",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 215
  },
  "hsl": {
    "h": 243.443,
    "s": 60.396,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55118,
    "c": 0.18123,
    "h": 281.2
  },
  "luminance": 0.15444
}

Semantic roles & 50–950 ramp

primary
#645DD7
secondary
#DDDFB1
accent
#C81DBE
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #645DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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