#645CAA#645CAA

#645CAA is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.9% C 0.120 H 286.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#645CAA
RGBrgb(100, 92, 170)
HSLhsl(246, 31%, 51%)
HSVhsv(246, 46%, 67%)
CMYKcmyk(41.2%, 45.9%, 0%, 33.3%)
CIE-LABlab(43.16, 23.00, -40.91)
CIE-LCHlch(43.16, 46.93, 299.34°)
OKLaboklab(51.91% 0.0334 -0.1156)
OKLCHoklch(51.91% 0.12 286.1)
XYZxyz(16.3363, 13.2653, 39.7221)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CAA #A2AA5C
analogous
#5C7BAA #645CAA #8B5CAA
triadic
#645CAA #AA645C #5CAA64
tetradic
#645CAA #AA5C7B #A2AA5C #5CAA8B
square
#645CAA #AA5C7B #A2AA5C #5CAA8B
split-complementary
#645CAA #AA8B5C #7BAA5C
monochromatic
#34305C #4B4584 #645CAA #8A84BF #B1ACD4

Accessibility & contrast

On white

5.75
#645CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#645CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CAA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CAA#FFFFFF#000000##FFFFFF
##645CAA1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AD
Deuteranopia (green-blind)
#3D64A8
Tritanopia (blue-blind)
#506C7B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #645caa;
/* rgb */ color: rgb(100, 92, 170);
/* oklch */ color: oklch(51.9% 0.120 286.1);
Tailwind
colors: {
  custom: {
    50: '#948ac4',
    500: '#645caa',
    950: '#000000',
  },
}
SCSS
$custom: #645caa;
$custom-light: #948ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#645caa",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 170
  },
  "hsl": {
    "h": 246.154,
    "s": 31.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5191,
    "c": 0.12032,
    "h": 286.1
  },
  "luminance": 0.13266
}

Semantic roles & 50–950 ramp

primary
#645CAA
secondary
#BFC2A0
accent
#C860BD
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #645CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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