#798DB8#798DB8

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

Color values

HEX#798DB8
RGBrgb(121, 141, 184)
HSLhsl(221, 31%, 60%)
HSVhsv(221, 34%, 72%)
CMYKcmyk(34.2%, 23.4%, 0%, 27.8%)
CIE-LABlab(58.58, 3.36, -24.78)
CIE-LCHlch(58.58, 25.01, 277.73°)
OKLaboklab(64.4% -0.0058 -0.0686)
OKLCHoklch(64.4% 0.069 265.2)
XYZxyz(26.0592, 26.5743, 49.0944)
Luminance0.2657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DB8 #B8A479
analogous
#79ADB8 #798DB8 #8479B8
triadic
#798DB8 #B8798D #8DB879
tetradic
#798DB8 #B879AD #B8A479 #79B884
square
#798DB8 #B879AD #B8A479 #79B884
split-complementary
#798DB8 #B88479 #ADB879
monochromatic
#3F5177 #546C9F #798DB8 #A1AFCD #C9D1E2

Accessibility & contrast

On white

3.33
#798DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##798DB8#FFFFFF#000000##000000
##798DB81.003.336.326.32
#FFFFFF3.331.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F90BA
Deuteranopia (green-blind)
#798AB7
Tritanopia (blue-blind)
#66969C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #798db8;
/* rgb */ color: rgb(121, 141, 184);
/* oklch */ color: oklch(64.4% 0.069 265.2);
Tailwind
colors: {
  custom: {
    50: '#a1aecd',
    500: '#798db8',
    950: '#000000',
  },
}
SCSS
$custom: #798db8;
$custom-light: #a1aecd;
$custom-dark: #000000;
JSON
{
  "hex": "#798db8",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 184
  },
  "hsl": {
    "h": 220.952,
    "s": 30.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64396,
    "c": 0.06881,
    "h": 265.2
  },
  "luminance": 0.26575
}

Semantic roles & 50–950 ramp

primary
#798DB8
secondary
#D3CBBA
accent
#A761C7
background
#FAFAFC
surface
#F3F4F9
border
#CDCED2
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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