#798CC4#798CC4

#798CC4 is a light, moderate blue. Relative luminance 0.268; OKLCH L 64.7% C 0.087 H 269.5°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#798CC4
RGBrgb(121, 140, 196)
HSLhsl(225, 39%, 62%)
HSVhsv(225, 38%, 77%)
CMYKcmyk(38.3%, 28.6%, 0%, 23.1%)
CIE-LABlab(58.79, 7.20, -31.24)
CIE-LCHlch(58.79, 32.06, 282.98°)
OKLaboklab(64.73% -0.0008 -0.087)
OKLCHoklch(64.73% 0.087 269.5)
XYZxyz(27.2240, 26.8054, 55.9534)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CC4 #C4B179
analogous
#79B2C4 #798CC4 #8C79C4
triadic
#798CC4 #C4798C #8CC479
tetradic
#798CC4 #C479B2 #C4B179 #79C48C
square
#798CC4 #C479B2 #C4B179 #79C48C
split-complementary
#798CC4 #C48C79 #B2C479
monochromatic
#3B4F87 #4F68B1 #798CC4 #A3B0D7 #CED5E9

Accessibility & contrast

On white

3.30
#798CC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#798CC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CC4
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CC4#FFFFFF#000000##000000
##798CC41.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7991C6
Deuteranopia (green-blind)
#738AC3
Tritanopia (blue-blind)
#6297A0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #798cc4;
/* rgb */ color: rgb(121, 140, 196);
/* oklch */ color: oklch(64.7% 0.087 269.5);
Tailwind
colors: {
  custom: {
    50: '#a2add6',
    500: '#798cc4',
    950: '#000000',
  },
}
SCSS
$custom: #798cc4;
$custom-light: #a2add6;
$custom-dark: #000000;
JSON
{
  "hex": "#798cc4",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 196
  },
  "hsl": {
    "h": 224.8,
    "s": 38.86,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64726,
    "c": 0.08704,
    "h": 269.5
  },
  "luminance": 0.26807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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