#798EB2#798EB2

#798EB2 is a light, muted blue. Relative luminance 0.266; OKLCH L 64.4% C 0.059 H 261.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#798EB2
RGBrgb(121, 142, 178)
HSLhsl(218, 27%, 59%)
HSVhsv(218, 32%, 70%)
CMYKcmyk(32%, 20.2%, 0%, 30.2%)
CIE-LABlab(58.63, 1.21, -21.30)
CIE-LCHlch(58.63, 21.33, 273.25°)
OKLaboklab(64.36% -0.0092 -0.0587)
OKLCHoklch(64.36% 0.059 261.1)
XYZxyz(25.5917, 26.6243, 45.9014)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EB2 #B29D79
analogous
#79AAB2 #798EB2 #8079B2
triadic
#798EB2 #B2798E #8EB279
tetradic
#798EB2 #B279AA #B29D79 #79B280
square
#798EB2 #B279AA #B29D79 #79B280
split-complementary
#798EB2 #B28079 #AAB279
monochromatic
#405270 #576E97 #798EB2 #A0AFC8 #C7D0DF

Accessibility & contrast

On white

3.32
#798EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#798EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EB2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EB2#FFFFFF#000000##000000
##798EB21.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8290B4
Deuteranopia (green-blind)
#7C8BB1
Tritanopia (blue-blind)
#68959A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #798eb2;
/* rgb */ color: rgb(121, 142, 178);
/* oklch */ color: oklch(64.4% 0.059 261.1);
Tailwind
colors: {
  custom: {
    50: '#a1afc9',
    500: '#798eb2',
    950: '#000000',
  },
}
SCSS
$custom: #798eb2;
$custom-light: #a1afc9;
$custom-dark: #000000;
JSON
{
  "hex": "#798eb2",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 178
  },
  "hsl": {
    "h": 217.895,
    "s": 27.014,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64357,
    "c": 0.05942,
    "h": 261.1
  },
  "luminance": 0.26625
}

Semantic roles & 50–950 ramp

primary
#798EB2
secondary
#CFC6B8
accent
#A064C3
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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