#798FC0#798FC0

#798FC0 is a light, moderate blue. Relative luminance 0.275; OKLCH L 65.2% C 0.078 H 265.6°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#798FC0
RGBrgb(121, 143, 192)
HSLhsl(221, 36%, 61%)
HSVhsv(221, 37%, 75%)
CMYKcmyk(37%, 25.5%, 0%, 24.7%)
CIE-LABlab(59.45, 4.37, -27.97)
CIE-LCHlch(59.45, 28.31, 278.87°)
OKLaboklab(65.18% -0.006 -0.0777)
OKLCHoklch(65.18% 0.078 265.6)
XYZxyz(27.2192, 27.5144, 53.7356)
Luminance0.2752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FC0 #C0AA79
analogous
#79B3C0 #798FC0 #8779C0
triadic
#798FC0 #C0798F #8FC079
tetradic
#798FC0 #C079B3 #C0AA79 #79C087
square
#798FC0 #C079B3 #C0AA79 #79C087
split-complementary
#798FC0 #C08779 #B3C079
monochromatic
#3D5282 #516DAB #798FC0 #A3B2D4 #CCD5E7

Accessibility & contrast

On white

3.23
#798FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#798FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FC0
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FC0#FFFFFF#000000##000000
##798FC01.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E93C2
Deuteranopia (green-blind)
#788CBF
Tritanopia (blue-blind)
#6399A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798fc0;
/* rgb */ color: rgb(121, 143, 192);
/* oklch */ color: oklch(65.2% 0.078 265.6);
Tailwind
colors: {
  custom: {
    50: '#a2afd3',
    500: '#798fc0',
    950: '#000000',
  },
}
SCSS
$custom: #798fc0;
$custom-light: #a2afd3;
$custom-dark: #000000;
JSON
{
  "hex": "#798fc0",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 192
  },
  "hsl": {
    "h": 221.408,
    "s": 36.041,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6518,
    "c": 0.07789,
    "h": 265.6
  },
  "luminance": 0.27516
}

Semantic roles & 50–950 ramp

primary
#798FC0
secondary
#D8CFBD
accent
#8A37AF
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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