#798DC4#798DC4

#798DC4 is a light, moderate blue. Relative luminance 0.271; OKLCH L 64.9% C 0.086 H 268.6°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#798DC4
RGBrgb(121, 141, 196)
HSLhsl(224, 39%, 62%)
HSVhsv(224, 38%, 77%)
CMYKcmyk(38.3%, 28.1%, 0%, 23.1%)
CIE-LABlab(59.07, 6.62, -30.82)
CIE-LCHlch(59.07, 31.52, 282.13°)
OKLaboklab(64.94% -0.0021 -0.0858)
OKLCHoklch(64.94% 0.086 268.6)
XYZxyz(27.3708, 27.0990, 56.0023)
Luminance0.2710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DC4 #C4B079
analogous
#79B3C4 #798DC4 #8B79C4
triadic
#798DC4 #C4798D #8DC479
tetradic
#798DC4 #C479B3 #C4B079 #79C48B
square
#798DC4 #C479B3 #C4B079 #79C48B
split-complementary
#798DC4 #C48B79 #B3C479
monochromatic
#3B5087 #4F69B1 #798DC4 #A3B1D7 #CED5E9

Accessibility & contrast

On white

3.27
#798DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#798DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DC4
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DC4#FFFFFF#000000##000000
##798DC41.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B92C6
Deuteranopia (green-blind)
#748BC3
Tritanopia (blue-blind)
#6298A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #798dc4;
/* rgb */ color: rgb(121, 141, 196);
/* oklch */ color: oklch(64.9% 0.086 268.6);
Tailwind
colors: {
  custom: {
    50: '#a2aed6',
    500: '#798dc4',
    950: '#000000',
  },
}
SCSS
$custom: #798dc4;
$custom-light: #a2aed6;
$custom-dark: #000000;
JSON
{
  "hex": "#798dc4",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 196
  },
  "hsl": {
    "h": 224,
    "s": 38.86,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64937,
    "c": 0.08586,
    "h": 268.6
  },
  "luminance": 0.271
}

Semantic roles & 50–950 ramp

primary
#798DC4
secondary
#DAD3BF
accent
#9034B2
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #798DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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