#645EE9#645EE9

#645EE9 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.6% C 0.203 H 279.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#645EE9
RGBrgb(100, 94, 233)
HSLhsl(243, 76%, 64%)
HSVhsv(243, 60%, 91%)
CMYKcmyk(57.1%, 59.7%, 0%, 8.6%)
CIE-LABlab(47.75, 41.09, -69.82)
CIE-LCHlch(47.75, 81.01, 300.48°)
OKLaboklab(56.64% 0.034 -0.2005)
OKLCHoklch(56.64% 0.203 279.6)
XYZxyz(23.9616, 16.5963, 79.0157)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EE9 #E3E95E
analogous
#5E9EE9 #645EE9 #AA5EE9
triadic
#645EE9 #E9645E #5EE964
tetradic
#645EE9 #E95E9E #E3E95E #5EE9AA
square
#645EE9 #E95E9E #E3E95E #5EE9AA
split-complementary
#645EE9 #E9AA5E #9EE95E
monochromatic
#1F19B4 #3028E2 #645EE9 #9894F0 #CCCAF8

Accessibility & contrast

On white

4.86
#645EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#645EE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645EE9
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EE9#FFFFFF#000000##FFFFFF
##645EE91.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EE
Deuteranopia (green-blind)
#006CE6
Tritanopia (blue-blind)
#11809B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #645ee9;
/* rgb */ color: rgb(100, 94, 233);
/* oklch */ color: oklch(56.6% 0.203 279.6);
Tailwind
colors: {
  custom: {
    50: '#9c8cf1',
    500: '#645ee9',
    950: '#000000',
  },
}
SCSS
$custom: #645ee9;
$custom-light: #9c8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#645ee9",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 233
  },
  "hsl": {
    "h": 242.59,
    "s": 75.956,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56639,
    "c": 0.20341,
    "h": 279.6
  },
  "luminance": 0.16598
}

Semantic roles & 50–950 ramp

primary
#645EE9
secondary
#E8EAB9
accent
#D80DCF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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