#645DF2#645DF2

#645DF2 is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 57.2% C 0.216 H 279.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#645DF2
RGBrgb(100, 93, 242)
HSLhsl(243, 85%, 66%)
HSVhsv(243, 62%, 95%)
CMYKcmyk(58.7%, 61.6%, 0%, 5.1%)
CIE-LABlab(48.19, 44.48, -74.15)
CIE-LCHlch(48.19, 86.47, 300.96°)
OKLaboklab(57.18% 0.0344 -0.2133)
OKLCHoklch(57.18% 0.216 279.2)
XYZxyz(25.1918, 16.9470, 85.9308)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645DF2 #EBF25D
analogous
#5DA0F2 #645DF2 #AE5DF2
triadic
#645DF2 #F2645D #5DF264
tetradic
#645DF2 #F25DA0 #EBF25D #5DF2AE
square
#645DF2 #F25DA0 #EBF25D #5DF2AE
split-complementary
#645DF2 #F2AE5D #A0F25D
monochromatic
#1810C5 #2E24ED #645DF2 #9A96F7 #D0CEFB

Accessibility & contrast

On white

4.78
#645DF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#645DF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645DF2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645DF2#FFFFFF#000000##FFFFFF
##645DF21.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#006CEF
Tritanopia (blue-blind)
#00829F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #645df2;
/* rgb */ color: rgb(100, 93, 242);
/* oklch */ color: oklch(57.2% 0.216 279.2);
Tailwind
colors: {
  custom: {
    50: '#9d8bf7',
    500: '#645df2',
    950: '#000000',
  },
}
SCSS
$custom: #645df2;
$custom-light: #9d8bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#645df2",
  "rgb": {
    "r": 100,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 242.819,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.57176,
    "c": 0.21603,
    "h": 279.2
  },
  "luminance": 0.16949
}

Semantic roles & 50–950 ramp

primary
#645DF2
secondary
#ECEEBD
accent
#E204D7
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #645DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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