#798EB4#798EB4

#798EB4 is a light, moderate blue. Relative luminance 0.267; OKLCH L 64.4% C 0.062 H 262.1°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#798EB4
RGBrgb(121, 142, 180)
HSLhsl(219, 28%, 59%)
HSVhsv(219, 33%, 71%)
CMYKcmyk(32.8%, 21.1%, 0%, 29.4%)
CIE-LABlab(58.70, 1.73, -22.32)
CIE-LCHlch(58.70, 22.39, 274.43°)
OKLaboklab(64.44% -0.0085 -0.0616)
OKLCHoklch(64.44% 0.062 262.1)
XYZxyz(25.7940, 26.7052, 46.9667)
Luminance0.2671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EB4 #B49F79
analogous
#79ACB4 #798EB4 #8279B4
triadic
#798EB4 #B4798E #8EB479
tetradic
#798EB4 #B479AC #B49F79 #79B482
square
#798EB4 #B479AC #B49F79 #79B482
split-complementary
#798EB4 #B48279 #ACB479
monochromatic
#405273 #566E9A #798EB4 #A0AFCA #C7D0E0

Accessibility & contrast

On white

3.31
#798EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#798EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EB4
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EB4#FFFFFF#000000##000000
##798EB41.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8190B6
Deuteranopia (green-blind)
#7B8BB3
Tritanopia (blue-blind)
#68969B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #798eb4;
/* rgb */ color: rgb(121, 142, 180);
/* oklch */ color: oklch(64.4% 0.062 262.1);
Tailwind
colors: {
  custom: {
    50: '#a1afca',
    500: '#798eb4',
    950: '#000000',
  },
}
SCSS
$custom: #798eb4;
$custom-light: #a1afca;
$custom-dark: #000000;
JSON
{
  "hex": "#798eb4",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 180
  },
  "hsl": {
    "h": 218.644,
    "s": 28.23,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64441,
    "c": 0.06217,
    "h": 262.1
  },
  "luminance": 0.26706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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