#798FC9#798FC9

#798FC9 is a light, moderate blue. Relative luminance 0.279; OKLCH L 65.6% C 0.091 H 267.9°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#798FC9
RGBrgb(121, 143, 201)
HSLhsl(224, 43%, 63%)
HSVhsv(224, 40%, 79%)
CMYKcmyk(39.8%, 28.9%, 0%, 21.2%)
CIE-LABlab(59.82, 6.85, -32.46)
CIE-LCHlch(59.82, 33.18, 281.92°)
OKLaboklab(65.6% -0.0033 -0.0905)
OKLCHoklch(65.6% 0.091 267.9)
XYZxyz(28.2470, 27.9255, 59.1488)
Luminance0.2793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FC9 #C9B379
analogous
#79B7C9 #798FC9 #8B79C9
triadic
#798FC9 #C9798F #8FC979
tetradic
#798FC9 #C979B7 #C9B379 #79C98B
square
#798FC9 #C979B7 #C9B379 #79C98B
split-complementary
#798FC9 #C98B79 #B7C979
monochromatic
#39518E #4D6BB7 #798FC9 #A5B3DB #D0D8EC

Accessibility & contrast

On white

3.19
#798FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#798FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FC9
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FC9#FFFFFF#000000##000000
##798FC91.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B94CB
Deuteranopia (green-blind)
#748DC8
Tritanopia (blue-blind)
#5F9BA3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798fc9;
/* rgb */ color: rgb(121, 143, 201);
/* oklch */ color: oklch(65.6% 0.091 267.9);
Tailwind
colors: {
  custom: {
    50: '#a2afd9',
    500: '#798fc9',
    950: '#000000',
  },
}
SCSS
$custom: #798fc9;
$custom-light: #a2afd9;
$custom-dark: #000000;
JSON
{
  "hex": "#798fc9",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 201
  },
  "hsl": {
    "h": 223.5,
    "s": 42.553,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65595,
    "c": 0.09061,
    "h": 267.9
  },
  "luminance": 0.27927
}

Semantic roles & 50–950 ramp

primary
#798FC9
secondary
#DDD5C1
accent
#9130B6
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #798FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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