#645CBB#645CBB

#645CBB is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.0% C 0.145 H 284.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#645CBB
RGBrgb(100, 92, 187)
HSLhsl(245, 41%, 55%)
HSVhsv(245, 51%, 73%)
CMYKcmyk(46.5%, 50.8%, 0%, 26.7%)
CIE-LABlab(44.16, 28.08, -49.27)
CIE-LCHlch(44.16, 56.71, 299.68°)
OKLaboklab(52.99% 0.0353 -0.1401)
OKLCHoklch(52.99% 0.145 284.1)
XYZxyz(18.0497, 13.9506, 48.7458)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CBB #B3BB5C
analogous
#5C83BB #645CBB #945CBB
triadic
#645CBB #BB645C #5CBB64
tetradic
#645CBB #BB5C83 #B3BB5C #5CBB94
square
#645CBB #BB5C83 #B3BB5C #5CBB94
split-complementary
#645CBB #BB945C #83BB5C
monochromatic
#342E6F #48409A #645CBB #8D87CD #B6B2DF

Accessibility & contrast

On white

5.54
#645CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#645CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CBB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CBB#FFFFFF#000000##FFFFFF
##645CBB1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316BBE
Deuteranopia (green-blind)
#2C65B9
Tritanopia (blue-blind)
#477083
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #645cbb;
/* rgb */ color: rgb(100, 92, 187);
/* oklch */ color: oklch(53.0% 0.145 284.1);
Tailwind
colors: {
  custom: {
    50: '#958ad0',
    500: '#645cbb',
    950: '#000000',
  },
}
SCSS
$custom: #645cbb;
$custom-light: #958ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#645cbb",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 245.053,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52988,
    "c": 0.14451,
    "h": 284.1
  },
  "luminance": 0.13951
}

Semantic roles & 50–950 ramp

primary
#645CBB
secondary
#CACDA5
accent
#D157C7
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #645CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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