#646CA5#646CA5

#646CA5 is a mid, moderate blue. Relative luminance 0.162; OKLCH L 54.9% C 0.089 H 276.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#646CA5
RGBrgb(100, 108, 165)
HSLhsl(233, 27%, 52%)
HSVhsv(233, 39%, 65%)
CMYKcmyk(39.4%, 34.5%, 0%, 35.3%)
CIE-LABlab(47.17, 11.66, -31.64)
CIE-LCHlch(47.17, 33.72, 290.23°)
OKLaboklab(54.89% 0.0108 -0.0886)
OKLCHoklch(54.89% 0.089 276.9)
XYZxyz(17.4076, 16.1503, 37.7901)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CA5 #A59D64
analogous
#648DA5 #646CA5 #7D64A5
triadic
#646CA5 #A5646C #6CA564
tetradic
#646CA5 #A5648D #A59D64 #64A57D
square
#646CA5 #A5648D #A59D64 #64A57D
split-complementary
#646CA5 #A57D64 #8DA564
monochromatic
#34395A #4B5281 #646CA5 #8B91BB #B1B5D2

Accessibility & contrast

On white

4.96
#646CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#646CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646CA5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CA5#FFFFFF#000000##FFFFFF
##646CA51.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5972A7
Deuteranopia (green-blind)
#556DA4
Tritanopia (blue-blind)
#507781
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #646ca5;
/* rgb */ color: rgb(100, 108, 165);
/* oklch */ color: oklch(54.9% 0.089 276.9);
Tailwind
colors: {
  custom: {
    50: '#9396c0',
    500: '#646ca5',
    950: '#000000',
  },
}
SCSS
$custom: #646ca5;
$custom-light: #9396c0;
$custom-dark: #000000;
JSON
{
  "hex": "#646ca5",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 165
  },
  "hsl": {
    "h": 232.615,
    "s": 26.531,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54889,
    "c": 0.08922,
    "h": 276.9
  },
  "luminance": 0.16151
}

Semantic roles & 50–950 ramp

primary
#646CA5
secondary
#C1BDA4
accent
#B765C3
background
#F9F9FB
surface
#F1F1F7
border
#CBCBD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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