#645FD0#645FD0

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

Color values

HEX#645FD0
RGBrgb(100, 95, 208)
HSLhsl(243, 55%, 59%)
HSVhsv(243, 54%, 82%)
CMYKcmyk(51.9%, 54.3%, 0%, 18.4%)
CIE-LABlab(46.24, 32.69, -58.06)
CIE-LCHlch(46.24, 66.63, 299.38°)
OKLaboklab(54.97% 0.033 -0.1659)
OKLCHoklch(54.97% 0.169 281.3)
XYZxyz(20.7294, 15.4466, 61.5515)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FD0 #CBD05F
analogous
#5F93D0 #645FD0 #9D5FD0
triadic
#645FD0 #D0645F #5FD064
tetradic
#645FD0 #D05F93 #CBD05F #5FD09D
square
#645FD0 #D05F93 #CBD05F #5FD09D
split-complementary
#645FD0 #D09D5F #93D05F
monochromatic
#2D298C #3D37BB #645FD0 #928EDE #C0BEEC

Accessibility & contrast

On white

5.13
#645FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#645FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FD0
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FD0#FFFFFF#000000##FFFFFF
##645FD01.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A72D4
Deuteranopia (green-blind)
#0569CE
Tritanopia (blue-blind)
#37798E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #645fd0;
/* rgb */ color: rgb(100, 95, 208);
/* oklch */ color: oklch(55.0% 0.169 281.3);
Tailwind
colors: {
  custom: {
    50: '#988cdf',
    500: '#645fd0',
    950: '#000000',
  },
}
SCSS
$custom: #645fd0;
$custom-light: #988cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#645fd0",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 208
  },
  "hsl": {
    "h": 242.655,
    "s": 54.589,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54971,
    "c": 0.16921,
    "h": 281.3
  },
  "luminance": 0.15448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #645FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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