#798FB2#798FB2

#798FB2 is a light, muted blue. Relative luminance 0.269; OKLCH L 64.6% C 0.058 H 259.6°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#798FB2
RGBrgb(121, 143, 178)
HSLhsl(217, 27%, 59%)
HSVhsv(217, 32%, 70%)
CMYKcmyk(32%, 19.7%, 0%, 30.2%)
CIE-LABlab(58.90, 0.64, -20.87)
CIE-LCHlch(58.90, 20.88, 271.74°)
OKLaboklab(64.58% -0.0106 -0.0575)
OKLCHoklch(64.58% 0.058 259.6)
XYZxyz(25.7411, 26.9232, 45.9513)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FB2 #B29C79
analogous
#79ABB2 #798FB2 #7F79B2
triadic
#798FB2 #B2798F #8FB279
tetradic
#798FB2 #B279AB #B29C79 #79B27F
square
#798FB2 #B279AB #B29C79 #79B27F
split-complementary
#798FB2 #B27F79 #ABB279
monochromatic
#405370 #577097 #798FB2 #A0AFC8 #C7D0DF

Accessibility & contrast

On white

3.29
#798FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#798FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FB2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FB2#FFFFFF#000000##000000
##798FB21.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8391B4
Deuteranopia (green-blind)
#7D8BB1
Tritanopia (blue-blind)
#68969B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #798fb2;
/* rgb */ color: rgb(121, 143, 178);
/* oklch */ color: oklch(64.6% 0.058 259.6);
Tailwind
colors: {
  custom: {
    50: '#a1afc9',
    500: '#798fb2',
    950: '#000000',
  },
}
SCSS
$custom: #798fb2;
$custom-light: #a1afc9;
$custom-dark: #000000;
JSON
{
  "hex": "#798fb2",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 178
  },
  "hsl": {
    "h": 216.842,
    "s": 27.014,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64575,
    "c": 0.05846,
    "h": 259.6
  },
  "luminance": 0.26924
}

Semantic roles & 50–950 ramp

primary
#798FB2
secondary
#CFC6B8
accent
#9F64C3
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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