#646C8A#646C8A

#646C8A is a mid, muted blue. Relative luminance 0.153; OKLCH L 53.6% C 0.048 H 273.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#646C8A
RGBrgb(100, 108, 138)
HSLhsl(227, 16%, 47%)
HSVhsv(227, 28%, 54%)
CMYKcmyk(27.5%, 21.7%, 0%, 45.9%)
CIE-LABlab(46.00, 4.18, -17.48)
CIE-LCHlch(46.00, 17.97, 283.45°)
OKLaboklab(53.6% 0.0026 -0.048)
OKLCHoklch(53.6% 0.048 273.1)
XYZxyz(15.2043, 15.2690, 26.1860)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646C8A #8A8264
analogous
#647F8A #646C8A #6F648A
triadic
#646C8A #8A646C #6C8A64
tetradic
#646C8A #8A647F #8A8264 #648A6F
square
#646C8A #8A647F #8A8264 #648A6F
split-complementary
#646C8A #8A6F64 #7F8A64
monochromatic
#313443 #4A5067 #646C8A #858CA6 #A8ADC0

Accessibility & contrast

On white

5.18
#646C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#646C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646C8A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646C8A#FFFFFF#000000##FFFFFF
##646C8A1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636F8B
Deuteranopia (green-blind)
#606C89
Tritanopia (blue-blind)
#5A7276
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #646c8a;
/* rgb */ color: rgb(100, 108, 138);
/* oklch */ color: oklch(53.6% 0.048 273.1);
Tailwind
colors: {
  custom: {
    50: '#9196ac',
    500: '#646c8a',
    950: '#000000',
  },
}
SCSS
$custom: #646c8a;
$custom-light: #9196ac;
$custom-dark: #000000;
JSON
{
  "hex": "#646c8a",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 138
  },
  "hsl": {
    "h": 227.368,
    "s": 15.966,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53596,
    "c": 0.04812,
    "h": 273.1
  },
  "luminance": 0.15269
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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