#798DAF#798DAF

#798DAF is a light, muted blue. Relative luminance 0.262; OKLCH L 64.0% C 0.056 H 261.0°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#798DAF
RGBrgb(121, 141, 175)
HSLhsl(218, 25%, 58%)
HSVhsv(218, 31%, 69%)
CMYKcmyk(30.9%, 19.4%, 0%, 31.4%)
CIE-LABlab(58.23, 1.00, -20.19)
CIE-LCHlch(58.23, 20.21, 272.84°)
OKLaboklab(64.01% -0.0088 -0.0556)
OKLCHoklch(64.01% 0.056 261)
XYZxyz(25.1457, 26.2089, 44.2830)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DAF #AF9B79
analogous
#79A8AF #798DAF #8079AF
triadic
#798DAF #AF798D #8DAF79
tetradic
#798DAF #AF79A8 #AF9B79 #79AF80
square
#798DAF #AF79A8 #AF9B79 #79AF80
split-complementary
#798DAF #AF8079 #A8AF79
monochromatic
#41516D #586E93 #798DAF #9FAEC6 #C6CEDD

Accessibility & contrast

On white

3.36
#798DAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#798DAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DAF
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DAF#FFFFFF#000000##000000
##798DAF1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#828FB1
Deuteranopia (green-blind)
#7C8AAE
Tritanopia (blue-blind)
#6A9498
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #798daf;
/* rgb */ color: rgb(121, 141, 175);
/* oklch */ color: oklch(64.0% 0.056 261.0);
Tailwind
colors: {
  custom: {
    50: '#a1aec7',
    500: '#798daf',
    950: '#000000',
  },
}
SCSS
$custom: #798daf;
$custom-light: #a1aec7;
$custom-dark: #000000;
JSON
{
  "hex": "#798daf",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 175
  },
  "hsl": {
    "h": 217.778,
    "s": 25.234,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64014,
    "c": 0.05626,
    "h": 261
  },
  "luminance": 0.2621
}

Semantic roles & 50–950 ramp

primary
#798DAF
secondary
#CDC5B7
accent
#A066C2
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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