#798EB0#798EB0

#798EB0 is a light, muted blue. Relative luminance 0.265; OKLCH L 64.3% C 0.057 H 260.0°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#798EB0
RGBrgb(121, 142, 176)
HSLhsl(217, 26%, 58%)
HSVhsv(217, 31%, 69%)
CMYKcmyk(31.3%, 19.3%, 0%, 31%)
CIE-LABlab(58.55, 0.69, -20.28)
CIE-LCHlch(58.55, 20.29, 271.94°)
OKLaboklab(64.27% -0.0099 -0.0558)
OKLCHoklch(64.27% 0.057 260)
XYZxyz(25.3923, 26.5446, 44.8516)
Luminance0.2655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EB0 #B09B79
analogous
#79A9B0 #798EB0 #7F79B0
triadic
#798EB0 #B0798E #8EB079
tetradic
#798EB0 #B079A9 #B09B79 #79B07F
square
#798EB0 #B079A9 #B09B79 #79B07F
split-complementary
#798EB0 #B07F79 #A9B079
monochromatic
#41526E #576F94 #798EB0 #A0AEC7 #C6CFDD

Accessibility & contrast

On white

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

On black

6.31
#798EB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EB0
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EB0#FFFFFF#000000##000000
##798EB01.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8290B2
Deuteranopia (green-blind)
#7D8AAF
Tritanopia (blue-blind)
#699599
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #798eb0;
/* rgb */ color: rgb(121, 142, 176);
/* oklch */ color: oklch(64.3% 0.057 260.0);
Tailwind
colors: {
  custom: {
    50: '#a1afc7',
    500: '#798eb0',
    950: '#000000',
  },
}
SCSS
$custom: #798eb0;
$custom-light: #a1afc7;
$custom-dark: #000000;
JSON
{
  "hex": "#798eb0",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 176
  },
  "hsl": {
    "h": 217.091,
    "s": 25.822,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64274,
    "c": 0.05668,
    "h": 260
  },
  "luminance": 0.26546
}

Semantic roles & 50–950 ramp

primary
#798EB0
secondary
#CDC5B7
accent
#9F66C2
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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