#798EB8#798EB8

#798EB8 is a light, moderate blue. Relative luminance 0.269; OKLCH L 64.6% C 0.068 H 263.9°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#798EB8
RGBrgb(121, 142, 184)
HSLhsl(220, 31%, 60%)
HSVhsv(220, 34%, 72%)
CMYKcmyk(34.2%, 22.8%, 0%, 27.8%)
CIE-LABlab(58.85, 2.79, -24.36)
CIE-LCHlch(58.85, 24.51, 276.53°)
OKLaboklab(64.61% -0.0072 -0.0674)
OKLCHoklch(64.61% 0.068 263.9)
XYZxyz(26.2073, 26.8705, 49.1438)
Luminance0.2687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EB8 #B8A379
analogous
#79AEB8 #798EB8 #8479B8
triadic
#798EB8 #B8798E #8EB879
tetradic
#798EB8 #B879AE #B8A379 #79B884
square
#798EB8 #B879AE #B8A379 #79B884
split-complementary
#798EB8 #B88479 #AEB879
monochromatic
#3F5277 #546D9F #798EB8 #A1B0CD #C9D1E2

Accessibility & contrast

On white

3.29
#798EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#798EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EB8
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EB8#FFFFFF#000000##000000
##798EB81.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8091BA
Deuteranopia (green-blind)
#7A8BB7
Tritanopia (blue-blind)
#66979C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #798eb8;
/* rgb */ color: rgb(121, 142, 184);
/* oklch */ color: oklch(64.6% 0.068 263.9);
Tailwind
colors: {
  custom: {
    50: '#a1aecd',
    500: '#798eb8',
    950: '#000000',
  },
}
SCSS
$custom: #798eb8;
$custom-light: #a1aecd;
$custom-dark: #000000;
JSON
{
  "hex": "#798eb8",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 184
  },
  "hsl": {
    "h": 220,
    "s": 30.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64612,
    "c": 0.06774,
    "h": 263.9
  },
  "luminance": 0.26872
}

Semantic roles & 50–950 ramp

primary
#798EB8
secondary
#D3CABA
accent
#A561C7
background
#FAFAFC
surface
#F3F4F9
border
#CDCED2
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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