#645BF1#645BF1

#645BF1 is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.8% C 0.217 H 279.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#645BF1
RGBrgb(100, 91, 241)
HSLhsl(244, 84%, 65%)
HSVhsv(244, 62%, 95%)
CMYKcmyk(58.5%, 62.2%, 0%, 5.5%)
CIE-LABlab(47.68, 45.33, -74.43)
CIE-LCHlch(47.68, 87.15, 301.34°)
OKLaboklab(56.77% 0.0362 -0.2141)
OKLCHoklch(56.77% 0.217 279.6)
XYZxyz(24.8688, 16.5406, 85.0842)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BF1 #E8F15B
analogous
#5B9DF1 #645BF1 #AF5BF1
triadic
#645BF1 #F1645B #5BF164
tetradic
#645BF1 #F15B9D #E8F15B #5BF1AF
square
#645BF1 #F15B9D #E8F15B #5BF1AF
split-complementary
#645BF1 #F1AF5B #9DF15B
monochromatic
#1B10C1 #2F23EC #645BF1 #9993F6 #CFCCFB

Accessibility & contrast

On white

4.87
#645BF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#645BF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BF1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BF1#FFFFFF#000000##FFFFFF
##645BF11.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F6
Deuteranopia (green-blind)
#006BEE
Tritanopia (blue-blind)
#00809E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #645bf1;
/* rgb */ color: rgb(100, 91, 241);
/* oklch */ color: oklch(56.8% 0.217 279.6);
Tailwind
colors: {
  custom: {
    50: '#9d8af7',
    500: '#645bf1',
    950: '#000000',
  },
}
SCSS
$custom: #645bf1;
$custom-light: #9d8af7;
$custom-dark: #000000;
JSON
{
  "hex": "#645bf1",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 241
  },
  "hsl": {
    "h": 243.6,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.56774,
    "c": 0.21715,
    "h": 279.6
  },
  "luminance": 0.16542
}

Semantic roles & 50–950 ramp

primary
#645BF1
secondary
#EAEDBA
accent
#E105D4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #645BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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