#646898#646898

#646898 is a mid, moderate blue. Relative luminance 0.149; OKLCH L 53.4% C 0.075 H 279.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#646898
RGBrgb(100, 104, 152)
HSLhsl(235, 21%, 49%)
HSVhsv(235, 34%, 60%)
CMYKcmyk(34.2%, 31.6%, 0%, 40.4%)
CIE-LABlab(45.46, 10.40, -26.63)
CIE-LCHlch(45.46, 28.59, 291.34°)
OKLaboklab(53.37% 0.0129 -0.0741)
OKLCHoklch(53.37% 0.075 279.8)
XYZxyz(15.8718, 14.8764, 31.7349)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646898 #989464
analogous
#648298 #646898 #7A6498
triadic
#646898 #986468 #689864
tetradic
#646898 #986482 #989464 #64987A
square
#646898 #986482 #989464 #64987A
split-complementary
#646898 #987A64 #829864
monochromatic
#33354E #4C4F73 #646898 #888BB1 #ADAFC9

Accessibility & contrast

On white

5.28
#646898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#646898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646898
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646898#FFFFFF#000000##FFFFFF
##6468981.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596E9A
Deuteranopia (green-blind)
#576A97
Tritanopia (blue-blind)
#567179
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #646898;
/* rgb */ color: rgb(100, 104, 152);
/* oklch */ color: oklch(53.4% 0.075 279.8);
Tailwind
colors: {
  custom: {
    50: '#9293b6',
    500: '#646898',
    950: '#000000',
  },
}
SCSS
$custom: #646898;
$custom-light: #9293b6;
$custom-dark: #000000;
JSON
{
  "hex": "#646898",
  "rgb": {
    "r": 100,
    "g": 104,
    "b": 152
  },
  "hsl": {
    "h": 235.385,
    "s": 20.635,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53374,
    "c": 0.07524,
    "h": 279.8
  },
  "luminance": 0.14877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646898

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

Preview Lab → · Contrast checker → · Palette generator →

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