#645BE9#645BE9

#645BE9 is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.1% C 0.207 H 280.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#645BE9
RGBrgb(100, 91, 233)
HSLhsl(244, 76%, 64%)
HSVhsv(244, 61%, 91%)
CMYKcmyk(57.1%, 60.9%, 0%, 8.6%)
CIE-LABlab(47.07, 42.85, -70.92)
CIE-LCHlch(47.07, 82.86, 301.14°)
OKLaboklab(56.14% 0.0367 -0.2038)
OKLCHoklch(56.14% 0.207 280.2)
XYZxyz(23.7000, 16.0731, 78.9285)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BE9 #E0E95B
analogous
#5B99E9 #645BE9 #AB5BE9
triadic
#645BE9 #E9645B #5BE964
tetradic
#645BE9 #E95B99 #E0E95B #5BE9AB
square
#645BE9 #E95B99 #E0E95B #5BE9AB
split-complementary
#645BE9 #E9AB5B #99E95B
monochromatic
#2218B2 #3125E2 #645BE9 #9791F0 #CAC7F7

Accessibility & contrast

On white

4.98
#645BE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#645BE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BE9
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BE9#FFFFFF#000000##FFFFFF
##645BE91.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EE
Deuteranopia (green-blind)
#006AE6
Tritanopia (blue-blind)
#137E99
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #645be9;
/* rgb */ color: rgb(100, 91, 233);
/* oklch */ color: oklch(56.1% 0.207 280.2);
Tailwind
colors: {
  custom: {
    50: '#9c8af1',
    500: '#645be9',
    950: '#000000',
  },
}
SCSS
$custom: #645be9;
$custom-light: #9c8af1;
$custom-dark: #000000;
JSON
{
  "hex": "#645be9",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 233
  },
  "hsl": {
    "h": 243.803,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56141,
    "c": 0.20709,
    "h": 280.2
  },
  "luminance": 0.16075
}

Semantic roles & 50–950 ramp

primary
#645BE9
secondary
#E6E9B7
accent
#D90DCC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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