#645CBF#645CBF

#645CBF is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.3% C 0.150 H 283.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#645CBF
RGBrgb(100, 92, 191)
HSLhsl(245, 44%, 55%)
HSVhsv(245, 52%, 75%)
CMYKcmyk(47.6%, 51.8%, 0%, 25.1%)
CIE-LABlab(44.41, 29.29, -51.20)
CIE-LCHlch(44.41, 58.99, 299.77°)
OKLaboklab(53.26% 0.0356 -0.1458)
OKLCHoklch(53.26% 0.15 283.7)
XYZxyz(18.4839, 14.1243, 51.0324)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CBF #B7BF5C
analogous
#5C86BF #645CBF #955CBF
triadic
#645CBF #BF645C #5CBF64
tetradic
#645CBF #BF5C86 #B7BF5C #5CBF95
square
#645CBF #BF5C86 #B7BF5C #5CBF95
split-complementary
#645CBF #BF955C #86BF5C
monochromatic
#332D73 #463F9F #645CBF #8E88D0 #B8B4E2

Accessibility & contrast

On white

5.49
#645CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#645CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CBF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CBF#FFFFFF#000000##FFFFFF
##645CBF1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC2
Deuteranopia (green-blind)
#2766BD
Tritanopia (blue-blind)
#447185
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #645cbf;
/* rgb */ color: rgb(100, 92, 191);
/* oklch */ color: oklch(53.3% 0.150 283.7);
Tailwind
colors: {
  custom: {
    50: '#968ad3',
    500: '#645cbf',
    950: '#000000',
  },
}
SCSS
$custom: #645cbf;
$custom-light: #968ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#645cbf",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 191
  },
  "hsl": {
    "h": 244.848,
    "s": 43.612,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53255,
    "c": 0.15008,
    "h": 283.7
  },
  "luminance": 0.14125
}

Semantic roles & 50–950 ramp

primary
#645CBF
secondary
#CDD0A7
accent
#D354C9
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #645CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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