#645ABD#645ABD

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

Color values

HEX#645ABD
RGBrgb(100, 90, 189)
HSLhsl(246, 43%, 55%)
HSVhsv(246, 52%, 74%)
CMYKcmyk(47.1%, 52.4%, 0%, 25.9%)
CIE-LABlab(43.79, 29.91, -51.03)
CIE-LCHlch(43.79, 59.15, 300.37°)
OKLaboklab(52.75% 0.0378 -0.1453)
OKLCHoklch(52.75% 0.15 284.6)
XYZxyz(18.0943, 13.6949, 49.8242)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645ABD #B3BD5A
analogous
#5A81BD #645ABD #965ABD
triadic
#645ABD #BD645A #5ABD64
tetradic
#645ABD #BD5A81 #B3BD5A #5ABD96
square
#645ABD #BD5A81 #B3BD5A #5ABD96
split-complementary
#645ABD #BD965A #81BD5A
monochromatic
#342D70 #483E9C #645ABD #8D86CE #B6B1E0

Accessibility & contrast

On white

5.62
#645ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#645ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645ABD
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645ABD#FFFFFF#000000##FFFFFF
##645ABD1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6AC0
Deuteranopia (green-blind)
#2564BB
Tritanopia (blue-blind)
#466F83
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #645abd;
/* rgb */ color: rgb(100, 90, 189);
/* oklch */ color: oklch(52.8% 0.150 284.6);
Tailwind
colors: {
  custom: {
    50: '#9689d1',
    500: '#645abd',
    950: '#000000',
  },
}
SCSS
$custom: #645abd;
$custom-light: #9689d1;
$custom-dark: #000000;
JSON
{
  "hex": "#645abd",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 189
  },
  "hsl": {
    "h": 246.061,
    "s": 42.857,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52752,
    "c": 0.15015,
    "h": 284.6
  },
  "luminance": 0.13696
}

Semantic roles & 50–950 ramp

primary
#645ABD
secondary
#CACEA5
accent
#D355C6
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #645ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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