#646F97#646F97

#646F97 is a mid, moderate blue. Relative luminance 0.163; OKLCH L 54.8% C 0.064 H 272.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#646F97
RGBrgb(100, 111, 151)
HSLhsl(227, 20%, 49%)
HSVhsv(227, 34%, 59%)
CMYKcmyk(33.8%, 26.5%, 0%, 40.8%)
CIE-LABlab(47.38, 5.87, -23.07)
CIE-LCHlch(47.38, 23.80, 284.27°)
OKLaboklab(54.85% 0.0026 -0.0639)
OKLCHoklch(54.85% 0.064 272.3)
XYZxyz(16.5243, 16.3120, 31.5500)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646F97 #978C64
analogous
#648997 #646F97 #736497
triadic
#646F97 #97646F #6F9764
tetradic
#646F97 #976489 #978C64 #649773
square
#646F97 #976489 #978C64 #649773
split-complementary
#646F97 #977364 #899764
monochromatic
#33394D #4C5472 #646F97 #8891B0 #ADB3C9

Accessibility & contrast

On white

4.93
#646F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#646F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646F97
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646F97#FFFFFF#000000##FFFFFF
##646F971.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627399
Deuteranopia (green-blind)
#5E6E96
Tritanopia (blue-blind)
#56777D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #646f97;
/* rgb */ color: rgb(100, 111, 151);
/* oklch */ color: oklch(54.8% 0.064 272.3);
Tailwind
colors: {
  custom: {
    50: '#9198b5',
    500: '#646f97',
    950: '#000000',
  },
}
SCSS
$custom: #646f97;
$custom-light: #9198b5;
$custom-dark: #000000;
JSON
{
  "hex": "#646f97",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 151
  },
  "hsl": {
    "h": 227.059,
    "s": 20.319,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54846,
    "c": 0.06398,
    "h": 272.3
  },
  "luminance": 0.16313
}

Semantic roles & 50–950 ramp

primary
#646F97
secondary
#B7B2A0
accent
#AB6BBD
background
#F9F9FB
surface
#F1F2F6
border
#CBCCD0
text
#0D0D11
muted
#7E7E80

Preview Lab

Preview with #646F97

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

Preview Lab → · Contrast checker → · Palette generator →

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