#798297#798297

#798297 is a mid, muted blue. Relative luminance 0.223; OKLCH L 60.7% C 0.034 H 267.0°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#798297
RGBrgb(121, 130, 151)
HSLhsl(222, 13%, 53%)
HSVhsv(222, 20%, 59%)
CMYKcmyk(19.9%, 13.9%, 0%, 40.8%)
CIE-LABlab(54.31, 1.38, -12.36)
CIE-LCHlch(54.31, 12.44, 276.38°)
OKLaboklab(60.65% -0.0018 -0.0336)
OKLCHoklch(60.65% 0.034 267)
XYZxyz(21.4523, 22.2641, 32.4393)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798297 #978E79
analogous
#799197 #798297 #7F7997
triadic
#798297 #977982 #829779
tetradic
#798297 #977991 #978E79 #79977F
square
#798297 #977991 #978E79 #79977F
split-complementary
#798297 #977F79 #919779
monochromatic
#414754 #5C6477 #798297 #9BA2B2 #BEC2CC

Accessibility & contrast

On white

3.85
#798297 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#798297 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798297
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798297#FFFFFF#000000##000000
##7982971.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8398
Deuteranopia (green-blind)
#798196
Tritanopia (blue-blind)
#728689
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #798297;
/* rgb */ color: rgb(121, 130, 151);
/* oklch */ color: oklch(60.7% 0.034 267.0);
Tailwind
colors: {
  custom: {
    50: '#a0a6b5',
    500: '#798297',
    950: '#000000',
  },
}
SCSS
$custom: #798297;
$custom-light: #a0a6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#798297",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 151
  },
  "hsl": {
    "h": 222,
    "s": 12.605,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60652,
    "c": 0.03366,
    "h": 267
  },
  "luminance": 0.22265
}

Semantic roles & 50–950 ramp

primary
#798297
secondary
#BCB8AF
accent
#A172B5
background
#F9FAFB
surface
#F2F4F6
border
#CCCED0
text
#0E0F11
muted
#7E7F80

Preview Lab

Preview with #798297

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

Preview Lab → · Contrast checker → · Palette generator →

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