#645BEC#645BEC

#645BEC is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.4% C 0.211 H 280.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#645BEC
RGBrgb(100, 91, 236)
HSLhsl(244, 79%, 64%)
HSVhsv(244, 61%, 93%)
CMYKcmyk(57.6%, 61.4%, 0%, 7.5%)
CIE-LABlab(47.30, 43.78, -72.24)
CIE-LCHlch(47.30, 84.47, 301.22°)
OKLaboklab(56.38% 0.0366 -0.2077)
OKLCHoklch(56.38% 0.211 280)
XYZxyz(24.1322, 16.2460, 81.2047)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BEC #E3EC5B
analogous
#5B9BEC #645BEC #AD5BEC
triadic
#645BEC #EC645B #5BEC64
tetradic
#645BEC #EC5B9B #E3EC5B #5BECAD
square
#645BEC #EC5B9B #E3EC5B #5BECAD
split-complementary
#645BEC #ECAD5B #9BEC5B
monochromatic
#1F15B7 #3024E6 #645BEC #9892F2 #CCC9F9

Accessibility & contrast

On white

4.94
#645BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#645BEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BEC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BEC#FFFFFF#000000##FFFFFF
##645BEC1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#006BE9
Tritanopia (blue-blind)
#077F9B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #645bec;
/* rgb */ color: rgb(100, 91, 236);
/* oklch */ color: oklch(56.4% 0.211 280.0);
Tailwind
colors: {
  custom: {
    50: '#9c8af3',
    500: '#645bec',
    950: '#000000',
  },
}
SCSS
$custom: #645bec;
$custom-light: #9c8af3;
$custom-dark: #000000;
JSON
{
  "hex": "#645bec",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 243.724,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56377,
    "c": 0.21088,
    "h": 280
  },
  "luminance": 0.16248
}

Semantic roles & 50–950 ramp

primary
#645BEC
secondary
#E8EBB8
accent
#DC0ACF
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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