#798DB3#798DB3

#798DB3 is a light, moderate blue. Relative luminance 0.264; OKLCH L 64.2% C 0.062 H 263.1°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#798DB3
RGBrgb(121, 141, 179)
HSLhsl(219, 28%, 59%)
HSVhsv(219, 32%, 70%)
CMYKcmyk(32.4%, 21.2%, 0%, 29.8%)
CIE-LABlab(58.39, 2.04, -22.24)
CIE-LCHlch(58.39, 22.33, 275.25°)
OKLaboklab(64.18% -0.0075 -0.0613)
OKLCHoklch(64.18% 0.062 263.1)
XYZxyz(25.5443, 26.3684, 46.3828)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DB3 #B39F79
analogous
#79AAB3 #798DB3 #8279B3
triadic
#798DB3 #B3798D #8DB379
tetradic
#798DB3 #B379AA #B39F79 #79B382
square
#798DB3 #B379AA #B39F79 #79B382
split-complementary
#798DB3 #B38279 #AAB379
monochromatic
#405171 #566D98 #798DB3 #A0AEC9 #C7CFDF

Accessibility & contrast

On white

3.35
#798DB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#798DB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DB3
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DB3#FFFFFF#000000##000000
##798DB31.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#808FB5
Deuteranopia (green-blind)
#7B8AB2
Tritanopia (blue-blind)
#68959A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #798db3;
/* rgb */ color: rgb(121, 141, 179);
/* oklch */ color: oklch(64.2% 0.062 263.1);
Tailwind
colors: {
  custom: {
    50: '#a1aec9',
    500: '#798db3',
    950: '#000000',
  },
}
SCSS
$custom: #798db3;
$custom-light: #a1aec9;
$custom-dark: #000000;
JSON
{
  "hex": "#798db3",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 179
  },
  "hsl": {
    "h": 219.31,
    "s": 27.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64181,
    "c": 0.06179,
    "h": 263.1
  },
  "luminance": 0.26369
}

Semantic roles & 50–950 ramp

primary
#798DB3
secondary
#CFC7B8
accent
#A364C4
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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