#798DC2#798DC2

#798DC2 is a light, moderate blue. Relative luminance 0.270; OKLCH L 64.8% C 0.083 H 268.1°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#798DC2
RGBrgb(121, 141, 194)
HSLhsl(224, 37%, 62%)
HSVhsv(224, 38%, 76%)
CMYKcmyk(37.6%, 27.3%, 0%, 23.9%)
CIE-LABlab(58.98, 6.07, -29.82)
CIE-LCHlch(58.98, 30.43, 281.51°)
OKLaboklab(64.85% -0.0027 -0.083)
OKLCHoklch(64.85% 0.083 268.1)
XYZxyz(27.1447, 27.0085, 54.8114)
Luminance0.2701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DC2 #C2AE79
analogous
#79B2C2 #798DC2 #8A79C2
triadic
#798DC2 #C2798D #8DC279
tetradic
#798DC2 #C279B2 #C2AE79 #79C28A
square
#798DC2 #C279B2 #C2AE79 #79C28A
split-complementary
#798DC2 #C28A79 #B2C279
monochromatic
#3C5084 #4F69AE #798DC2 #A3B1D5 #CDD5E8

Accessibility & contrast

On white

3.28
#798DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#798DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DC2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DC2#FFFFFF#000000##000000
##798DC21.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B91C4
Deuteranopia (green-blind)
#758BC1
Tritanopia (blue-blind)
#62989F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #798dc2;
/* rgb */ color: rgb(121, 141, 194);
/* oklch */ color: oklch(64.8% 0.083 268.1);
Tailwind
colors: {
  custom: {
    50: '#a2aed4',
    500: '#798dc2',
    950: '#000000',
  },
}
SCSS
$custom: #798dc2;
$custom-light: #a2aed4;
$custom-dark: #000000;
JSON
{
  "hex": "#798dc2",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 194
  },
  "hsl": {
    "h": 223.562,
    "s": 37.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64845,
    "c": 0.083,
    "h": 268.1
  },
  "luminance": 0.2701
}

Semantic roles & 50–950 ramp

primary
#798DC2
secondary
#D9D2BE
accent
#8F35B0
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #798DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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