#645ABE#645ABE

#645ABE is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.8% C 0.152 H 284.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#645ABE
RGBrgb(100, 90, 190)
HSLhsl(246, 43%, 55%)
HSVhsv(246, 53%, 75%)
CMYKcmyk(47.4%, 52.6%, 0%, 25.5%)
CIE-LABlab(43.86, 30.21, -51.51)
CIE-LCHlch(43.86, 59.71, 300.39°)
OKLaboklab(52.82% 0.0379 -0.1467)
OKLCHoklch(52.82% 0.152 284.5)
XYZxyz(18.2032, 13.7385, 50.3979)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645ABE #B4BE5A
analogous
#5A82BE #645ABE #965ABE
triadic
#645ABE #BE645A #5ABE64
tetradic
#645ABE #BE5A82 #B4BE5A #5ABE96
square
#645ABE #BE5A82 #B4BE5A #5ABE96
split-complementary
#645ABE #BE965A #82BE5A
monochromatic
#332D71 #473E9D #645ABE #8D86CF #B6B2E1

Accessibility & contrast

On white

5.60
#645ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#645ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645ABE
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645ABE#FFFFFF#000000##FFFFFF
##645ABE1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286BC1
Deuteranopia (green-blind)
#2465BC
Tritanopia (blue-blind)
#457083
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #645abe;
/* rgb */ color: rgb(100, 90, 190);
/* oklch */ color: oklch(52.8% 0.152 284.5);
Tailwind
colors: {
  custom: {
    50: '#9689d2',
    500: '#645abe',
    950: '#000000',
  },
}
SCSS
$custom: #645abe;
$custom-light: #9689d2;
$custom-dark: #000000;
JSON
{
  "hex": "#645abe",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 246,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52819,
    "c": 0.15153,
    "h": 284.5
  },
  "luminance": 0.13739
}

Semantic roles & 50–950 ramp

primary
#645ABE
secondary
#CBCFA5
accent
#D355C7
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #645ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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