#645FD9#645FD9

#645FD9 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.6% C 0.181 H 280.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#645FD9
RGBrgb(100, 95, 217)
HSLhsl(242, 62%, 61%)
HSVhsv(242, 56%, 85%)
CMYKcmyk(53.9%, 56.2%, 0%, 14.9%)
CIE-LABlab(46.85, 35.49, -62.22)
CIE-LCHlch(46.85, 71.63, 299.70°)
OKLaboklab(55.61% 0.0332 -0.1782)
OKLCHoklch(55.61% 0.181 280.6)
XYZxyz(21.8682, 15.9021, 67.5493)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FD9 #D4D95F
analogous
#5F97D9 #645FD9 #A15FD9
triadic
#645FD9 #D9645F #5FD964
tetradic
#645FD9 #D95F97 #D4D95F #5FD9A1
square
#645FD9 #D95F97 #D4D95F #5FD9A1
split-complementary
#645FD9 #D9A15F #97D95F
monochromatic
#292499 #3630CB #645FD9 #9490E5 #C4C2F0

Accessibility & contrast

On white

5.02
#645FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#645FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FD9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FD9#FFFFFF#000000##FFFFFF
##645FD91.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#006AD6
Tritanopia (blue-blind)
#2E7B93
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #645fd9;
/* rgb */ color: rgb(100, 95, 217);
/* oklch */ color: oklch(55.6% 0.181 280.6);
Tailwind
colors: {
  custom: {
    50: '#998ce5',
    500: '#645fd9',
    950: '#000000',
  },
}
SCSS
$custom: #645fd9;
$custom-light: #998ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#645fd9",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 242.459,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55614,
    "c": 0.18127,
    "h": 280.6
  },
  "luminance": 0.15903
}

Semantic roles & 50–950 ramp

primary
#645FD9
secondary
#DFE1B3
accent
#C91CC2
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #645FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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