#645BC3#645BC3

#645BC3 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.3% C 0.157 H 283.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#645BC3
RGBrgb(100, 91, 195)
HSLhsl(245, 46%, 56%)
HSVhsv(245, 53%, 76%)
CMYKcmyk(48.7%, 53.3%, 0%, 23.5%)
CIE-LABlab(44.42, 31.12, -53.50)
CIE-LCHlch(44.42, 61.90, 300.18°)
OKLaboklab(53.34% 0.037 -0.1526)
OKLCHoklch(53.34% 0.157 283.6)
XYZxyz(18.8440, 14.1307, 53.3538)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BC3 #BAC35B
analogous
#5B86C3 #645BC3 #985BC3
triadic
#645BC3 #C3645B #5BC364
tetradic
#645BC3 #C35B86 #BAC35B #5BC398
square
#645BC3 #C35B86 #BAC35B #5BC398
split-complementary
#645BC3 #C3985B #86C35B
monochromatic
#322C78 #453CA5 #645BC3 #8E88D3 #B9B5E4

Accessibility & contrast

On white

5.49
#645BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#645BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BC3
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BC3#FFFFFF#000000##FFFFFF
##645BC31.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246CC7
Deuteranopia (green-blind)
#1D66C1
Tritanopia (blue-blind)
#427286
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #645bc3;
/* rgb */ color: rgb(100, 91, 195);
/* oklch */ color: oklch(53.3% 0.157 283.6);
Tailwind
colors: {
  custom: {
    50: '#9689d6',
    500: '#645bc3',
    950: '#000000',
  },
}
SCSS
$custom: #645bc3;
$custom-light: #9689d6;
$custom-dark: #000000;
JSON
{
  "hex": "#645bc3",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 195
  },
  "hsl": {
    "h": 245.192,
    "s": 46.429,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53343,
    "c": 0.157,
    "h": 283.6
  },
  "luminance": 0.14132
}

Semantic roles & 50–950 ramp

primary
#645BC3
secondary
#CFD2A7
accent
#D652CB
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #645BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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