#798BB4#798BB4

#798BB4 is a light, moderate blue. Relative luminance 0.258; OKLCH L 63.8% C 0.065 H 266.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#798BB4
RGBrgb(121, 139, 180)
HSLhsl(222, 28%, 59%)
HSVhsv(222, 33%, 71%)
CMYKcmyk(32.8%, 22.8%, 0%, 29.4%)
CIE-LABlab(57.87, 3.46, -23.59)
CIE-LCHlch(57.87, 23.85, 278.34°)
OKLaboklab(63.79% -0.0044 -0.0652)
OKLCHoklch(63.79% 0.065 266.2)
XYZxyz(25.3536, 25.8245, 46.8199)
Luminance0.2582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BB4 #B4A279
analogous
#79A9B4 #798BB4 #8579B4
triadic
#798BB4 #B4798B #8BB479
tetradic
#798BB4 #B479A9 #B4A279 #79B485
square
#798BB4 #B479A9 #B4A279 #79B485
split-complementary
#798BB4 #B48579 #A9B479
monochromatic
#404F73 #566B9A #798BB4 #A0ADCA #C7CFE0

Accessibility & contrast

On white

3.41
#798BB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#798BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BB4
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BB4#FFFFFF#000000##000000
##798BB41.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8EB6
Deuteranopia (green-blind)
#7889B3
Tritanopia (blue-blind)
#689399
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #798bb4;
/* rgb */ color: rgb(121, 139, 180);
/* oklch */ color: oklch(63.8% 0.065 266.2);
Tailwind
colors: {
  custom: {
    50: '#a1acca',
    500: '#798bb4',
    950: '#000000',
  },
}
SCSS
$custom: #798bb4;
$custom-light: #a1acca;
$custom-dark: #000000;
JSON
{
  "hex": "#798bb4",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 180
  },
  "hsl": {
    "h": 221.695,
    "s": 28.23,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63792,
    "c": 0.06534,
    "h": 266.2
  },
  "luminance": 0.25825
}

Semantic roles & 50–950 ramp

primary
#798BB4
secondary
#D0C9B9
accent
#A763C5
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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