#645BF2#645BF2

#645BF2 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.9% C 0.218 H 279.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#645BF2
RGBrgb(100, 91, 242)
HSLhsl(244, 85%, 65%)
HSVhsv(244, 62%, 95%)
CMYKcmyk(58.7%, 62.4%, 0%, 5.1%)
CIE-LABlab(47.75, 45.64, -74.86)
CIE-LCHlch(47.75, 87.68, 301.37°)
OKLaboklab(56.85% 0.0362 -0.2154)
OKLCHoklch(56.85% 0.218 279.5)
XYZxyz(25.0185, 16.6005, 85.8730)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645BF2 #E9F25B
analogous
#5B9EF2 #645BF2 #AF5BF2
triadic
#645BF2 #F2645B #5BF264
tetradic
#645BF2 #F25B9E #E9F25B #5BF2AF
square
#645BF2 #F25B9E #E9F25B #5BF2AF
split-complementary
#645BF2 #F2AF5B #9EF25B
monochromatic
#1A0FC3 #2E22EE #645BF2 #9A94F6 #CFCCFB

Accessibility & contrast

On white

4.86
#645BF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#645BF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645BF2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645BF2#FFFFFF#000000##FFFFFF
##645BF21.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F7
Deuteranopia (green-blind)
#006BEF
Tritanopia (blue-blind)
#00819E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #645bf2;
/* rgb */ color: rgb(100, 91, 242);
/* oklch */ color: oklch(56.9% 0.218 279.5);
Tailwind
colors: {
  custom: {
    50: '#9d8af7',
    500: '#645bf2',
    950: '#000000',
  },
}
SCSS
$custom: #645bf2;
$custom-light: #9d8af7;
$custom-dark: #000000;
JSON
{
  "hex": "#645bf2",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 243.576,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56854,
    "c": 0.2184,
    "h": 279.5
  },
  "luminance": 0.16602
}

Semantic roles & 50–950 ramp

primary
#645BF2
secondary
#EBEEBB
accent
#E204D5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #645BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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