#645CF0#645CF0

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

Color values

HEX#645CF0
RGBrgb(100, 92, 240)
HSLhsl(243, 83%, 65%)
HSVhsv(243, 62%, 94%)
CMYKcmyk(58.3%, 61.7%, 0%, 5.9%)
CIE-LABlab(47.82, 44.44, -73.63)
CIE-LCHlch(47.82, 86.01, 301.11°)
OKLaboklab(56.86% 0.0354 -0.2118)
OKLCHoklch(56.86% 0.215 279.5)
XYZxyz(24.8059, 16.6531, 84.3284)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645CF0 #E8F05C
analogous
#5C9EF0 #645CF0 #AE5CF0
triadic
#645CF0 #F0645C #5CF064
tetradic
#645CF0 #F05C9E #E8F05C #5CF0AE
square
#645CF0 #F05C9E #E8F05C #5CF0AE
split-complementary
#645CF0 #F0AE5C #9EF05C
monochromatic
#1B12C0 #2F24EB #645CF0 #9994F5 #CFCCFA

Accessibility & contrast

On white

4.85
#645CF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#645CF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645CF0
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645CF0#FFFFFF#000000##FFFFFF
##645CF01.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F5
Deuteranopia (green-blind)
#006CED
Tritanopia (blue-blind)
#00819D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #645cf0;
/* rgb */ color: rgb(100, 92, 240);
/* oklch */ color: oklch(56.9% 0.215 279.5);
Tailwind
colors: {
  custom: {
    50: '#9d8bf6',
    500: '#645cf0',
    950: '#000000',
  },
}
SCSS
$custom: #645cf0;
$custom-light: #9d8bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#645cf0",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 240
  },
  "hsl": {
    "h": 243.243,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.56855,
    "c": 0.21471,
    "h": 279.5
  },
  "luminance": 0.16655
}

Semantic roles & 50–950 ramp

primary
#645CF0
secondary
#EAEDBB
accent
#E006D4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #645CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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