#645FEE#645FEE

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

Color values

HEX#645FEE
RGBrgb(100, 95, 238)
HSLhsl(242, 81%, 65%)
HSVhsv(242, 60%, 93%)
CMYKcmyk(58%, 60.1%, 0%, 6.7%)
CIE-LABlab(48.34, 42.06, -71.66)
CIE-LCHlch(48.34, 83.09, 300.41°)
OKLaboklab(57.19% 0.0329 -0.206)
OKLCHoklch(57.19% 0.209 279.1)
XYZxyz(24.7755, 17.0650, 82.8607)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FEE #E9EE5F
analogous
#5FA1EE #645FEE #AB5FEE
triadic
#645FEE #EE645F #5FEE64
tetradic
#645FEE #EE5FA1 #E9EE5F #5FEEAB
square
#645FEE #EE5FA1 #E9EE5F #5FEEAB
split-complementary
#645FEE #EEAB5F #A1EE5F
monochromatic
#1A14BE #2E28E8 #645FEE #9A96F4 #CFCEFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645FEE#FFFFFF#000000##FFFFFF
##645FEE1.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)
#0078F3
Deuteranopia (green-blind)
#006DEB
Tritanopia (blue-blind)
#00829E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #645fee;
/* rgb */ color: rgb(100, 95, 238);
/* oklch */ color: oklch(57.2% 0.209 279.1);
Tailwind
colors: {
  custom: {
    50: '#9c8df5',
    500: '#645fee',
    950: '#000000',
  },
}
SCSS
$custom: #645fee;
$custom-light: #9c8df5;
$custom-dark: #000000;
JSON
{
  "hex": "#645fee",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 242.098,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57191,
    "c": 0.20857,
    "h": 279.1
  },
  "luminance": 0.17067
}

Semantic roles & 50–950 ramp

primary
#645FEE
secondary
#EBECBC
accent
#DD08D6
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #645FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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