#645CE5#645CE5

#645CE5 is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.0% C 0.201 H 280.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#645CE5
RGBrgb(100, 92, 229)
HSLhsl(244, 72%, 63%)
HSVhsv(244, 60%, 90%)
CMYKcmyk(56.3%, 59.8%, 0%, 10.2%)
CIE-LABlab(47.00, 41.02, -68.78)
CIE-LCHlch(47.00, 80.08, 300.81°)
OKLaboklab(56% 0.036 -0.1975)
OKLCHoklch(56% 0.201 280.3)
XYZxyz(23.2211, 16.0192, 75.9819)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CE5 #DDE55C
analogous
#5C98E5 #645CE5 #A95CE5
triadic
#645CE5 #E5645C #5CE564
tetradic
#645CE5 #E55C98 #DDE55C #5CE5A9
square
#645CE5 #E55C98 #DDE55C #5CE5A9
split-complementary
#645CE5 #E5A95C #98E55C
monochromatic
#241BAB #3227DD #645CE5 #9691ED #C8C6F6

Accessibility & contrast

On white

5.00
#645CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#645CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CE5
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CE5#FFFFFF#000000##FFFFFF
##645CE51.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#1C7D98
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #645ce5;
/* rgb */ color: rgb(100, 92, 229);
/* oklch */ color: oklch(56.0% 0.201 280.3);
Tailwind
colors: {
  custom: {
    50: '#9b8aee',
    500: '#645ce5',
    950: '#000000',
  },
}
SCSS
$custom: #645ce5;
$custom-light: #9b8aee;
$custom-dark: #000000;
JSON
{
  "hex": "#645ce5",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 243.504,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55997,
    "c": 0.20075,
    "h": 280.3
  },
  "luminance": 0.16021
}

Semantic roles & 50–950 ramp

primary
#645CE5
secondary
#E4E7B6
accent
#D511C9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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