#645AE9#645AE9

#645AE9 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.0% C 0.208 H 280.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#645AE9
RGBrgb(100, 90, 233)
HSLhsl(244, 76%, 63%)
HSVhsv(244, 61%, 91%)
CMYKcmyk(57.1%, 61.4%, 0%, 8.6%)
CIE-LABlab(46.85, 43.44, -71.28)
CIE-LCHlch(46.85, 83.47, 301.36°)
OKLaboklab(55.98% 0.0376 -0.2049)
OKLCHoklch(55.98% 0.208 280.4)
XYZxyz(23.6151, 15.9032, 78.9002)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645AE9 #DFE95A
analogous
#5A97E9 #645AE9 #AB5AE9
triadic
#645AE9 #E9645A #5AE964
tetradic
#645AE9 #E95A97 #DFE95A #5AE9AB
square
#645AE9 #E95A97 #DFE95A #5AE9AB
split-complementary
#645AE9 #E9AB5A #97E95A
monochromatic
#2218B1 #3124E2 #645AE9 #9790F0 #C9C6F7

Accessibility & contrast

On white

5.02
#645AE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#645AE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645AE9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645AE9#FFFFFF#000000##FFFFFF
##645AE91.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EE
Deuteranopia (green-blind)
#006AE6
Tritanopia (blue-blind)
#137D99
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #645ae9;
/* rgb */ color: rgb(100, 90, 233);
/* oklch */ color: oklch(56.0% 0.208 280.4);
Tailwind
colors: {
  custom: {
    50: '#9c89f1',
    500: '#645ae9',
    950: '#000000',
  },
}
SCSS
$custom: #645ae9;
$custom-light: #9c89f1;
$custom-dark: #000000;
JSON
{
  "hex": "#645ae9",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 233
  },
  "hsl": {
    "h": 244.196,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55978,
    "c": 0.2083,
    "h": 280.4
  },
  "luminance": 0.15905
}

Semantic roles & 50–950 ramp

primary
#645AE9
secondary
#E5E9B6
accent
#D90DCA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #645AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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