#798BB7#798BB7

#798BB7 is a light, moderate blue. Relative luminance 0.259; OKLCH L 63.9% C 0.070 H 267.2°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#798BB7
RGBrgb(121, 139, 183)
HSLhsl(223, 30%, 60%)
HSVhsv(223, 34%, 72%)
CMYKcmyk(33.9%, 24%, 0%, 28.2%)
CIE-LABlab(57.99, 4.25, -25.12)
CIE-LCHlch(57.99, 25.48, 279.61°)
OKLaboklab(63.92% -0.0034 -0.0695)
OKLCHoklch(63.92% 0.07 267.2)
XYZxyz(25.6625, 25.9481, 48.4469)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BB7 #B7A579
analogous
#79AAB7 #798BB7 #8679B7
triadic
#798BB7 #B7798B #8BB779
tetradic
#798BB7 #B779AA #B7A579 #79B786
square
#798BB7 #B779AA #B7A579 #79B786
split-complementary
#798BB7 #B78679 #AAB779
monochromatic
#3F4F76 #556A9E #798BB7 #A1ADCC #C9D0E2

Accessibility & contrast

On white

3.39
#798BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#798BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BB7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BB7#FFFFFF#000000##000000
##798BB71.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8EB9
Deuteranopia (green-blind)
#7789B6
Tritanopia (blue-blind)
#67949A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #798bb7;
/* rgb */ color: rgb(121, 139, 183);
/* oklch */ color: oklch(63.9% 0.070 267.2);
Tailwind
colors: {
  custom: {
    50: '#a1accc',
    500: '#798bb7',
    950: '#000000',
  },
}
SCSS
$custom: #798bb7;
$custom-light: #a1accc;
$custom-dark: #000000;
JSON
{
  "hex": "#798bb7",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 183
  },
  "hsl": {
    "h": 222.581,
    "s": 30.097,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63922,
    "c": 0.06961,
    "h": 267.2
  },
  "luminance": 0.25949
}

Semantic roles & 50–950 ramp

primary
#798BB7
secondary
#D2CBBA
accent
#A961C6
background
#FAFAFC
surface
#F3F4F9
border
#CDCED2
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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