#645EEB#645EEB

#645EEB is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.8% C 0.206 H 279.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#645EEB
RGBrgb(100, 94, 235)
HSLhsl(243, 78%, 65%)
HSVhsv(243, 60%, 92%)
CMYKcmyk(57.4%, 60%, 0%, 7.8%)
CIE-LABlab(47.89, 41.71, -70.71)
CIE-LCHlch(47.89, 82.09, 300.54°)
OKLaboklab(56.79% 0.0339 -0.2032)
OKLCHoklch(56.79% 0.206 279.5)
XYZxyz(24.2489, 16.7112, 80.5289)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EEB #E5EB5E
analogous
#5E9FEB #645EEB #AB5EEB
triadic
#645EEB #EB645E #5EEB64
tetradic
#645EEB #EB5E9F #E5EB5E #5EEBAB
square
#645EEB #EB5E9F #E5EB5E #5EEBAB
split-complementary
#645EEB #EBAB5E #9FEB5E
monochromatic
#1E17B8 #3028E4 #645EEB #9894F2 #CDCBF9

Accessibility & contrast

On white

4.84
#645EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#645EEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645EEB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EEB#FFFFFF#000000##FFFFFF
##645EEB1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#006CE8
Tritanopia (blue-blind)
#0A809C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #645eeb;
/* rgb */ color: rgb(100, 94, 235);
/* oklch */ color: oklch(56.8% 0.206 279.5);
Tailwind
colors: {
  custom: {
    50: '#9c8cf2',
    500: '#645eeb',
    950: '#000000',
  },
}
SCSS
$custom: #645eeb;
$custom-light: #9c8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#645eeb",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 242.553,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56793,
    "c": 0.20597,
    "h": 279.5
  },
  "luminance": 0.16713
}

Semantic roles & 50–950 ramp

primary
#645EEB
secondary
#E9EBBA
accent
#DA0BD1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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