#645AEE#645AEE

#645AEE is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.4% C 0.215 H 280.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#645AEE
RGBrgb(100, 90, 238)
HSLhsl(244, 81%, 64%)
HSVhsv(244, 62%, 93%)
CMYKcmyk(58%, 62.2%, 0%, 6.7%)
CIE-LABlab(47.23, 44.98, -73.48)
CIE-LCHlch(47.23, 86.15, 301.48°)
OKLaboklab(56.37% 0.0373 -0.2113)
OKLCHoklch(56.37% 0.215 280)
XYZxyz(24.3394, 16.1930, 82.7153)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645AEE #E4EE5A
analogous
#5A9AEE #645AEE #AE5AEE
triadic
#645AEE #EE645A #5AEE64
tetradic
#645AEE #EE5A9A #E4EE5A #5AEEAE
square
#645AEE #EE5A9A #E4EE5A #5AEEAE
split-complementary
#645AEE #EEAE5A #9AEE5A
monochromatic
#1F13BA #3023E8 #645AEE #9891F4 #CCC9F9

Accessibility & contrast

On white

4.95
#645AEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#645AEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645AEE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645AEE#FFFFFF#000000##FFFFFF
##645AEE1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#006AEB
Tritanopia (blue-blind)
#007F9C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #645aee;
/* rgb */ color: rgb(100, 90, 238);
/* oklch */ color: oklch(56.4% 0.215 280.0);
Tailwind
colors: {
  custom: {
    50: '#9d89f5',
    500: '#645aee',
    950: '#000000',
  },
}
SCSS
$custom: #645aee;
$custom-light: #9d89f5;
$custom-dark: #000000;
JSON
{
  "hex": "#645aee",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 238
  },
  "hsl": {
    "h": 244.054,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56374,
    "c": 0.21459,
    "h": 280
  },
  "luminance": 0.16195
}

Semantic roles & 50–950 ramp

primary
#645AEE
secondary
#E8ECB8
accent
#DE08CF
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #645AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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