#645AF0#645AF0

#645AF0 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.5% C 0.217 H 279.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#645AF0
RGBrgb(100, 90, 240)
HSLhsl(244, 83%, 65%)
HSVhsv(244, 63%, 94%)
CMYKcmyk(58.3%, 62.5%, 0%, 5.9%)
CIE-LABlab(47.38, 45.60, -74.35)
CIE-LCHlch(47.38, 87.22, 301.52°)
OKLaboklab(56.53% 0.0372 -0.2139)
OKLCHoklch(56.53% 0.217 279.9)
XYZxyz(24.6349, 16.3112, 84.2714)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645AF0 #E6F05A
analogous
#5A9BF0 #645AF0 #AF5AF0
triadic
#645AF0 #F0645A #5AF064
tetradic
#645AF0 #F05A9B #E6F05A #5AF0AF
square
#645AF0 #F05A9B #E6F05A #5AF0AF
split-complementary
#645AF0 #F0AF5A #9BF05A
monochromatic
#1D11BE #2F22EB #645AF0 #9992F5 #CDCAFA

Accessibility & contrast

On white

4.93
#645AF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#645AF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645AF0
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645AF0#FFFFFF#000000##FFFFFF
##645AF01.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F5
Deuteranopia (green-blind)
#006BED
Tritanopia (blue-blind)
#007F9D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #645af0;
/* rgb */ color: rgb(100, 90, 240);
/* oklch */ color: oklch(56.5% 0.217 279.9);
Tailwind
colors: {
  custom: {
    50: '#9d89f6',
    500: '#645af0',
    950: '#000000',
  },
}
SCSS
$custom: #645af0;
$custom-light: #9d89f6;
$custom-dark: #000000;
JSON
{
  "hex": "#645af0",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 240
  },
  "hsl": {
    "h": 244,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.56534,
    "c": 0.21709,
    "h": 279.9
  },
  "luminance": 0.16313
}

Semantic roles & 50–950 ramp

primary
#645AF0
secondary
#E9EDB9
accent
#E006D1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #645AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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