#798ABA#798ABA

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

Color values

HEX#798ABA
RGBrgb(121, 138, 186)
HSLhsl(224, 32%, 60%)
HSVhsv(224, 35%, 73%)
CMYKcmyk(34.9%, 25.8%, 0%, 27.1%)
CIE-LABlab(57.83, 5.64, -27.06)
CIE-LCHlch(57.83, 27.64, 281.76°)
OKLaboklab(63.84% -0.0011 -0.0751)
OKLCHoklch(63.84% 0.075 269.2)
XYZxyz(25.8340, 25.7860, 50.0609)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798ABA #BAA979
analogous
#79AABA #798ABA #8879BA
triadic
#798ABA #BA798A #8ABA79
tetradic
#798ABA #BA79AA #BAA979 #79BA88
square
#798ABA #BA79AA #BAA979 #79BA88
split-complementary
#798ABA #BA8879 #AABA79
monochromatic
#3F4E7A #5468A2 #798ABA #A1ADCF #CAD1E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798ABA#FFFFFF#000000##000000
##798ABA1.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)
#7A8EBC
Deuteranopia (green-blind)
#7588B9
Tritanopia (blue-blind)
#66949B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #798aba;
/* rgb */ color: rgb(121, 138, 186);
/* oklch */ color: oklch(63.8% 0.075 269.2);
Tailwind
colors: {
  custom: {
    50: '#a1accf',
    500: '#798aba',
    950: '#000000',
  },
}
SCSS
$custom: #798aba;
$custom-light: #a1accf;
$custom-dark: #000000;
JSON
{
  "hex": "#798aba",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 186
  },
  "hsl": {
    "h": 224.308,
    "s": 32.02,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63842,
    "c": 0.07508,
    "h": 269.2
  },
  "luminance": 0.25787
}

Semantic roles & 50–950 ramp

primary
#798ABA
secondary
#D4CDBB
accent
#8D3BAB
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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