#645FD5#645FD5

#645FD5 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.3% C 0.176 H 280.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#645FD5
RGBrgb(100, 95, 213)
HSLhsl(243, 58%, 60%)
HSVhsv(243, 55%, 84%)
CMYKcmyk(53.1%, 55.4%, 0%, 16.5%)
CIE-LABlab(46.57, 34.25, -60.38)
CIE-LCHlch(46.57, 69.42, 299.56°)
OKLaboklab(55.33% 0.0332 -0.1728)
OKLCHoklch(55.33% 0.176 280.9)
XYZxyz(21.3543, 15.6966, 64.8424)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FD5 #D0D55F
analogous
#5F95D5 #645FD5 #9F5FD5
triadic
#645FD5 #D5645F #5FD564
tetradic
#645FD5 #D55F95 #D0D55F #5FD59F
square
#645FD5 #D55F95 #D0D55F #5FD59F
split-complementary
#645FD5 #D59F5F #95D55F
monochromatic
#2B2793 #3933C3 #645FD5 #938FE2 #C2C0EE

Accessibility & contrast

On white

5.07
#645FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#645FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FD5
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FD5#FFFFFF#000000##FFFFFF
##645FD51.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C73D9
Deuteranopia (green-blind)
#006AD3
Tritanopia (blue-blind)
#327A91
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #645fd5;
/* rgb */ color: rgb(100, 95, 213);
/* oklch */ color: oklch(55.3% 0.176 280.9);
Tailwind
colors: {
  custom: {
    50: '#998ce3',
    500: '#645fd5',
    950: '#000000',
  },
}
SCSS
$custom: #645fd5;
$custom-light: #998ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#645fd5",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 242.542,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55326,
    "c": 0.17594,
    "h": 280.9
  },
  "luminance": 0.15698
}

Semantic roles & 50–950 ramp

primary
#645FD5
secondary
#DDDEB1
accent
#C61FBF
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0F0C15
muted
#7E7D84

Preview Lab

Preview with #645FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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