#645BC8#645BC8

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

Color values

HEX#645BC8
RGBrgb(100, 91, 200)
HSLhsl(245, 50%, 57%)
HSVhsv(245, 55%, 78%)
CMYKcmyk(50%, 54.5%, 0%, 21.6%)
CIE-LABlab(44.75, 32.65, -55.87)
CIE-LCHlch(44.75, 64.71, 300.30°)
OKLaboklab(53.69% 0.0372 -0.1595)
OKLCHoklch(53.69% 0.164 283.1)
XYZxyz(19.4188, 14.3606, 56.3810)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BC8 #BFC85B
analogous
#5B89C8 #645BC8 #9B5BC8
triadic
#645BC8 #C8645B #5BC864
tetradic
#645BC8 #C85B89 #BFC85B #5BC89B
square
#645BC8 #C85B89 #BFC85B #5BC89B
split-complementary
#645BC8 #C89B5B #89C85B
monochromatic
#312A7E #433AAC #645BC8 #8F89D7 #BBB7E7

Accessibility & contrast

On white

5.42
#645BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#645BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BC8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BC8#FFFFFF#000000##FFFFFF
##645BC81.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6DCC
Deuteranopia (green-blind)
#1066C6
Tritanopia (blue-blind)
#3E7389
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #645bc8;
/* rgb */ color: rgb(100, 91, 200);
/* oklch */ color: oklch(53.7% 0.164 283.1);
Tailwind
colors: {
  custom: {
    50: '#9789d9',
    500: '#645bc8',
    950: '#000000',
  },
}
SCSS
$custom: #645bc8;
$custom-light: #9789d9;
$custom-dark: #000000;
JSON
{
  "hex": "#645bc8",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 200
  },
  "hsl": {
    "h": 244.954,
    "s": 49.772,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5369,
    "c": 0.16382,
    "h": 283.1
  },
  "luminance": 0.14362
}

Semantic roles & 50–950 ramp

primary
#645BC8
secondary
#D2D6A9
accent
#D94FCE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #645BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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