#798FB4#798FB4

#798FB4 is a light, moderate blue. Relative luminance 0.270; OKLCH L 64.7% C 0.061 H 260.7°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#798FB4
RGBrgb(121, 143, 180)
HSLhsl(218, 28%, 59%)
HSVhsv(218, 33%, 71%)
CMYKcmyk(32.8%, 20.6%, 0%, 29.4%)
CIE-LABlab(58.98, 1.16, -21.90)
CIE-LCHlch(58.98, 21.93, 273.03°)
OKLaboklab(64.66% -0.0099 -0.0604)
OKLCHoklch(64.66% 0.061 260.7)
XYZxyz(25.9434, 27.0041, 47.0165)
Luminance0.2701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FB4 #B49E79
analogous
#79ADB4 #798FB4 #8179B4
triadic
#798FB4 #B4798F #8FB479
tetradic
#798FB4 #B479AD #B49E79 #79B481
square
#798FB4 #B479AD #B49E79 #79B481
split-complementary
#798FB4 #B48179 #ADB479
monochromatic
#405373 #566F9A #798FB4 #A0B0CA #C7D1E0

Accessibility & contrast

On white

3.28
#798FB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#798FB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FB4
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FB4#FFFFFF#000000##000000
##798FB41.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8291B6
Deuteranopia (green-blind)
#7C8BB3
Tritanopia (blue-blind)
#68979B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #798fb4;
/* rgb */ color: rgb(121, 143, 180);
/* oklch */ color: oklch(64.7% 0.061 260.7);
Tailwind
colors: {
  custom: {
    50: '#a1afca',
    500: '#798fb4',
    950: '#000000',
  },
}
SCSS
$custom: #798fb4;
$custom-light: #a1afca;
$custom-dark: #000000;
JSON
{
  "hex": "#798fb4",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 180
  },
  "hsl": {
    "h": 217.627,
    "s": 28.23,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64658,
    "c": 0.06119,
    "h": 260.7
  },
  "luminance": 0.27005
}

Semantic roles & 50–950 ramp

primary
#798FB4
secondary
#D0C7B9
accent
#A063C5
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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