#645FDA#645FDA

#645FDA is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.7% C 0.183 H 280.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#645FDA
RGBrgb(100, 95, 218)
HSLhsl(242, 62%, 61%)
HSVhsv(242, 56%, 85%)
CMYKcmyk(54.1%, 56.4%, 0%, 14.5%)
CIE-LABlab(46.91, 35.81, -62.68)
CIE-LCHlch(46.91, 72.19, 299.74°)
OKLaboklab(55.69% 0.0332 -0.1795)
OKLCHoklch(55.69% 0.183 280.5)
XYZxyz(21.9987, 15.9543, 68.2364)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FDA #D5DA5F
analogous
#5F98DA #645FDA #A25FDA
triadic
#645FDA #DA645F #5FDA64
tetradic
#645FDA #DA5F98 #D5DA5F #5FDAA2
square
#645FDA #DA5F98 #D5DA5F #5FDAA2
split-complementary
#645FDA #DAA25F #98DA5F
monochromatic
#29249B #362FCD #645FDA #9491E5 #C4C2F1

Accessibility & contrast

On white

5.01
#645FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#645FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645FDA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FDA#FFFFFF#000000##FFFFFF
##645FDA1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#2D7C93
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #645fda;
/* rgb */ color: rgb(100, 95, 218);
/* oklch */ color: oklch(55.7% 0.183 280.5);
Tailwind
colors: {
  custom: {
    50: '#998ce6',
    500: '#645fda',
    950: '#000000',
  },
}
SCSS
$custom: #645fda;
$custom-light: #998ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#645fda",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 242.439,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55687,
    "c": 0.18259,
    "h": 280.5
  },
  "luminance": 0.15956
}

Semantic roles & 50–950 ramp

primary
#645FDA
secondary
#E0E1B3
accent
#CA1BC3
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #645FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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