#798BB3#798BB3

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

Color values

HEX#798BB3
RGBrgb(121, 139, 179)
HSLhsl(221, 28%, 59%)
HSVhsv(221, 32%, 70%)
CMYKcmyk(32.4%, 22.3%, 0%, 29.8%)
CIE-LABlab(57.83, 3.19, -23.09)
CIE-LCHlch(57.83, 23.30, 277.88°)
OKLaboklab(63.75% -0.0047 -0.0637)
OKLCHoklch(63.75% 0.064 265.8)
XYZxyz(25.2521, 25.7839, 46.2854)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BB3 #B3A179
analogous
#79A8B3 #798BB3 #8479B3
triadic
#798BB3 #B3798B #8BB379
tetradic
#798BB3 #B379A8 #B3A179 #79B384
square
#798BB3 #B379A8 #B3A179 #79B384
split-complementary
#798BB3 #B38479 #A8B379
monochromatic
#404F71 #566B98 #798BB3 #A0ADC9 #C7CFDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798BB3#FFFFFF#000000##000000
##798BB31.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)
#7E8EB5
Deuteranopia (green-blind)
#7989B2
Tritanopia (blue-blind)
#689399
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #798bb3;
/* rgb */ color: rgb(121, 139, 179);
/* oklch */ color: oklch(63.7% 0.064 265.8);
Tailwind
colors: {
  custom: {
    50: '#a1acc9',
    500: '#798bb3',
    950: '#000000',
  },
}
SCSS
$custom: #798bb3;
$custom-light: #a1acc9;
$custom-dark: #000000;
JSON
{
  "hex": "#798bb3",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 179
  },
  "hsl": {
    "h": 221.379,
    "s": 27.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63748,
    "c": 0.06391,
    "h": 265.8
  },
  "luminance": 0.25785
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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