#798FC8#798FC8

#798FC8 is a light, moderate blue. Relative luminance 0.279; OKLCH L 65.5% C 0.089 H 267.7°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#798FC8
RGBrgb(121, 143, 200)
HSLhsl(223, 42%, 63%)
HSVhsv(223, 40%, 78%)
CMYKcmyk(39.5%, 28.5%, 0%, 21.6%)
CIE-LABlab(59.78, 6.57, -31.97)
CIE-LCHlch(59.78, 32.63, 281.62°)
OKLaboklab(65.55% -0.0036 -0.0891)
OKLCHoklch(65.55% 0.089 267.7)
XYZxyz(28.1298, 27.8786, 58.5313)
Luminance0.2788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FC8 #C8B279
analogous
#79B6C8 #798FC8 #8A79C8
triadic
#798FC8 #C8798F #8FC879
tetradic
#798FC8 #C879B6 #C8B279 #79C88A
square
#798FC8 #C879B6 #C8B279 #79C88A
split-complementary
#798FC8 #C88A79 #B6C879
monochromatic
#3A518D #4E6BB6 #798FC8 #A4B3DA #D0D8EC

Accessibility & contrast

On white

3.19
#798FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#798FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FC8
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FC8#FFFFFF#000000##000000
##798FC81.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C94CA
Deuteranopia (green-blind)
#748DC7
Tritanopia (blue-blind)
#609BA3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798fc8;
/* rgb */ color: rgb(121, 143, 200);
/* oklch */ color: oklch(65.5% 0.089 267.7);
Tailwind
colors: {
  custom: {
    50: '#a2afd9',
    500: '#798fc8',
    950: '#000000',
  },
}
SCSS
$custom: #798fc8;
$custom-light: #a2afd9;
$custom-dark: #000000;
JSON
{
  "hex": "#798fc8",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 200
  },
  "hsl": {
    "h": 223.291,
    "s": 41.799,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65548,
    "c": 0.08919,
    "h": 267.7
  },
  "luminance": 0.2788
}

Semantic roles & 50–950 ramp

primary
#798FC8
secondary
#DDD5C0
accent
#9031B5
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #798FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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