#798DB9#798DB9

#798DB9 is a light, moderate blue. Relative luminance 0.266; OKLCH L 64.4% C 0.070 H 265.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#798DB9
RGBrgb(121, 141, 185)
HSLhsl(221, 31%, 60%)
HSVhsv(221, 35%, 73%)
CMYKcmyk(34.6%, 23.8%, 0%, 27.5%)
CIE-LABlab(58.62, 3.63, -25.29)
CIE-LCHlch(58.62, 25.55, 278.17°)
OKLaboklab(64.44% -0.0055 -0.07)
OKLCHoklch(64.44% 0.07 265.5)
XYZxyz(26.1644, 26.6164, 49.6484)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DB9 #B9A579
analogous
#79ADB9 #798DB9 #8579B9
triadic
#798DB9 #B9798D #8DB979
tetradic
#798DB9 #B979AD #B9A579 #79B985
square
#798DB9 #B979AD #B9A579 #79B985
split-complementary
#798DB9 #B98579 #ADB979
monochromatic
#3F5179 #546CA1 #798DB9 #A1AFCE #C9D1E3

Accessibility & contrast

On white

3.32
#798DB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#798DB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DB9
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DB9#FFFFFF#000000##000000
##798DB91.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E90BB
Deuteranopia (green-blind)
#788AB8
Tritanopia (blue-blind)
#66969C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #798db9;
/* rgb */ color: rgb(121, 141, 185);
/* oklch */ color: oklch(64.4% 0.070 265.5);
Tailwind
colors: {
  custom: {
    50: '#a1aece',
    500: '#798db9',
    950: '#000000',
  },
}
SCSS
$custom: #798db9;
$custom-light: #a1aece;
$custom-dark: #000000;
JSON
{
  "hex": "#798db9",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 185
  },
  "hsl": {
    "h": 221.25,
    "s": 31.373,
    "l": 60
  },
  "oklch": {
    "l": 0.6444,
    "c": 0.07022,
    "h": 265.5
  },
  "luminance": 0.26617
}

Semantic roles & 50–950 ramp

primary
#798DB9
secondary
#D3CCBB
accent
#A760C8
background
#FAFAFC
surface
#F3F4F9
border
#CDCED2
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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