#798DB4#798DB4

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

Color values

HEX#798DB4
RGBrgb(121, 141, 180)
HSLhsl(220, 28%, 59%)
HSVhsv(220, 33%, 71%)
CMYKcmyk(32.8%, 21.7%, 0%, 29.4%)
CIE-LABlab(58.42, 2.30, -22.75)
CIE-LCHlch(58.42, 22.86, 275.79°)
OKLaboklab(64.22% -0.0071 -0.0628)
OKLCHoklch(64.22% 0.063 263.5)
XYZxyz(25.6458, 26.4090, 46.9173)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DB4 #B4A079
analogous
#79ABB4 #798DB4 #8379B4
triadic
#798DB4 #B4798D #8DB479
tetradic
#798DB4 #B479AB #B4A079 #79B483
square
#798DB4 #B479AB #B4A079 #79B483
split-complementary
#798DB4 #B48379 #ABB479
monochromatic
#405173 #566D9A #798DB4 #A0AECA #C7D0E0

Accessibility & contrast

On white

3.34
#798DB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#798DB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DB4
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DB4#FFFFFF#000000##000000
##798DB41.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #798db4;
/* rgb */ color: rgb(121, 141, 180);
/* oklch */ color: oklch(64.2% 0.063 263.5);
Tailwind
colors: {
  custom: {
    50: '#a1aeca',
    500: '#798db4',
    950: '#000000',
  },
}
SCSS
$custom: #798db4;
$custom-light: #a1aeca;
$custom-dark: #000000;
JSON
{
  "hex": "#798db4",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 180
  },
  "hsl": {
    "h": 219.661,
    "s": 28.23,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64224,
    "c": 0.06319,
    "h": 263.5
  },
  "luminance": 0.2641
}

Semantic roles & 50–950 ramp

primary
#798DB4
secondary
#D0C8B9
accent
#A463C5
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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