#645AF4#645AF4

#645AF4 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.9% C 0.222 H 279.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#645AF4
RGBrgb(100, 90, 244)
HSLhsl(244, 88%, 65%)
HSVhsv(244, 63%, 96%)
CMYKcmyk(59%, 63.1%, 0%, 4.3%)
CIE-LABlab(47.69, 46.84, -76.09)
CIE-LCHlch(47.69, 89.35, 301.62°)
OKLaboklab(56.86% 0.0368 -0.219)
OKLCHoklch(56.86% 0.222 279.5)
XYZxyz(25.2356, 16.5515, 87.4353)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645AF4 #EAF45A
analogous
#5A9DF4 #645AF4 #B15AF4
triadic
#645AF4 #F4645A #5AF464
tetradic
#645AF4 #F45A9D #EAF45A #5AF4B1
square
#645AF4 #F45A9D #EAF45A #5AF4B1
split-complementary
#645AF4 #F4B15A #9DF45A
monochromatic
#190DC6 #2E21F0 #645AF4 #9A93F8 #D0CDFC

Accessibility & contrast

On white

4.87
#645AF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#645AF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645AF4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645AF4#FFFFFF#000000##FFFFFF
##645AF41.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F9
Deuteranopia (green-blind)
#006BF1
Tritanopia (blue-blind)
#00819F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #645af4;
/* rgb */ color: rgb(100, 90, 244);
/* oklch */ color: oklch(56.9% 0.222 279.5);
Tailwind
colors: {
  custom: {
    50: '#9e89f9',
    500: '#645af4',
    950: '#000000',
  },
}
SCSS
$custom: #645af4;
$custom-light: #9e89f9;
$custom-dark: #000000;
JSON
{
  "hex": "#645af4",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 244
  },
  "hsl": {
    "h": 243.896,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.56856,
    "c": 0.22206,
    "h": 279.5
  },
  "luminance": 0.16553
}

Semantic roles & 50–950 ramp

primary
#645AF4
secondary
#EBEFBB
accent
#E401D5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #645AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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