#645FCF#645FCF

#645FCF is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.9% C 0.168 H 281.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#645FCF
RGBrgb(100, 95, 207)
HSLhsl(243, 54%, 59%)
HSVhsv(243, 54%, 81%)
CMYKcmyk(51.7%, 54.1%, 0%, 18.8%)
CIE-LABlab(46.17, 32.38, -57.59)
CIE-LCHlch(46.17, 66.07, 299.35°)
OKLaboklab(54.9% 0.033 -0.1646)
OKLCHoklch(54.9% 0.168 281.3)
XYZxyz(20.6068, 15.3976, 60.9056)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FCF #CACF5F
analogous
#5F92CF #645FCF #9C5FCF
triadic
#645FCF #CF645F #5FCF64
tetradic
#645FCF #CF5F92 #CACF5F #5FCF9C
square
#645FCF #CF5F92 #CACF5F #5FCF9C
split-complementary
#645FCF #CF9C5F #92CF5F
monochromatic
#2E298A #3D38B9 #645FCF #928EDD #BFBDEB

Accessibility & contrast

On white

5.15
#645FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#645FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FCF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FCF#FFFFFF#000000##FFFFFF
##645FCF1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D71D3
Deuteranopia (green-blind)
#0A69CD
Tritanopia (blue-blind)
#38788E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #645fcf;
/* rgb */ color: rgb(100, 95, 207);
/* oklch */ color: oklch(54.9% 0.168 281.3);
Tailwind
colors: {
  custom: {
    50: '#988cde',
    500: '#645fcf',
    950: '#000000',
  },
}
SCSS
$custom: #645fcf;
$custom-light: #988cde;
$custom-dark: #000000;
JSON
{
  "hex": "#645fcf",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 242.679,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54901,
    "c": 0.16786,
    "h": 281.3
  },
  "luminance": 0.15399
}

Semantic roles & 50–950 ramp

primary
#645FCF
secondary
#D9DBAF
accent
#DD4BD7
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #645FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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