#645DF3#645DF3

#645DF3 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.3% C 0.217 H 279.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#645DF3
RGBrgb(100, 93, 243)
HSLhsl(243, 86%, 66%)
HSVhsv(243, 62%, 95%)
CMYKcmyk(58.8%, 61.7%, 0%, 4.7%)
CIE-LABlab(48.27, 44.79, -74.58)
CIE-LCHlch(48.27, 87.00, 300.99°)
OKLaboklab(57.26% 0.0344 -0.2145)
OKLCHoklch(57.26% 0.217 279.1)
XYZxyz(25.3424, 17.0073, 86.7239)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DF3 #ECF35D
analogous
#5DA1F3 #645DF3 #AF5DF3
triadic
#645DF3 #F3645D #5DF364
tetradic
#645DF3 #F35DA1 #ECF35D #5DF3AF
square
#645DF3 #F35DA1 #ECF35D #5DF3AF
split-complementary
#645DF3 #F3AF5D #A1F35D
monochromatic
#170FC7 #2D24EF #645DF3 #9B96F7 #D1CFFB

Accessibility & contrast

On white

4.77
#645DF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#645DF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DF3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DF3#FFFFFF#000000##FFFFFF
##645DF31.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #645df3;
/* rgb */ color: rgb(100, 93, 243);
/* oklch */ color: oklch(57.3% 0.217 279.1);
Tailwind
colors: {
  custom: {
    50: '#9d8bf8',
    500: '#645df3',
    950: '#000000',
  },
}
SCSS
$custom: #645df3;
$custom-light: #9d8bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#645df3",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 242.8,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.57255,
    "c": 0.21729,
    "h": 279.1
  },
  "luminance": 0.17009
}

Semantic roles & 50–950 ramp

primary
#645DF3
secondary
#ECEFBD
accent
#E303D8
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #645DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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