#798EAF#798EAF

#798EAF is a light, muted blue. Relative luminance 0.265; OKLCH L 64.2% C 0.055 H 259.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#798EAF
RGBrgb(121, 142, 175)
HSLhsl(217, 25%, 58%)
HSVhsv(217, 31%, 69%)
CMYKcmyk(30.9%, 18.9%, 0%, 31.4%)
CIE-LABlab(58.51, 0.43, -19.76)
CIE-LCHlch(58.51, 19.77, 271.25°)
OKLaboklab(64.23% -0.0102 -0.0544)
OKLCHoklch(64.23% 0.055 259.3)
XYZxyz(25.2938, 26.5051, 44.3324)
Luminance0.2651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EAF #AF9A79
analogous
#79A9AF #798EAF #7F79AF
triadic
#798EAF #AF798E #8EAF79
tetradic
#798EAF #AF79A9 #AF9A79 #79AF7F
square
#798EAF #AF79A9 #AF9A79 #79AF7F
split-complementary
#798EAF #AF7F79 #A9AF79
monochromatic
#41526D #586F93 #798EAF #9FAEC6 #C6CFDD

Accessibility & contrast

On white

3.33
#798EAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#798EAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EAF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EAF#FFFFFF#000000##000000
##798EAF1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8390B1
Deuteranopia (green-blind)
#7D8AAE
Tritanopia (blue-blind)
#699599
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #798eaf;
/* rgb */ color: rgb(121, 142, 175);
/* oklch */ color: oklch(64.2% 0.055 259.3);
Tailwind
colors: {
  custom: {
    50: '#a1afc7',
    500: '#798eaf',
    950: '#000000',
  },
}
SCSS
$custom: #798eaf;
$custom-light: #a1afc7;
$custom-dark: #000000;
JSON
{
  "hex": "#798eaf",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 175
  },
  "hsl": {
    "h": 216.667,
    "s": 25.234,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64232,
    "c": 0.05531,
    "h": 259.3
  },
  "luminance": 0.26506
}

Semantic roles & 50–950 ramp

primary
#798EAF
secondary
#CDC4B7
accent
#9E66C2
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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