#646998#646998

#646998 is a mid, moderate blue. Relative luminance 0.151; OKLCH L 53.6% C 0.074 H 278.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#646998
RGBrgb(100, 105, 152)
HSLhsl(234, 21%, 49%)
HSVhsv(234, 34%, 60%)
CMYKcmyk(34.2%, 30.9%, 0%, 40.4%)
CIE-LABlab(45.74, 9.79, -26.20)
CIE-LCHlch(45.74, 27.97, 290.49°)
OKLaboklab(53.59% 0.0114 -0.0729)
OKLCHoklch(53.59% 0.074 278.9)
XYZxyz(15.9730, 15.0789, 31.7686)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646998 #989364
analogous
#648398 #646998 #796498
triadic
#646998 #986469 #699864
tetradic
#646998 #986483 #989364 #649879
square
#646998 #986483 #989364 #649879
split-complementary
#646998 #987964 #839864
monochromatic
#33364E #4C5073 #646998 #888CB1 #ADB0C9

Accessibility & contrast

On white

5.23
#646998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#646998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##646998#FFFFFF#000000##FFFFFF
##6469981.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6E9A
Deuteranopia (green-blind)
#586B97
Tritanopia (blue-blind)
#56727A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #646998;
/* rgb */ color: rgb(100, 105, 152);
/* oklch */ color: oklch(53.6% 0.074 278.9);
Tailwind
colors: {
  custom: {
    50: '#9293b6',
    500: '#646998',
    950: '#000000',
  },
}
SCSS
$custom: #646998;
$custom-light: #9293b6;
$custom-dark: #000000;
JSON
{
  "hex": "#646998",
  "rgb": {
    "r": 100,
    "g": 105,
    "b": 152
  },
  "hsl": {
    "h": 234.231,
    "s": 20.635,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.07378,
    "h": 278.9
  },
  "luminance": 0.15079
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646998

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

Preview Lab → · Contrast checker → · Palette generator →

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