#798FB7#798FB7

#798FB7 is a light, moderate blue. Relative luminance 0.271; OKLCH L 64.8% C 0.065 H 262.2°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#798FB7
RGBrgb(121, 143, 183)
HSLhsl(219, 30%, 60%)
HSVhsv(219, 34%, 72%)
CMYKcmyk(33.9%, 21.9%, 0%, 28.2%)
CIE-LABlab(59.09, 1.95, -23.42)
CIE-LCHlch(59.09, 23.50, 274.75°)
OKLaboklab(64.79% -0.0089 -0.0647)
OKLCHoklch(64.79% 0.065 262.2)
XYZxyz(26.2523, 27.1277, 48.6435)
Luminance0.2713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FB7 #B7A179
analogous
#79AEB7 #798FB7 #8279B7
triadic
#798FB7 #B7798F #8FB779
tetradic
#798FB7 #B779AE #B7A179 #79B782
square
#798FB7 #B779AE #B7A179 #79B782
split-complementary
#798FB7 #B78279 #AEB779
monochromatic
#3F5376 #556F9E #798FB7 #A1B0CC #C9D2E2

Accessibility & contrast

On white

3.27
#798FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#798FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FB7
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FB7#FFFFFF#000000##000000
##798FB71.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8191B9
Deuteranopia (green-blind)
#7B8CB6
Tritanopia (blue-blind)
#67979C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #798fb7;
/* rgb */ color: rgb(121, 143, 183);
/* oklch */ color: oklch(64.8% 0.065 262.2);
Tailwind
colors: {
  custom: {
    50: '#a1afcc',
    500: '#798fb7',
    950: '#000000',
  },
}
SCSS
$custom: #798fb7;
$custom-light: #a1afcc;
$custom-dark: #000000;
JSON
{
  "hex": "#798fb7",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 183
  },
  "hsl": {
    "h": 218.71,
    "s": 30.097,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64785,
    "c": 0.06531,
    "h": 262.2
  },
  "luminance": 0.27129
}

Semantic roles & 50–950 ramp

primary
#798FB7
secondary
#D2C9BA
accent
#A361C6
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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