#798CB8#798CB8

#798CB8 is a light, moderate blue. Relative luminance 0.263; OKLCH L 64.2% C 0.070 H 266.4°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#798CB8
RGBrgb(121, 140, 184)
HSLhsl(222, 31%, 60%)
HSVhsv(222, 34%, 72%)
CMYKcmyk(34.2%, 23.9%, 0%, 27.8%)
CIE-LABlab(58.30, 3.94, -25.20)
CIE-LCHlch(58.30, 25.51, 278.89°)
OKLaboklab(64.18% -0.0044 -0.0698)
OKLCHoklch(64.18% 0.07 266.4)
XYZxyz(25.9124, 26.2807, 49.0455)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CB8 #B8A579
analogous
#79ACB8 #798CB8 #8679B8
triadic
#798CB8 #B8798C #8CB879
tetradic
#798CB8 #B879AC #B8A579 #79B886
square
#798CB8 #B879AC #B8A579 #79B886
split-complementary
#798CB8 #B88679 #ACB879
monochromatic
#3F5077 #546B9F #798CB8 #A1AECD #C9D1E2

Accessibility & contrast

On white

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

On black

6.26
#798CB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CB8
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CB8#FFFFFF#000000##000000
##798CB81.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8FBA
Deuteranopia (green-blind)
#788AB7
Tritanopia (blue-blind)
#66959B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #798cb8;
/* rgb */ color: rgb(121, 140, 184);
/* oklch */ color: oklch(64.2% 0.070 266.4);
Tailwind
colors: {
  custom: {
    50: '#a1adcd',
    500: '#798cb8',
    950: '#000000',
  },
}
SCSS
$custom: #798cb8;
$custom-light: #a1adcd;
$custom-dark: #000000;
JSON
{
  "hex": "#798cb8",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 184
  },
  "hsl": {
    "h": 221.905,
    "s": 30.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64181,
    "c": 0.06991,
    "h": 266.4
  },
  "luminance": 0.26282
}

Semantic roles & 50–950 ramp

primary
#798CB8
secondary
#D3CBBA
accent
#A861C7
background
#FAFAFC
surface
#F3F4F9
border
#CDCED2
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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