#645FBE#645FBE

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

Color values

HEX#645FBE
RGBrgb(100, 95, 190)
HSLhsl(243, 42%, 56%)
HSVhsv(243, 50%, 75%)
CMYKcmyk(47.4%, 50%, 0%, 25.5%)
CIE-LABlab(45.10, 27.15, -49.52)
CIE-LCHlch(45.10, 56.47, 298.73°)
OKLaboklab(53.75% 0.0319 -0.1408)
OKLCHoklch(53.75% 0.144 282.8)
XYZxyz(18.6392, 14.6105, 50.5432)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FBE #B9BE5F
analogous
#5F89BE #645FBE #935FBE
triadic
#645FBE #BE645F #5FBE64
tetradic
#645FBE #BE5F89 #B9BE5F #5FBE93
square
#645FBE #BE5F89 #B9BE5F #5FBE93
split-complementary
#645FBE #BE935F #89BE5F
monochromatic
#332F74 #46419F #645FBE #8E8BD0 #B8B6E1

Accessibility & contrast

On white

5.35
#645FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#645FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FBE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FBE#FFFFFF#000000##FFFFFF
##645FBE1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346EC1
Deuteranopia (green-blind)
#2F68BC
Tritanopia (blue-blind)
#457385
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #645fbe;
/* rgb */ color: rgb(100, 95, 190);
/* oklch */ color: oklch(53.7% 0.144 282.8);
Tailwind
colors: {
  custom: {
    50: '#968cd2',
    500: '#645fbe',
    950: '#000000',
  },
}
SCSS
$custom: #645fbe;
$custom-light: #968cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#645fbe",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 243.158,
    "s": 42.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53749,
    "c": 0.14442,
    "h": 282.8
  },
  "luminance": 0.14611
}

Semantic roles & 50–950 ramp

primary
#645FBE
secondary
#CED0A9
accent
#D256CB
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83

Preview Lab

Preview with #645FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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