#645FBD#645FBD

#645FBD is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.7% C 0.143 H 282.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#645FBD
RGBrgb(100, 95, 189)
HSLhsl(243, 42%, 56%)
HSVhsv(243, 50%, 74%)
CMYKcmyk(47.1%, 49.7%, 0%, 25.9%)
CIE-LABlab(45.04, 26.84, -49.04)
CIE-LCHlch(45.04, 55.90, 298.70°)
OKLaboklab(53.68% 0.0318 -0.1394)
OKLCHoklch(53.68% 0.143 282.9)
XYZxyz(18.5303, 14.5670, 49.9696)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FBD #B8BD5F
analogous
#5F89BD #645FBD #935FBD
triadic
#645FBD #BD645F #5FBD64
tetradic
#645FBD #BD5F89 #B8BD5F #5FBD93
square
#645FBD #BD5F89 #B8BD5F #5FBD93
split-complementary
#645FBD #BD935F #89BD5F
monochromatic
#332F72 #46419E #645FBD #8E8ACF #B8B6E1

Accessibility & contrast

On white

5.37
#645FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#645FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FBD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FBD#FFFFFF#000000##FFFFFF
##645FBD1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356EC0
Deuteranopia (green-blind)
#3067BB
Tritanopia (blue-blind)
#457385
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #645fbd;
/* rgb */ color: rgb(100, 95, 189);
/* oklch */ color: oklch(53.7% 0.143 282.9);
Tailwind
colors: {
  custom: {
    50: '#968cd1',
    500: '#645fbd',
    950: '#000000',
  },
}
SCSS
$custom: #645fbd;
$custom-light: #968cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#645fbd",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 243.191,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53683,
    "c": 0.14301,
    "h": 282.9
  },
  "luminance": 0.14568
}

Semantic roles & 50–950 ramp

primary
#645FBD
secondary
#CDCFA8
accent
#D156CB
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #645FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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