#798DC6#798DC6

#798DC6 is a light, moderate blue. Relative luminance 0.272; OKLCH L 65.0% C 0.089 H 269.0°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#798DC6
RGBrgb(121, 141, 198)
HSLhsl(224, 40%, 63%)
HSVhsv(224, 39%, 78%)
CMYKcmyk(38.9%, 28.8%, 0%, 22.4%)
CIE-LABlab(59.15, 7.18, -31.82)
CIE-LCHlch(59.15, 32.62, 282.71°)
OKLaboklab(65.03% -0.0015 -0.0887)
OKLCHoklch(65.03% 0.089 269)
XYZxyz(27.6000, 27.1906, 57.2092)
Luminance0.2719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DC6 #C6B279
analogous
#79B3C6 #798DC6 #8C79C6
triadic
#798DC6 #C6798D #8DC679
tetradic
#798DC6 #C679B3 #C6B279 #79C68C
square
#798DC6 #C679B3 #C6B279 #79C68C
split-complementary
#798DC6 #C68C79 #B3C679
monochromatic
#3B4F8A #4E68B4 #798DC6 #A4B2D8 #CFD6EB

Accessibility & contrast

On white

3.26
#798DC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#798DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DC6
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DC6#FFFFFF#000000##000000
##798DC61.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A92C8
Deuteranopia (green-blind)
#738BC5
Tritanopia (blue-blind)
#6199A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #798dc6;
/* rgb */ color: rgb(121, 141, 198);
/* oklch */ color: oklch(65.0% 0.089 269.0);
Tailwind
colors: {
  custom: {
    50: '#a2aed7',
    500: '#798dc6',
    950: '#000000',
  },
}
SCSS
$custom: #798dc6;
$custom-light: #a2aed7;
$custom-dark: #000000;
JSON
{
  "hex": "#798dc6",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 198
  },
  "hsl": {
    "h": 224.416,
    "s": 40.314,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65031,
    "c": 0.0887,
    "h": 269
  },
  "luminance": 0.27192
}

Semantic roles & 50–950 ramp

primary
#798DC6
secondary
#DBD4BF
accent
#9232B3
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #798DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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