#645FD3#645FD3

#645FD3 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.2% C 0.173 H 281.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#645FD3
RGBrgb(100, 95, 211)
HSLhsl(243, 57%, 60%)
HSVhsv(243, 55%, 83%)
CMYKcmyk(52.6%, 55%, 0%, 17.3%)
CIE-LABlab(46.44, 33.62, -59.45)
CIE-LCHlch(46.44, 68.30, 299.49°)
OKLaboklab(55.18% 0.0331 -0.1701)
OKLCHoklch(55.18% 0.173 281)
XYZxyz(21.1020, 15.5956, 63.5137)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FD3 #CED35F
analogous
#5F94D3 #645FD3 #9E5FD3
triadic
#645FD3 #D3645F #5FD364
tetradic
#645FD3 #D35F94 #CED35F #5FD39E
square
#645FD3 #D35F94 #CED35F #5FD39E
split-complementary
#645FD3 #D39E5F #94D35F
monochromatic
#2C2890 #3B35C0 #645FD3 #928FE0 #C1BFED

Accessibility & contrast

On white

5.10
#645FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#645FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FD3
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FD3#FFFFFF#000000##FFFFFF
##645FD31.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1372D7
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#347990
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #645fd3;
/* rgb */ color: rgb(100, 95, 211);
/* oklch */ color: oklch(55.2% 0.173 281.0);
Tailwind
colors: {
  custom: {
    50: '#988ce1',
    500: '#645fd3',
    950: '#000000',
  },
}
SCSS
$custom: #645fd3;
$custom-light: #988ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#645fd3",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 211
  },
  "hsl": {
    "h": 242.586,
    "s": 56.863,
    "l": 60
  },
  "oklch": {
    "l": 0.55183,
    "c": 0.17326,
    "h": 281
  },
  "luminance": 0.15597
}

Semantic roles & 50–950 ramp

primary
#645FD3
secondary
#DBDDB1
accent
#E048DA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #645FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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