#798AA2#798AA2

#798AA2 is a light, muted blue. Relative luminance 0.249; OKLCH L 62.8% C 0.041 H 257.0°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#798AA2
RGBrgb(121, 138, 162)
HSLhsl(215, 18%, 55%)
HSVhsv(215, 25%, 64%)
CMYKcmyk(25.3%, 14.8%, 0%, 36.5%)
CIE-LABlab(56.93, -0.56, -14.74)
CIE-LCHlch(56.93, 14.75, 267.83°)
OKLaboklab(62.83% -0.0093 -0.0403)
OKLCHoklch(62.83% 0.041 257)
XYZxyz(23.4934, 24.8498, 37.7341)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798AA2 #A29179
analogous
#799EA2 #798AA2 #7C79A2
triadic
#798AA2 #A2798A #8AA279
tetradic
#798AA2 #A2799E #A29179 #79A27C
square
#798AA2 #A2799E #A29179 #79A27C
split-complementary
#798AA2 #A27C79 #9EA279
monochromatic
#424E5F #5B6B83 #798AA2 #9DAABB #C1C9D4

Accessibility & contrast

On white

3.52
#798AA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#798AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798AA2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798AA2#FFFFFF#000000##000000
##798AA21.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#828BA3
Deuteranopia (green-blind)
#7D87A1
Tritanopia (blue-blind)
#6E8F92
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #798aa2;
/* rgb */ color: rgb(121, 138, 162);
/* oklch */ color: oklch(62.8% 0.041 257.0);
Tailwind
colors: {
  custom: {
    50: '#a0acbd',
    500: '#798aa2',
    950: '#000000',
  },
}
SCSS
$custom: #798aa2;
$custom-light: #a0acbd;
$custom-dark: #000000;
JSON
{
  "hex": "#798aa2",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 162
  },
  "hsl": {
    "h": 215.122,
    "s": 18.062,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62835,
    "c": 0.04134,
    "h": 257
  },
  "luminance": 0.24851
}

Semantic roles & 50–950 ramp

primary
#798AA2
secondary
#C4BDB3
accent
#9B6DBB
background
#F9FAFB
surface
#F2F4F6
border
#CCCED0
text
#0F1012
muted
#7E7F81

Preview Lab

Preview with #798AA2

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

Preview Lab → · Contrast checker → · Palette generator →

#798AA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva