#797495#797495

#797495 is a mid, muted blue. Relative luminance 0.187; OKLCH L 57.6% C 0.050 H 291.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#797495
RGBrgb(121, 116, 149)
HSLhsl(249, 13%, 52%)
HSVhsv(249, 22%, 58%)
CMYKcmyk(18.8%, 22.1%, 0%, 41.6%)
CIE-LABlab(50.36, 9.11, -17.17)
CIE-LCHlch(50.36, 19.44, 297.96°)
OKLaboklab(57.56% 0.0187 -0.0469)
OKLCHoklch(57.56% 0.05 291.7)
XYZxyz(19.5541, 18.7255, 31.0121)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797495 #909574
analogous
#748095 #797495 #8A7495
triadic
#797495 #957974 #749579
tetradic
#797495 #957480 #909574 #74958A
square
#797495 #957480 #909574 #74958A
split-complementary
#797495 #958A74 #809574
monochromatic
#413E51 #5C5874 #797495 #9A97AF #BCB9CA

Accessibility & contrast

On white

4.43
#797495 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#797495 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797495
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797495#FFFFFF#000000##000000
##7974951.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7896
Deuteranopia (green-blind)
#6D7794
Tritanopia (blue-blind)
#73797F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #797495;
/* rgb */ color: rgb(121, 116, 149);
/* oklch */ color: oklch(57.6% 0.050 291.7);
Tailwind
colors: {
  custom: {
    50: '#a09cb4',
    500: '#797495',
    950: '#000000',
  },
}
SCSS
$custom: #797495;
$custom-light: #a09cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#797495",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 149
  },
  "hsl": {
    "h": 249.091,
    "s": 13.469,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57555,
    "c": 0.05049,
    "h": 291.7
  },
  "luminance": 0.18726
}

Semantic roles & 50–950 ramp

primary
#797495
secondary
#B7BAAB
accent
#B671AC
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0E11
muted
#7E7E80

Preview Lab

Preview with #797495

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

Preview Lab → · Contrast checker → · Palette generator →

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