#798CB3#798CB3

#798CB3 is a light, moderate blue. Relative luminance 0.261; OKLCH L 64.0% C 0.063 H 264.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#798CB3
RGBrgb(121, 140, 179)
HSLhsl(220, 28%, 59%)
HSVhsv(220, 32%, 70%)
CMYKcmyk(32.4%, 21.8%, 0%, 29.8%)
CIE-LABlab(58.11, 2.62, -22.66)
CIE-LCHlch(58.11, 22.81, 276.59°)
OKLaboklab(63.97% -0.0061 -0.0625)
OKLCHoklch(63.97% 0.063 264.4)
XYZxyz(25.3976, 26.0748, 46.3338)
Luminance0.2608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CB3 #B3A079
analogous
#79A9B3 #798CB3 #8379B3
triadic
#798CB3 #B3798C #8CB379
tetradic
#798CB3 #B379A9 #B3A079 #79B383
square
#798CB3 #B379A9 #B3A079 #79B383
split-complementary
#798CB3 #B38379 #A9B379
monochromatic
#405071 #566C98 #798CB3 #A0AEC9 #C7CFDF

Accessibility & contrast

On white

3.38
#798CB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#798CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CB3
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CB3#FFFFFF#000000##000000
##798CB31.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8FB5
Deuteranopia (green-blind)
#7A89B2
Tritanopia (blue-blind)
#689499
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #798cb3;
/* rgb */ color: rgb(121, 140, 179);
/* oklch */ color: oklch(64.0% 0.063 264.4);
Tailwind
colors: {
  custom: {
    50: '#a1adc9',
    500: '#798cb3',
    950: '#000000',
  },
}
SCSS
$custom: #798cb3;
$custom-light: #a1adc9;
$custom-dark: #000000;
JSON
{
  "hex": "#798cb3",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 179
  },
  "hsl": {
    "h": 220.345,
    "s": 27.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63965,
    "c": 0.06284,
    "h": 264.4
  },
  "luminance": 0.26076
}

Semantic roles & 50–950 ramp

primary
#798CB3
secondary
#CFC8B8
accent
#A464C4
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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