#798ABE#798ABE

#798ABE is a light, moderate blue. Relative luminance 0.260; OKLCH L 64.0% C 0.081 H 270.1°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#798ABE
RGBrgb(121, 138, 190)
HSLhsl(225, 35%, 61%)
HSVhsv(225, 36%, 75%)
CMYKcmyk(36.3%, 27.4%, 0%, 25.5%)
CIE-LABlab(58.00, 6.72, -29.08)
CIE-LCHlch(58.00, 29.85, 283.01°)
OKLaboklab(64.02% 0.0001 -0.0808)
OKLCHoklch(64.02% 0.081 270.1)
XYZxyz(26.2652, 25.9585, 52.3318)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798ABE #BEAD79
analogous
#79ACBE #798ABE #8A79BE
triadic
#798ABE #BE798A #8ABE79
tetradic
#798ABE #BE79AC #BEAD79 #79BE8A
square
#798ABE #BE79AC #BEAD79 #79BE8A
split-complementary
#798ABE #BE8A79 #ACBE79
monochromatic
#3E4E7F #5267A8 #798ABE #A2AED2 #CBD2E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798ABE#FFFFFF#000000##000000
##798ABE1.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)
#798FC0
Deuteranopia (green-blind)
#7389BD
Tritanopia (blue-blind)
#64949C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #798abe;
/* rgb */ color: rgb(121, 138, 190);
/* oklch */ color: oklch(64.0% 0.081 270.1);
Tailwind
colors: {
  custom: {
    50: '#a2acd1',
    500: '#798abe',
    950: '#000000',
  },
}
SCSS
$custom: #798abe;
$custom-light: #a2acd1;
$custom-dark: #000000;
JSON
{
  "hex": "#798abe",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 190
  },
  "hsl": {
    "h": 225.217,
    "s": 34.673,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64024,
    "c": 0.08084,
    "h": 270.1
  },
  "luminance": 0.2596
}

Semantic roles & 50–950 ramp

primary
#798ABE
secondary
#D6D0BC
accent
#9138AE
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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