#798DC3#798DC3

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

Color values

HEX#798DC3
RGBrgb(121, 141, 195)
HSLhsl(224, 38%, 62%)
HSVhsv(224, 38%, 76%)
CMYKcmyk(37.9%, 27.7%, 0%, 23.5%)
CIE-LABlab(59.02, 6.35, -30.32)
CIE-LCHlch(59.02, 30.98, 281.82°)
OKLaboklab(64.89% -0.0024 -0.0844)
OKLCHoklch(64.89% 0.084 268.4)
XYZxyz(27.2574, 27.0536, 55.4048)
Luminance0.2706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DC3 #C3AF79
analogous
#79B2C3 #798DC3 #8A79C3
triadic
#798DC3 #C3798D #8DC379
tetradic
#798DC3 #C379B2 #C3AF79 #79C38A
square
#798DC3 #C379B2 #C3AF79 #79C38A
split-complementary
#798DC3 #C38A79 #B2C379
monochromatic
#3C5086 #4F69B0 #798DC3 #A3B1D6 #CED5E9

Accessibility & contrast

On white

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

On black

6.41
#798DC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DC3
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DC3#FFFFFF#000000##000000
##798DC31.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #798dc3;
/* rgb */ color: rgb(121, 141, 195);
/* oklch */ color: oklch(64.9% 0.084 268.4);
Tailwind
colors: {
  custom: {
    50: '#a2aed5',
    500: '#798dc3',
    950: '#000000',
  },
}
SCSS
$custom: #798dc3;
$custom-light: #a2aed5;
$custom-dark: #000000;
JSON
{
  "hex": "#798dc3",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 195
  },
  "hsl": {
    "h": 223.784,
    "s": 38.144,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64891,
    "c": 0.08442,
    "h": 268.4
  },
  "luminance": 0.27055
}

Semantic roles & 50–950 ramp

primary
#798DC3
secondary
#DAD2BE
accent
#8F34B1
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #798DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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