#645DF4#645DF4

#645DF4 is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.3% C 0.219 H 279.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#645DF4
RGBrgb(100, 93, 244)
HSLhsl(243, 87%, 66%)
HSVhsv(243, 62%, 96%)
CMYKcmyk(59%, 61.9%, 0%, 4.3%)
CIE-LABlab(48.35, 45.10, -75.02)
CIE-LCHlch(48.35, 87.53, 301.02°)
OKLaboklab(57.34% 0.0343 -0.2158)
OKLCHoklch(57.34% 0.219 279)
XYZxyz(25.4938, 17.0678, 87.5214)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DF4 #EDF45D
analogous
#5DA1F4 #645DF4 #AF5DF4
triadic
#645DF4 #F4645D #5DF464
tetradic
#645DF4 #F45DA1 #EDF45D #5DF4AF
square
#645DF4 #F45DA1 #EDF45D #5DF4AF
split-complementary
#645DF4 #F4AF5D #A1F45D
monochromatic
#160EC9 #2D24F0 #645DF4 #9B96F8 #D2D0FC

Accessibility & contrast

On white

4.76
#645DF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#645DF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DF4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DF4#FFFFFF#000000##FFFFFF
##645DF41.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F9
Deuteranopia (green-blind)
#006DF1
Tritanopia (blue-blind)
#0083A0
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #645df4;
/* rgb */ color: rgb(100, 93, 244);
/* oklch */ color: oklch(57.3% 0.219 279.0);
Tailwind
colors: {
  custom: {
    50: '#9d8bf9',
    500: '#645df4',
    950: '#000000',
  },
}
SCSS
$custom: #645df4;
$custom-light: #9d8bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#645df4",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 242.781,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.57335,
    "c": 0.21854,
    "h": 279
  },
  "luminance": 0.1707
}

Semantic roles & 50–950 ramp

primary
#645DF4
secondary
#EDEFBE
accent
#E402D9
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #645DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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