#645AFF#645AFF

#645AFF is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.8% C 0.236 H 278.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#645AFF
RGBrgb(100, 90, 255)
HSLhsl(244, 100%, 68%)
HSVhsv(244, 65%, 100%)
CMYKcmyk(60.8%, 64.7%, 0%, 0%)
CIE-LABlab(48.56, 50.23, -80.80)
CIE-LCHlch(48.56, 95.14, 301.87°)
OKLaboklab(57.76% 0.0358 -0.2328)
OKLCHoklch(57.76% 0.236 278.7)
XYZxyz(26.9559, 17.2396, 96.4954)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645AFF #F5FF5A
analogous
#5AA3FF #645AFF #B65AFF
triadic
#645AFF #FF645A #5AFF64
tetradic
#645AFF #FF5AA3 #F5FF5A #5AFFB6
square
#645AFF #FF5AA3 #F5FF5A #5AFFB6
split-complementary
#645AFF #FFB65A #A3FF5A
monochromatic
#0D00DF #2B1DFF #645AFF #9D97FF #D7D4FF

Accessibility & contrast

On white

4.72
#645AFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#645AFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645AFF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645AFF#FFFFFF#000000##FFFFFF
##645AFF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#006DFC
Tritanopia (blue-blind)
#0085A5
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #645aff;
/* rgb */ color: rgb(100, 90, 255);
/* oklch */ color: oklch(57.8% 0.236 278.7);
Tailwind
colors: {
  custom: {
    50: '#9f8aff',
    500: '#645aff',
    950: '#000000',
  },
}
SCSS
$custom: #645aff;
$custom-light: #9f8aff;
$custom-dark: #000000;
JSON
{
  "hex": "#645aff",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 255
  },
  "hsl": {
    "h": 243.636,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.57759,
    "c": 0.23555,
    "h": 278.7
  },
  "luminance": 0.17242
}

Semantic roles & 50–950 ramp

primary
#645AFF
secondary
#F1F4C1
accent
#E600D8
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #645AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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