#645FC0#645FC0

#645FC0 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.9% C 0.147 H 282.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#645FC0
RGBrgb(100, 95, 192)
HSLhsl(243, 43%, 56%)
HSVhsv(243, 51%, 75%)
CMYKcmyk(47.9%, 50.5%, 0%, 24.7%)
CIE-LABlab(45.22, 27.76, -50.48)
CIE-LCHlch(45.22, 57.61, 298.80°)
OKLaboklab(53.88% 0.0321 -0.1437)
OKLCHoklch(53.88% 0.147 282.6)
XYZxyz(18.8593, 14.6986, 51.7023)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FC0 #BBC05F
analogous
#5F8BC0 #645FC0 #955FC0
triadic
#645FC0 #C0645F #5FC064
tetradic
#645FC0 #C05F8B #BBC05F #5FC095
square
#645FC0 #C05F8B #BBC05F #5FC095
split-complementary
#645FC0 #C0955F #8BC05F
monochromatic
#322F76 #4540A2 #645FC0 #8F8BD1 #B9B7E3

Accessibility & contrast

On white

5.33
#645FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#645FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FC0
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FC0#FFFFFF#000000##FFFFFF
##645FC01.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326EC3
Deuteranopia (green-blind)
#2C68BE
Tritanopia (blue-blind)
#447486
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #645fc0;
/* rgb */ color: rgb(100, 95, 192);
/* oklch */ color: oklch(53.9% 0.147 282.6);
Tailwind
colors: {
  custom: {
    50: '#968cd3',
    500: '#645fc0',
    950: '#000000',
  },
}
SCSS
$custom: #645fc0;
$custom-light: #968cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#645fc0",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 243.093,
    "s": 43.498,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5388,
    "c": 0.14722,
    "h": 282.6
  },
  "luminance": 0.147
}

Semantic roles & 50–950 ramp

primary
#645FC0
secondary
#CFD1A9
accent
#D355CD
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83

Preview Lab

Preview with #645FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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