#646ACC#646ACC

#646ACC is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.8% C 0.149 H 277.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#646ACC
RGBrgb(100, 106, 204)
HSLhsl(237, 50%, 60%)
HSVhsv(237, 51%, 80%)
CMYKcmyk(51%, 48%, 0%, 20%)
CIE-LABlab(48.73, 24.72, -51.77)
CIE-LCHlch(48.73, 57.37, 295.53°)
OKLaboklab(56.76% 0.0204 -0.1474)
OKLCHoklch(56.76% 0.149 277.9)
XYZxyz(21.3052, 17.3758, 59.3462)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646ACC #CCC664
analogous
#649ECC #646ACC #9264CC
triadic
#646ACC #CC646A #6ACC64
tetradic
#646ACC #CC649E #CCC664 #64CC92
square
#646ACC #CC649E #CCC664 #64CC92
split-complementary
#646ACC #CC9264 #9ECC64
monochromatic
#2D3289 #3C43B7 #646ACC #9296DB #C0C3EA

Accessibility & contrast

On white

4.69
#646ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#646ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646ACC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646ACC#FFFFFF#000000##FFFFFF
##646ACC1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D0
Deuteranopia (green-blind)
#3370CA
Tritanopia (blue-blind)
#397F91
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #646acc;
/* rgb */ color: rgb(100, 106, 204);
/* oklch */ color: oklch(56.8% 0.149 277.9);
Tailwind
colors: {
  custom: {
    50: '#9794dc',
    500: '#646acc',
    950: '#000000',
  },
}
SCSS
$custom: #646acc;
$custom-light: #9794dc;
$custom-dark: #000000;
JSON
{
  "hex": "#646acc",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 204
  },
  "hsl": {
    "h": 236.538,
    "s": 50.485,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5676,
    "c": 0.14878,
    "h": 277.9
  },
  "luminance": 0.17377
}

Semantic roles & 50–950 ramp

primary
#646ACC
secondary
#DAD8B2
accent
#D24EDA
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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