#646997#646997

#646997 is a mid, moderate blue. Relative luminance 0.150; OKLCH L 53.5% C 0.072 H 278.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#646997
RGBrgb(100, 105, 151)
HSLhsl(234, 20%, 49%)
HSVhsv(234, 34%, 59%)
CMYKcmyk(33.8%, 30.5%, 0%, 40.8%)
CIE-LABlab(45.70, 9.51, -25.68)
CIE-LCHlch(45.70, 27.38, 290.33°)
OKLaboklab(53.54% 0.0112 -0.0714)
OKLCHoklch(53.54% 0.072 278.9)
XYZxyz(15.8915, 15.0463, 31.3391)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646997 #979264
analogous
#648397 #646997 #796497
triadic
#646997 #976469 #699764
tetradic
#646997 #976483 #979264 #649779
square
#646997 #976483 #979264 #649779
split-complementary
#646997 #977964 #839764
monochromatic
#33364D #4C4F72 #646997 #888CB0 #ADB0C9

Accessibility & contrast

On white

5.24
#646997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#646997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646997
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646997#FFFFFF#000000##FFFFFF
##6469971.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6E99
Deuteranopia (green-blind)
#586A96
Tritanopia (blue-blind)
#567279
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #646997;
/* rgb */ color: rgb(100, 105, 151);
/* oklch */ color: oklch(53.5% 0.072 278.9);
Tailwind
colors: {
  custom: {
    50: '#9193b5',
    500: '#646997',
    950: '#000000',
  },
}
SCSS
$custom: #646997;
$custom-light: #9193b5;
$custom-dark: #000000;
JSON
{
  "hex": "#646997",
  "rgb": {
    "r": 100,
    "g": 105,
    "b": 151
  },
  "hsl": {
    "h": 234.118,
    "s": 20.319,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5354,
    "c": 0.07225,
    "h": 278.9
  },
  "luminance": 0.15047
}

Semantic roles & 50–950 ramp

primary
#646997
secondary
#B7B5A0
accent
#B56BBD
background
#F9F9FB
surface
#F1F1F6
border
#CBCBD0
text
#0D0D11
muted
#7E7E80

Preview Lab

Preview with #646997

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

Preview Lab → · Contrast checker → · Palette generator →

#646997 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva