#645EF3#645EF3

#645EF3 is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.4% C 0.216 H 278.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#645EF3
RGBrgb(100, 94, 243)
HSLhsl(242, 86%, 66%)
HSVhsv(242, 61%, 95%)
CMYKcmyk(58.8%, 61.3%, 0%, 4.7%)
CIE-LABlab(48.49, 44.21, -74.22)
CIE-LCHlch(48.49, 86.39, 300.78°)
OKLaboklab(57.42% 0.0335 -0.2135)
OKLCHoklch(57.42% 0.216 278.9)
XYZxyz(25.4307, 17.1840, 86.7534)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EF3 #EDF35E
analogous
#5EA2F3 #645EF3 #AE5EF3
triadic
#645EF3 #F3645E #5EF364
tetradic
#645EF3 #F35EA2 #EDF35E #5EF3AE
square
#645EF3 #F35EA2 #EDF35E #5EF3AE
split-complementary
#645EF3 #F3AE5E #A2F35E
monochromatic
#160FC8 #2D25EF #645EF3 #9B97F7 #D2D0FB

Accessibility & contrast

On white

4.73
#645EF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#645EF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645EF3
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EF3#FFFFFF#000000##FFFFFF
##645EF31.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #645ef3;
/* rgb */ color: rgb(100, 94, 243);
/* oklch */ color: oklch(57.4% 0.216 278.9);
Tailwind
colors: {
  custom: {
    50: '#9d8cf8',
    500: '#645ef3',
    950: '#000000',
  },
}
SCSS
$custom: #645ef3;
$custom-light: #9d8cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#645ef3",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 243
  },
  "hsl": {
    "h": 242.416,
    "s": 86.127,
    "l": 66.078
  },
  "oklch": {
    "l": 0.57417,
    "c": 0.2161,
    "h": 278.9
  },
  "luminance": 0.17186
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #645EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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