#645DD5#645DD5

#645DD5 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 55.0% C 0.179 H 281.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#645DD5
RGBrgb(100, 93, 213)
HSLhsl(244, 59%, 60%)
HSVhsv(244, 56%, 84%)
CMYKcmyk(53.1%, 56.3%, 0%, 16.5%)
CIE-LABlab(46.10, 35.45, -61.15)
CIE-LCHlch(46.10, 70.68, 300.10°)
OKLaboklab(54.97% 0.0353 -0.1751)
OKLCHoklch(54.97% 0.179 281.4)
XYZxyz(21.1764, 15.3409, 64.7831)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DD5 #CED55D
analogous
#5D92D5 #645DD5 #A05DD5
triadic
#645DD5 #D5645D #5DD564
tetradic
#645DD5 #D55D92 #CED55D #5DD5A0
square
#645DD5 #D55D92 #CED55D #5DD5A0
split-complementary
#645DD5 #D5A05D #92D55D
monochromatic
#2C2692 #3B32C2 #645DD5 #928EE2 #C1BEEE

Accessibility & contrast

On white

5.16
#645DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#645DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DD5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DD5#FFFFFF#000000##FFFFFF
##645DD51.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#337990
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #645dd5;
/* rgb */ color: rgb(100, 93, 213);
/* oklch */ color: oklch(55.0% 0.179 281.4);
Tailwind
colors: {
  custom: {
    50: '#998be3',
    500: '#645dd5',
    950: '#000000',
  },
}
SCSS
$custom: #645dd5;
$custom-light: #998be3;
$custom-dark: #000000;
JSON
{
  "hex": "#645dd5",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 213
  },
  "hsl": {
    "h": 243.5,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.54972,
    "c": 0.17858,
    "h": 281.4
  },
  "luminance": 0.15342
}

Semantic roles & 50–950 ramp

primary
#645DD5
secondary
#DBDEB0
accent
#E246D9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0F0C15
muted
#7E7D84

Preview Lab

Preview with #645DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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