#645CEE#645CEE

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

Color values

HEX#645CEE
RGBrgb(100, 92, 238)
HSLhsl(243, 81%, 65%)
HSVhsv(243, 61%, 93%)
CMYKcmyk(58%, 61.3%, 0%, 6.7%)
CIE-LABlab(47.67, 43.82, -72.76)
CIE-LCHlch(47.67, 84.94, 301.06°)
OKLaboklab(56.7% 0.0356 -0.2092)
OKLCHoklch(56.7% 0.212 279.6)
XYZxyz(24.5104, 16.5349, 82.7723)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CEE #E6EE5C
analogous
#5C9DEE #645CEE #AD5CEE
triadic
#645CEE #EE645C #5CEE64
tetradic
#645CEE #EE5C9D #E6EE5C #5CEEAD
square
#645CEE #EE5C9D #E6EE5C #5CEEAD
split-complementary
#645CEE #EEAD5C #9DEE5C
monochromatic
#1D14BC #2F25E8 #645CEE #9993F4 #CDCBFA

Accessibility & contrast

On white

4.88
#645CEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #645CEE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CEE#FFFFFF#000000##FFFFFF
##645CEE1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F3
Deuteranopia (green-blind)
#006BEB
Tritanopia (blue-blind)
#00809C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #645cee;
/* rgb */ color: rgb(100, 92, 238);
/* oklch */ color: oklch(56.7% 0.212 279.6);
Tailwind
colors: {
  custom: {
    50: '#9d8bf5',
    500: '#645cee',
    950: '#000000',
  },
}
SCSS
$custom: #645cee;
$custom-light: #9d8bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#645cee",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 243.288,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.56697,
    "c": 0.2122,
    "h": 279.6
  },
  "luminance": 0.16537
}

Semantic roles & 50–950 ramp

primary
#645CEE
secondary
#E9ECBA
accent
#DD08D2
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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