#645BBF#645BBF

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

Color values

HEX#645BBF
RGBrgb(100, 91, 191)
HSLhsl(245, 44%, 55%)
HSVhsv(245, 52%, 75%)
CMYKcmyk(47.6%, 52.4%, 0%, 25.1%)
CIE-LABlab(44.16, 29.90, -51.59)
CIE-LCHlch(44.16, 59.63, 300.10°)
OKLaboklab(53.07% 0.0368 -0.147)
OKLCHoklch(53.07% 0.152 284)
XYZxyz(18.3978, 13.9522, 51.0038)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BBF #B6BF5B
analogous
#5B84BF #645BBF #965BBF
triadic
#645BBF #BF645B #5BBF64
tetradic
#645BBF #BF5B84 #B6BF5B #5BBF96
square
#645BBF #BF5B84 #B6BF5B #5BBF96
split-complementary
#645BBF #BF965B #84BF5B
monochromatic
#332D73 #473E9F #645BBF #8E87D0 #B7B3E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645BBF#FFFFFF#000000##FFFFFF
##645BBF1.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)
#2A6CC2
Deuteranopia (green-blind)
#2565BD
Tritanopia (blue-blind)
#457184
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #645bbf;
/* rgb */ color: rgb(100, 91, 191);
/* oklch */ color: oklch(53.1% 0.151 284.0);
Tailwind
colors: {
  custom: {
    50: '#9689d3',
    500: '#645bbf',
    950: '#000000',
  },
}
SCSS
$custom: #645bbf;
$custom-light: #9689d3;
$custom-dark: #000000;
JSON
{
  "hex": "#645bbf",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 245.4,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5307,
    "c": 0.1515,
    "h": 284
  },
  "luminance": 0.13953
}

Semantic roles & 50–950 ramp

primary
#645BBF
secondary
#CCD0A6
accent
#D454C8
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #645BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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