#798CC2#798CC2

#798CC2 is a light, moderate blue. Relative luminance 0.267; OKLCH L 64.6% C 0.084 H 269.1°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#798CC2
RGBrgb(121, 140, 194)
HSLhsl(224, 37%, 62%)
HSVhsv(224, 38%, 76%)
CMYKcmyk(37.6%, 27.8%, 0%, 23.9%)
CIE-LABlab(58.71, 6.65, -30.24)
CIE-LCHlch(58.71, 30.96, 282.40°)
OKLaboklab(64.63% -0.0014 -0.0842)
OKLCHoklch(64.63% 0.084 269.1)
XYZxyz(26.9979, 26.7149, 54.7624)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CC2 #C2AF79
analogous
#79B1C2 #798CC2 #8B79C2
triadic
#798CC2 #C2798C #8CC279
tetradic
#798CC2 #C279B1 #C2AF79 #79C28B
square
#798CC2 #C279B1 #C2AF79 #79C28B
split-complementary
#798CC2 #C28B79 #B1C279
monochromatic
#3C4F84 #4F68AE #798CC2 #A3B0D5 #CDD4E8

Accessibility & contrast

On white

3.31
#798CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#798CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CC2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CC2#FFFFFF#000000##000000
##798CC21.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A91C4
Deuteranopia (green-blind)
#738AC1
Tritanopia (blue-blind)
#63979F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #798cc2;
/* rgb */ color: rgb(121, 140, 194);
/* oklch */ color: oklch(64.6% 0.084 269.1);
Tailwind
colors: {
  custom: {
    50: '#a2add4',
    500: '#798cc2',
    950: '#000000',
  },
}
SCSS
$custom: #798cc2;
$custom-light: #a2add4;
$custom-dark: #000000;
JSON
{
  "hex": "#798cc2",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 194
  },
  "hsl": {
    "h": 224.384,
    "s": 37.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64633,
    "c": 0.08418,
    "h": 269.1
  },
  "luminance": 0.26716
}

Semantic roles & 50–950 ramp

primary
#798CC2
secondary
#D9D2BE
accent
#9035B0
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #798CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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