#646AC7#646AC7

#646AC7 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.4% C 0.142 H 278.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#646AC7
RGBrgb(100, 106, 199)
HSLhsl(236, 47%, 59%)
HSVhsv(236, 50%, 78%)
CMYKcmyk(49.7%, 46.7%, 0%, 22%)
CIE-LABlab(48.44, 23.16, -49.37)
CIE-LCHlch(48.44, 54.53, 295.13°)
OKLaboklab(56.44% 0.0198 -0.1403)
OKLCHoklch(56.44% 0.142 278)
XYZxyz(20.7152, 17.1397, 56.2385)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AC7 #C7C164
analogous
#649BC7 #646AC7 #8F64C7
triadic
#646AC7 #C7646A #6AC764
tetradic
#646AC7 #C7649B #C7C164 #64C78F
square
#646AC7 #C7649B #C7C164 #64C78F
split-complementary
#646AC7 #C78F64 #9BC764
monochromatic
#2F3482 #3F46AF #646AC7 #9195D7 #BEC0E7

Accessibility & contrast

On white

4.74
#646AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#646AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646AC7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AC7#FFFFFF#000000##FFFFFF
##646AC71.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4277CA
Deuteranopia (green-blind)
#396FC5
Tritanopia (blue-blind)
#3D7E8F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #646ac7;
/* rgb */ color: rgb(100, 106, 199);
/* oklch */ color: oklch(56.4% 0.142 278.0);
Tailwind
colors: {
  custom: {
    50: '#9694d8',
    500: '#646ac7',
    950: '#000000',
  },
}
SCSS
$custom: #646ac7;
$custom-light: #9694d8;
$custom-dark: #000000;
JSON
{
  "hex": "#646ac7",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 199
  },
  "hsl": {
    "h": 236.364,
    "s": 46.919,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56442,
    "c": 0.14174,
    "h": 278
  },
  "luminance": 0.17141
}

Semantic roles & 50–950 ramp

primary
#646AC7
secondary
#D7D5B0
accent
#CE51D7
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #646AC7

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

Preview Lab → · Contrast checker → · Palette generator →

#646AC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva