#798FC6#798FC6

#798FC6 is a light, moderate blue. Relative luminance 0.278; OKLCH L 65.5% C 0.086 H 267.3°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#798FC6
RGBrgb(121, 143, 198)
HSLhsl(223, 40%, 63%)
HSVhsv(223, 39%, 78%)
CMYKcmyk(38.9%, 27.8%, 0%, 22.4%)
CIE-LABlab(59.69, 6.02, -30.97)
CIE-LCHlch(59.69, 31.55, 280.99°)
OKLaboklab(65.46% -0.0041 -0.0863)
OKLCHoklch(65.46% 0.086 267.3)
XYZxyz(27.8976, 27.7858, 57.3084)
Luminance0.2779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FC6 #C6B079
analogous
#79B6C6 #798FC6 #8979C6
triadic
#798FC6 #C6798F #8FC679
tetradic
#798FC6 #C679B6 #C6B079 #79C689
square
#798FC6 #C679B6 #C6B079 #79C689
split-complementary
#798FC6 #C68979 #B6C679
monochromatic
#3B518A #4E6BB4 #798FC6 #A4B3D8 #CFD7EB

Accessibility & contrast

On white

3.20
#798FC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#798FC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FC6
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FC6#FFFFFF#000000##000000
##798FC61.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C93C8
Deuteranopia (green-blind)
#758DC5
Tritanopia (blue-blind)
#609AA2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798fc6;
/* rgb */ color: rgb(121, 143, 198);
/* oklch */ color: oklch(65.5% 0.086 267.3);
Tailwind
colors: {
  custom: {
    50: '#a2afd7',
    500: '#798fc6',
    950: '#000000',
  },
}
SCSS
$custom: #798fc6;
$custom-light: #a2afd7;
$custom-dark: #000000;
JSON
{
  "hex": "#798fc6",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 198
  },
  "hsl": {
    "h": 222.857,
    "s": 40.314,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65455,
    "c": 0.08636,
    "h": 267.3
  },
  "luminance": 0.27787
}

Semantic roles & 50–950 ramp

primary
#798FC6
secondary
#DBD3BF
accent
#8E32B3
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #798FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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