#798EB7#798EB7

#798EB7 is a light, moderate blue. Relative luminance 0.268; OKLCH L 64.6% C 0.066 H 263.5°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#798EB7
RGBrgb(121, 142, 183)
HSLhsl(220, 30%, 60%)
HSVhsv(220, 34%, 72%)
CMYKcmyk(33.9%, 22.4%, 0%, 28.2%)
CIE-LABlab(58.82, 2.52, -23.85)
CIE-LCHlch(58.82, 23.98, 276.04°)
OKLaboklab(64.57% -0.0075 -0.0659)
OKLCHoklch(64.57% 0.066 263.5)
XYZxyz(26.1029, 26.8288, 48.5937)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EB7 #B7A279
analogous
#79ADB7 #798EB7 #8379B7
triadic
#798EB7 #B7798E #8EB779
tetradic
#798EB7 #B779AD #B7A279 #79B783
square
#798EB7 #B779AD #B7A279 #79B783
split-complementary
#798EB7 #B78379 #ADB779
monochromatic
#3F5276 #556E9E #798EB7 #A1B0CC #C9D1E2

Accessibility & contrast

On white

3.30
#798EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#798EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EB7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EB7#FFFFFF#000000##000000
##798EB71.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8091B9
Deuteranopia (green-blind)
#7A8BB6
Tritanopia (blue-blind)
#67969C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #798eb7;
/* rgb */ color: rgb(121, 142, 183);
/* oklch */ color: oklch(64.6% 0.066 263.5);
Tailwind
colors: {
  custom: {
    50: '#a1aecc',
    500: '#798eb7',
    950: '#000000',
  },
}
SCSS
$custom: #798eb7;
$custom-light: #a1aecc;
$custom-dark: #000000;
JSON
{
  "hex": "#798eb7",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 183
  },
  "hsl": {
    "h": 219.677,
    "s": 30.097,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64569,
    "c": 0.06635,
    "h": 263.5
  },
  "luminance": 0.2683
}

Semantic roles & 50–950 ramp

primary
#798EB7
secondary
#D2CABA
accent
#A461C6
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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