#798CB7#798CB7

#798CB7 is a light, moderate blue. Relative luminance 0.262; OKLCH L 64.1% C 0.068 H 266.0°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#798CB7
RGBrgb(121, 140, 183)
HSLhsl(222, 30%, 60%)
HSVhsv(222, 34%, 72%)
CMYKcmyk(33.9%, 23.5%, 0%, 28.2%)
CIE-LABlab(58.26, 3.67, -24.70)
CIE-LCHlch(58.26, 24.97, 278.46°)
OKLaboklab(64.14% -0.0048 -0.0683)
OKLCHoklch(64.14% 0.068 266)
XYZxyz(25.8080, 26.2390, 48.4954)
Luminance0.2624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CB7 #B7A479
analogous
#79ABB7 #798CB7 #8579B7
triadic
#798CB7 #B7798C #8CB779
tetradic
#798CB7 #B779AB #B7A479 #79B785
square
#798CB7 #B779AB #B7A479 #79B785
split-complementary
#798CB7 #B78579 #ABB779
monochromatic
#3F5076 #556B9E #798CB7 #A1AECC #C9D0E2

Accessibility & contrast

On white

3.36
#798CB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#798CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CB7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CB7#FFFFFF#000000##000000
##798CB71.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8FB9
Deuteranopia (green-blind)
#788AB6
Tritanopia (blue-blind)
#67959B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #798cb7;
/* rgb */ color: rgb(121, 140, 183);
/* oklch */ color: oklch(64.1% 0.068 266.0);
Tailwind
colors: {
  custom: {
    50: '#a1adcc',
    500: '#798cb7',
    950: '#000000',
  },
}
SCSS
$custom: #798cb7;
$custom-light: #a1adcc;
$custom-dark: #000000;
JSON
{
  "hex": "#798cb7",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 183
  },
  "hsl": {
    "h": 221.613,
    "s": 30.097,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64137,
    "c": 0.06849,
    "h": 266
  },
  "luminance": 0.2624
}

Semantic roles & 50–950 ramp

primary
#798CB7
secondary
#D2CBBA
accent
#A761C6
background
#FAFAFC
surface
#F3F4F9
border
#CDCED2
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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