#798DB5#798DB5

#798DB5 is a light, moderate blue. Relative luminance 0.265; OKLCH L 64.3% C 0.065 H 264.0°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#798DB5
RGBrgb(121, 141, 181)
HSLhsl(220, 29%, 59%)
HSVhsv(220, 33%, 71%)
CMYKcmyk(33.1%, 22.1%, 0%, 29%)
CIE-LABlab(58.46, 2.57, -23.26)
CIE-LCHlch(58.46, 23.40, 276.30°)
OKLaboklab(64.27% -0.0068 -0.0642)
OKLCHoklch(64.27% 0.065 264)
XYZxyz(25.7481, 26.4499, 47.4558)
Luminance0.2645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DB5 #B5A179
analogous
#79ABB5 #798DB5 #8379B5
triadic
#798DB5 #B5798D #8DB579
tetradic
#798DB5 #B579AB #B5A179 #79B583
square
#798DB5 #B579AB #B5A179 #79B583
split-complementary
#798DB5 #B58379 #ABB579
monochromatic
#405174 #566D9B #798DB5 #A0AFCB #C8D0E1

Accessibility & contrast

On white

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

On black

6.29
#798DB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DB5
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DB5#FFFFFF#000000##000000
##798DB51.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8090B7
Deuteranopia (green-blind)
#7A8AB4
Tritanopia (blue-blind)
#67959B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #798db5;
/* rgb */ color: rgb(121, 141, 181);
/* oklch */ color: oklch(64.3% 0.065 264.0);
Tailwind
colors: {
  custom: {
    50: '#a1aecb',
    500: '#798db5',
    950: '#000000',
  },
}
SCSS
$custom: #798db5;
$custom-light: #a1aecb;
$custom-dark: #000000;
JSON
{
  "hex": "#798db5",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 181
  },
  "hsl": {
    "h": 220,
    "s": 28.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64267,
    "c": 0.06459,
    "h": 264
  },
  "luminance": 0.26451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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