#645CEA#645CEA

#645CEA is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.4% C 0.207 H 279.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#645CEA
RGBrgb(100, 92, 234)
HSLhsl(243, 77%, 64%)
HSVhsv(243, 61%, 92%)
CMYKcmyk(57.3%, 60.7%, 0%, 8.2%)
CIE-LABlab(47.37, 42.58, -71.00)
CIE-LCHlch(47.37, 82.79, 300.95°)
OKLaboklab(56.38% 0.0358 -0.204)
OKLCHoklch(56.38% 0.207 279.9)
XYZxyz(23.9293, 16.3025, 79.7117)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CEA #E2EA5C
analogous
#5C9BEA #645CEA #AB5CEA
triadic
#645CEA #EA645C #5CEA64
tetradic
#645CEA #EA5C9B #E2EA5C #5CEAAB
square
#645CEA #EA5C9B #E2EA5C #5CEAAB
split-complementary
#645CEA #EAAB5C #9BEA5C
monochromatic
#2017B4 #3026E3 #645CEA #9892F1 #CBC8F8

Accessibility & contrast

On white

4.93
#645CEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#645CEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CEA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CEA#FFFFFF#000000##FFFFFF
##645CEA1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#006BE7
Tritanopia (blue-blind)
#0F7F9A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #645cea;
/* rgb */ color: rgb(100, 92, 234);
/* oklch */ color: oklch(56.4% 0.207 279.9);
Tailwind
colors: {
  custom: {
    50: '#9c8bf2',
    500: '#645cea',
    950: '#000000',
  },
}
SCSS
$custom: #645cea;
$custom-light: #9c8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#645cea",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 243.38,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56384,
    "c": 0.20713,
    "h": 279.9
  },
  "luminance": 0.16304
}

Semantic roles & 50–950 ramp

primary
#645CEA
secondary
#E7EAB8
accent
#D90CCE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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