#798DB0#798DB0

#798DB0 is a light, muted blue. Relative luminance 0.262; OKLCH L 64.1% C 0.058 H 261.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#798DB0
RGBrgb(121, 141, 176)
HSLhsl(218, 26%, 58%)
HSVhsv(218, 31%, 69%)
CMYKcmyk(31.3%, 19.9%, 0%, 31%)
CIE-LABlab(58.27, 1.26, -20.70)
CIE-LCHlch(58.27, 20.74, 273.49°)
OKLaboklab(64.06% -0.0085 -0.057)
OKLCHoklch(64.06% 0.058 261.5)
XYZxyz(25.2442, 26.2483, 44.8022)
Luminance0.2625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DB0 #B09C79
analogous
#79A8B0 #798DB0 #8079B0
triadic
#798DB0 #B0798D #8DB079
tetradic
#798DB0 #B079A8 #B09C79 #79B080
square
#798DB0 #B079A8 #B09C79 #79B080
split-complementary
#798DB0 #B08079 #A8B079
monochromatic
#41516E #576E94 #798DB0 #A0AEC7 #C6CFDD

Accessibility & contrast

On white

3.36
#798DB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#798DB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DB0
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DB0#FFFFFF#000000##000000
##798DB01.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#818FB2
Deuteranopia (green-blind)
#7C8AAF
Tritanopia (blue-blind)
#699499
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #798db0;
/* rgb */ color: rgb(121, 141, 176);
/* oklch */ color: oklch(64.1% 0.058 261.5);
Tailwind
colors: {
  custom: {
    50: '#a1aec7',
    500: '#798db0',
    950: '#000000',
  },
}
SCSS
$custom: #798db0;
$custom-light: #a1aec7;
$custom-dark: #000000;
JSON
{
  "hex": "#798db0",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 176
  },
  "hsl": {
    "h": 218.182,
    "s": 25.822,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64056,
    "c": 0.05763,
    "h": 261.5
  },
  "luminance": 0.26249
}

Semantic roles & 50–950 ramp

primary
#798DB0
secondary
#CDC5B7
accent
#A166C2
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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