#645BED#645BED

#645BED is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.5% C 0.212 H 279.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#645BED
RGBrgb(100, 91, 237)
HSLhsl(244, 80%, 64%)
HSVhsv(244, 62%, 93%)
CMYKcmyk(57.8%, 61.6%, 0%, 7.1%)
CIE-LABlab(47.37, 44.09, -72.68)
CIE-LCHlch(47.37, 85.01, 301.24°)
OKLaboklab(56.46% 0.0365 -0.209)
OKLCHoklch(56.46% 0.212 279.9)
XYZxyz(24.2779, 16.3042, 81.9720)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BED #E4ED5B
analogous
#5B9BED #645BED #AD5BED
triadic
#645BED #ED645B #5BED64
tetradic
#645BED #ED5B9B #E4ED5B #5BEDAD
square
#645BED #ED5B9B #E4ED5B #5BEDAD
split-complementary
#645BED #EDAD5B #9BED5B
monochromatic
#1F14B9 #3024E7 #645BED #9892F3 #CCC9F9

Accessibility & contrast

On white

4.93
#645BED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#645BED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BED
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BED#FFFFFF#000000##FFFFFF
##645BED1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#006BEA
Tritanopia (blue-blind)
#027F9C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #645bed;
/* rgb */ color: rgb(100, 91, 237);
/* oklch */ color: oklch(56.5% 0.212 279.9);
Tailwind
colors: {
  custom: {
    50: '#9c8af4',
    500: '#645bed',
    950: '#000000',
  },
}
SCSS
$custom: #645bed;
$custom-light: #9c8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#645bed",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 243.699,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56456,
    "c": 0.21214,
    "h": 279.9
  },
  "luminance": 0.16306
}

Semantic roles & 50–950 ramp

primary
#645BED
secondary
#E8EBB9
accent
#DD09D0
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645BED

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

Preview Lab → · Contrast checker → · Palette generator →

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