#645CBE#645CBE

#645CBE is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.2% C 0.149 H 283.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#645CBE
RGBrgb(100, 92, 190)
HSLhsl(245, 43%, 55%)
HSVhsv(245, 52%, 75%)
CMYKcmyk(47.4%, 51.6%, 0%, 25.5%)
CIE-LABlab(44.35, 28.99, -50.72)
CIE-LCHlch(44.35, 58.42, 299.75°)
OKLaboklab(53.19% 0.0355 -0.1444)
OKLCHoklch(53.19% 0.149 283.8)
XYZxyz(18.3742, 14.0805, 50.4549)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CBE #B6BE5C
analogous
#5C85BE #645CBE #955CBE
triadic
#645CBE #BE645C #5CBE64
tetradic
#645CBE #BE5C85 #B6BE5C #5CBE95
square
#645CBE #BE5C85 #B6BE5C #5CBE95
split-complementary
#645CBE #BE955C #85BE5C
monochromatic
#332E72 #473F9E #645CBE #8E88CF #B7B4E1

Accessibility & contrast

On white

5.50
#645CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #645CBE
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CBE#FFFFFF#000000##FFFFFF
##645CBE1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC1
Deuteranopia (green-blind)
#2866BC
Tritanopia (blue-blind)
#457184
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #645cbe;
/* rgb */ color: rgb(100, 92, 190);
/* oklch */ color: oklch(53.2% 0.149 283.8);
Tailwind
colors: {
  custom: {
    50: '#968ad2',
    500: '#645cbe',
    950: '#000000',
  },
}
SCSS
$custom: #645cbe;
$custom-light: #968ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#645cbe",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 190
  },
  "hsl": {
    "h": 244.898,
    "s": 42.982,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53188,
    "c": 0.14869,
    "h": 283.8
  },
  "luminance": 0.14081
}

Semantic roles & 50–950 ramp

primary
#645CBE
secondary
#CCCFA6
accent
#D355C8
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #645CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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