#646B8A#646B8A

#646B8A is a mid, muted blue. Relative luminance 0.151; OKLCH L 53.4% C 0.049 H 274.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#646B8A
RGBrgb(100, 107, 138)
HSLhsl(229, 16%, 47%)
HSVhsv(229, 28%, 54%)
CMYKcmyk(27.5%, 22.5%, 0%, 45.9%)
CIE-LABlab(45.72, 4.78, -17.91)
CIE-LCHlch(45.72, 18.54, 284.95°)
OKLaboklab(53.37% 0.0041 -0.0493)
OKLCHoklch(53.37% 0.049 274.7)
XYZxyz(15.0994, 15.0593, 26.1510)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646B8A #8A8364
analogous
#647E8A #646B8A #70648A
triadic
#646B8A #8A646B #6B8A64
tetradic
#646B8A #8A647E #8A8364 #648A70
square
#646B8A #8A647E #8A8364 #648A70
split-complementary
#646B8A #8A7064 #7E8A64
monochromatic
#313443 #4A4F67 #646B8A #858BA6 #A8ADC0

Accessibility & contrast

On white

5.23
#646B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#646B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646B8A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646B8A#FFFFFF#000000##FFFFFF
##646B8A1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626E8B
Deuteranopia (green-blind)
#5F6B89
Tritanopia (blue-blind)
#5A7175
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #646b8a;
/* rgb */ color: rgb(100, 107, 138);
/* oklch */ color: oklch(53.4% 0.049 274.7);
Tailwind
colors: {
  custom: {
    50: '#9195ac',
    500: '#646b8a',
    950: '#000000',
  },
}
SCSS
$custom: #646b8a;
$custom-light: #9195ac;
$custom-dark: #000000;
JSON
{
  "hex": "#646b8a",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 138
  },
  "hsl": {
    "h": 228.947,
    "s": 15.966,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53373,
    "c": 0.04944,
    "h": 274.7
  },
  "luminance": 0.1506
}

Semantic roles & 50–950 ramp

primary
#646B8A
secondary
#AFAB9B
accent
#AB6FB9
background
#F8F9FA
surface
#F0F1F4
border
#CBCBCE
text
#0D0D10
muted
#7D7E7F

Preview Lab

Preview with #646B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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