#645EE5#645EE5

#645EE5 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.3% C 0.198 H 279.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#645EE5
RGBrgb(100, 94, 229)
HSLhsl(243, 72%, 63%)
HSVhsv(243, 59%, 90%)
CMYKcmyk(56.3%, 59%, 0%, 10.2%)
CIE-LABlab(47.46, 39.84, -68.03)
CIE-LCHlch(47.46, 78.84, 300.35°)
OKLaboklab(56.33% 0.0341 -0.1953)
OKLCHoklch(56.33% 0.198 279.9)
XYZxyz(23.3966, 16.3703, 76.0404)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EE5 #DFE55E
analogous
#5E9BE5 #645EE5 #A75EE5
triadic
#645EE5 #E5645E #5EE564
tetradic
#645EE5 #E55E9B #DFE55E #5EE5A7
square
#645EE5 #E55E9B #DFE55E #5EE5A7
split-complementary
#645EE5 #E5A75E #9BE55E
monochromatic
#221CAD #3129DC #645EE5 #9793EE #C9C7F6

Accessibility & contrast

On white

4.91
#645EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#645EE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645EE5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EE5#FFFFFF#000000##FFFFFF
##645EE51.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#006BE2
Tritanopia (blue-blind)
#1C7E98
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #645ee5;
/* rgb */ color: rgb(100, 94, 229);
/* oklch */ color: oklch(56.3% 0.198 279.9);
Tailwind
colors: {
  custom: {
    50: '#9b8cee',
    500: '#645ee5',
    950: '#000000',
  },
}
SCSS
$custom: #645ee5;
$custom-light: #9b8cee;
$custom-dark: #000000;
JSON
{
  "hex": "#645ee5",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 229
  },
  "hsl": {
    "h": 242.667,
    "s": 72.193,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56333,
    "c": 0.19826,
    "h": 279.9
  },
  "luminance": 0.16372
}

Semantic roles & 50–950 ramp

primary
#645EE5
secondary
#E5E7B7
accent
#D411CC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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