#645AE5#645AE5

#645AE5 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.7% C 0.203 H 280.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#645AE5
RGBrgb(100, 90, 229)
HSLhsl(244, 73%, 63%)
HSVhsv(244, 61%, 90%)
CMYKcmyk(56.3%, 60.7%, 0%, 10.2%)
CIE-LABlab(46.55, 42.20, -69.51)
CIE-LCHlch(46.55, 81.32, 301.26°)
OKLaboklab(55.67% 0.0379 -0.1997)
OKLCHoklch(55.67% 0.203 280.7)
XYZxyz(23.0501, 15.6773, 75.9249)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645AE5 #DBE55A
analogous
#5A95E5 #645AE5 #AA5AE5
triadic
#645AE5 #E5645A #5AE564
tetradic
#645AE5 #E55A95 #DBE55A #5AE5AA
square
#645AE5 #E55A95 #DBE55A #5AE5AA
split-complementary
#645AE5 #E5AA5A #95E55A
monochromatic
#251BAA #3225DD #645AE5 #968FED #C7C4F6

Accessibility & contrast

On white

5.08
#645AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#645AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645AE5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645AE5#FFFFFF#000000##FFFFFF
##645AE51.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#0069E2
Tritanopia (blue-blind)
#1D7C97
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #645ae5;
/* rgb */ color: rgb(100, 90, 229);
/* oklch */ color: oklch(55.7% 0.203 280.7);
Tailwind
colors: {
  custom: {
    50: '#9b89ee',
    500: '#645ae5',
    950: '#000000',
  },
}
SCSS
$custom: #645ae5;
$custom-light: #9b89ee;
$custom-dark: #000000;
JSON
{
  "hex": "#645ae5",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 244.317,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55665,
    "c": 0.20323,
    "h": 280.7
  },
  "luminance": 0.15679
}

Semantic roles & 50–950 ramp

primary
#645AE5
secondary
#E3E7B4
accent
#D511C7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #645AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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