#646B9F#646B9F

#646B9F is a mid, moderate blue. Relative luminance 0.157; OKLCH L 54.4% C 0.082 H 277.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#646B9F
RGBrgb(100, 107, 159)
HSLhsl(233, 24%, 51%)
HSVhsv(233, 37%, 62%)
CMYKcmyk(37.1%, 32.7%, 0%, 37.6%)
CIE-LABlab(46.61, 10.54, -28.98)
CIE-LCHlch(46.61, 30.84, 289.99°)
OKLaboklab(54.37% 0.0106 -0.0809)
OKLCHoklch(54.37% 0.082 277.4)
XYZxyz(16.7694, 15.7273, 34.9463)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646B9F #9F9864
analogous
#64889F #646B9F #7A649F
triadic
#646B9F #9F646B #6B9F64
tetradic
#646B9F #9F6488 #9F9864 #649F7A
square
#646B9F #9F6488 #9F9864 #649F7A
split-complementary
#646B9F #9F7A64 #889F64
monochromatic
#343854 #4C517A #646B9F #8A8FB6 #B0B3CE

Accessibility & contrast

On white

5.07
#646B9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#646B9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646B9F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646B9F#FFFFFF#000000##FFFFFF
##646B9F1.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A71A1
Deuteranopia (green-blind)
#576C9E
Tritanopia (blue-blind)
#53757E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #646b9f;
/* rgb */ color: rgb(100, 107, 159);
/* oklch */ color: oklch(54.4% 0.082 277.4);
Tailwind
colors: {
  custom: {
    50: '#9295bb',
    500: '#646b9f',
    950: '#000000',
  },
}
SCSS
$custom: #646b9f;
$custom-light: #9295bb;
$custom-dark: #000000;
JSON
{
  "hex": "#646b9f",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 159
  },
  "hsl": {
    "h": 232.881,
    "s": 23.506,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54368,
    "c": 0.08158,
    "h": 277.4
  },
  "luminance": 0.15728
}

Semantic roles & 50–950 ramp

primary
#646B9F
secondary
#BCB9A2
accent
#B668C0
background
#F9F9FB
surface
#F1F1F6
border
#CBCBD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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