#645EF4#645EF4

#645EF4 is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.5% C 0.217 H 278.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#645EF4
RGBrgb(100, 94, 244)
HSLhsl(242, 87%, 66%)
HSVhsv(242, 61%, 96%)
CMYKcmyk(59%, 61.5%, 0%, 4.3%)
CIE-LABlab(48.57, 44.52, -74.66)
CIE-LCHlch(48.57, 86.92, 300.81°)
OKLaboklab(57.5% 0.0334 -0.2148)
OKLCHoklch(57.5% 0.217 278.8)
XYZxyz(25.5822, 17.2445, 87.5509)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645EF4 #EEF45E
analogous
#5EA3F4 #645EF4 #AF5EF4
triadic
#645EF4 #F4645E #5EF464
tetradic
#645EF4 #F45EA3 #EEF45E #5EF4AF
square
#645EF4 #F45EA3 #EEF45E #5EF4AF
split-complementary
#645EF4 #F4AF5E #A3F45E
monochromatic
#150ECA #2D25F0 #645EF4 #9B97F8 #D2D1FC

Accessibility & contrast

On white

4.72
#645EF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#645EF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645EF4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645EF4#FFFFFF#000000##FFFFFF
##645EF41.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.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: #645ef4;
/* rgb */ color: rgb(100, 94, 244);
/* oklch */ color: oklch(57.5% 0.217 278.8);
Tailwind
colors: {
  custom: {
    50: '#9d8cf9',
    500: '#645ef4',
    950: '#000000',
  },
}
SCSS
$custom: #645ef4;
$custom-light: #9d8cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#645ef4",
  "rgb": {
    "r": 100,
    "g": 94,
    "b": 244
  },
  "hsl": {
    "h": 242.4,
    "s": 87.209,
    "l": 66.275
  },
  "oklch": {
    "l": 0.57497,
    "c": 0.21736,
    "h": 278.8
  },
  "luminance": 0.17246
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #645EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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