#645FFC#645FFC

#645FFC is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 58.3% C 0.226 H 278.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#645FFC
RGBrgb(100, 95, 252)
HSLhsl(242, 96%, 68%)
HSVhsv(242, 62%, 99%)
CMYKcmyk(60.3%, 62.3%, 0%, 1.2%)
CIE-LABlab(49.40, 46.44, -77.76)
CIE-LCHlch(49.40, 90.57, 300.85°)
OKLaboklab(58.3% 0.0321 -0.2239)
OKLCHoklch(58.3% 0.226 278.2)
XYZxyz(26.9128, 17.9200, 94.1173)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645FFC #F7FC5F
analogous
#5FA8FC #645FFC #B25FFC
triadic
#645FFC #FC645F #5FFC64
tetradic
#645FFC #FC5FA8 #F7FC5F #5FFCB2
square
#645FFC #FC5FA8 #F7FC5F #5FFCB2
split-complementary
#645FFC #FCB25F #A8FC5F
monochromatic
#0B04DC #2A23FB #645FFC #9E9BFD #D8D7FE

Accessibility & contrast

On white

4.58
#645FFC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#645FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #645FFC
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645FFC#FFFFFF#000000##000000
##645FFC1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#006FF9
Tritanopia (blue-blind)
#0086A5
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #645ffc;
/* rgb */ color: rgb(100, 95, 252);
/* oklch */ color: oklch(58.3% 0.226 278.2);
Tailwind
colors: {
  custom: {
    50: '#9f8dfe',
    500: '#645ffc',
    950: '#000000',
  },
}
SCSS
$custom: #645ffc;
$custom-light: #9f8dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#645ffc",
  "rgb": {
    "r": 100,
    "g": 95,
    "b": 252
  },
  "hsl": {
    "h": 241.911,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.58296,
    "c": 0.22617,
    "h": 278.2
  },
  "luminance": 0.17922
}

Semantic roles & 50–950 ramp

primary
#645FFC
secondary
#F2F3C3
accent
#E600DE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #645FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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