#646A98#646A98

#646A98 is a mid, moderate blue. Relative luminance 0.153; OKLCH L 53.8% C 0.072 H 278.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#646A98
RGBrgb(100, 106, 152)
HSLhsl(233, 21%, 49%)
HSVhsv(233, 34%, 60%)
CMYKcmyk(34.2%, 30.3%, 0%, 40.4%)
CIE-LABlab(46.02, 9.18, -25.77)
CIE-LCHlch(46.02, 27.35, 289.61°)
OKLaboklab(53.8% 0.01 -0.0716)
OKLCHoklch(53.8% 0.072 278)
XYZxyz(16.0755, 15.2838, 31.8028)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646A98 #989264
analogous
#648498 #646A98 #786498
triadic
#646A98 #98646A #6A9864
tetradic
#646A98 #986484 #989264 #649878
square
#646A98 #986484 #989264 #649878
split-complementary
#646A98 #987864 #849864
monochromatic
#33374E #4C5073 #646A98 #888DB1 #ADB0C9

Accessibility & contrast

On white

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

On black

4.06
#646A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##646A98#FFFFFF#000000##FFFFFF
##646A981.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6F9A
Deuteranopia (green-blind)
#596B97
Tritanopia (blue-blind)
#56737A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #646a98;
/* rgb */ color: rgb(100, 106, 152);
/* oklch */ color: oklch(53.8% 0.072 278.0);
Tailwind
colors: {
  custom: {
    50: '#9294b6',
    500: '#646a98',
    950: '#000000',
  },
}
SCSS
$custom: #646a98;
$custom-light: #9294b6;
$custom-dark: #000000;
JSON
{
  "hex": "#646a98",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 152
  },
  "hsl": {
    "h": 233.077,
    "s": 20.635,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53804,
    "c": 0.07235,
    "h": 278
  },
  "luminance": 0.15284
}

Semantic roles & 50–950 ramp

primary
#646A98
secondary
#B8B5A0
accent
#B46BBD
background
#F9F9FB
surface
#F1F1F6
border
#CBCBD0
text
#0D0D11
muted
#7E7E80

Preview Lab

Preview with #646A98

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

Preview Lab → · Contrast checker → · Palette generator →

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