#798299#798299

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

Color values

HEX#798299
RGBrgb(121, 130, 153)
HSLhsl(223, 14%, 54%)
HSVhsv(223, 21%, 60%)
CMYKcmyk(20.9%, 15%, 0%, 40%)
CIE-LABlab(54.38, 1.86, -13.42)
CIE-LCHlch(54.38, 13.54, 277.89°)
OKLaboklab(60.73% -0.001 -0.0365)
OKLCHoklch(60.73% 0.037 268.4)
XYZxyz(21.6161, 22.3296, 33.3020)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798299 #999079
analogous
#799299 #798299 #807999
triadic
#798299 #997982 #829979
tetradic
#798299 #997992 #999079 #799980
square
#798299 #997992 #999079 #799980
split-complementary
#798299 #998079 #929979
monochromatic
#424756 #5C6479 #798299 #9CA2B3 #BEC3CE

Accessibility & contrast

On white

3.84
#798299 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#798299 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798299
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798299#FFFFFF#000000##000000
##7982991.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B849A
Deuteranopia (green-blind)
#798198
Tritanopia (blue-blind)
#718689
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #798299;
/* rgb */ color: rgb(121, 130, 153);
/* oklch */ color: oklch(60.7% 0.037 268.4);
Tailwind
colors: {
  custom: {
    50: '#a0a6b7',
    500: '#798299',
    950: '#000000',
  },
}
SCSS
$custom: #798299;
$custom-light: #a0a6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#798299",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 153
  },
  "hsl": {
    "h": 223.125,
    "s": 13.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60729,
    "c": 0.03654,
    "h": 268.4
  },
  "luminance": 0.2233
}

Semantic roles & 50–950 ramp

primary
#798299
secondary
#BEBAB0
accent
#A371B6
background
#F9FAFB
surface
#F2F4F6
border
#CCCED0
text
#0E0F11
muted
#7E7F80

Preview Lab

Preview with #798299

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

Preview Lab → · Contrast checker → · Palette generator →

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