#656798#656798

#656798 is a mid, moderate blue. Relative luminance 0.147; OKLCH L 53.2% C 0.077 H 281.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#656798
RGBrgb(101, 103, 152)
HSLhsl(238, 20%, 50%)
HSVhsv(238, 34%, 60%)
CMYKcmyk(33.6%, 32.2%, 0%, 40.4%)
CIE-LABlab(45.27, 11.32, -26.93)
CIE-LCHlch(45.27, 29.21, 292.80°)
OKLaboklab(53.24% 0.0155 -0.075)
OKLCHoklch(53.24% 0.077 281.7)
XYZxyz(15.8830, 14.7337, 31.7067)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#656798 #989665
analogous
#658198 #656798 #7D6598
triadic
#656798 #986567 #679865
tetradic
#656798 #986581 #989665 #65987D
square
#656798 #986581 #989665 #65987D
split-complementary
#656798 #987D65 #819865
monochromatic
#34354E #4D4E73 #656798 #898BB1 #AEAFC9

Accessibility & contrast

On white

5.32
#656798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#656798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #656798
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##656798#FFFFFF#000000##FFFFFF
##6567981.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586D9A
Deuteranopia (green-blind)
#566997
Tritanopia (blue-blind)
#587079
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #656798;
/* rgb */ color: rgb(101, 103, 152);
/* oklch */ color: oklch(53.2% 0.077 281.7);
Tailwind
colors: {
  custom: {
    50: '#9292b6',
    500: '#656798',
    950: '#000000',
  },
}
SCSS
$custom: #656798;
$custom-light: #9292b6;
$custom-dark: #000000;
JSON
{
  "hex": "#656798",
  "rgb": {
    "r": 101,
    "g": 103,
    "b": 152
  },
  "hsl": {
    "h": 237.647,
    "s": 20.158,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53242,
    "c": 0.07655,
    "h": 281.7
  },
  "luminance": 0.14734
}

Semantic roles & 50–950 ramp

primary
#656798
secondary
#B8B7A1
accent
#BA6BBD
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0D11
muted
#7E7D80

Preview Lab

Preview with #656798

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

Preview Lab → · Contrast checker → · Palette generator →

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