#798FCE#798FCE

#798FCE is a light, moderate blue. Relative luminance 0.282; OKLCH L 65.8% C 0.098 H 268.9°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#798FCE
RGBrgb(121, 143, 206)
HSLhsl(224, 46%, 64%)
HSVhsv(224, 41%, 81%)
CMYKcmyk(41.3%, 30.6%, 0%, 19.2%)
CIE-LABlab(60.04, 8.26, -34.94)
CIE-LCHlch(60.04, 35.90, 283.30°)
OKLaboklab(65.83% -0.0019 -0.0977)
OKLCHoklch(65.83% 0.098 268.9)
XYZxyz(28.8448, 28.1646, 62.2970)
Luminance0.2817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FCE #CEB879
analogous
#79BACE #798FCE #8E79CE
triadic
#798FCE #CE798F #8FCE79
tetradic
#798FCE #CE79BA #CEB879 #79CE8E
square
#798FCE #CE79BA #CEB879 #79CE8E
split-complementary
#798FCE #CE8E79 #BACE79
monochromatic
#374F96 #4C6ABE #798FCE #A6B4DE #D3DAEF

Accessibility & contrast

On white

3.17
#798FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#798FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FCE
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FCE#FFFFFF#000000##000000
##798FCE1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7995D1
Deuteranopia (green-blind)
#718DCD
Tritanopia (blue-blind)
#5D9CA5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #798fce;
/* rgb */ color: rgb(121, 143, 206);
/* oklch */ color: oklch(65.8% 0.098 268.9);
Tailwind
colors: {
  custom: {
    50: '#a3afdd',
    500: '#798fce',
    950: '#000000',
  },
}
SCSS
$custom: #798fce;
$custom-light: #a3afdd;
$custom-dark: #000000;
JSON
{
  "hex": "#798fce",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 206
  },
  "hsl": {
    "h": 224.471,
    "s": 46.448,
    "l": 64.118
  },
  "oklch": {
    "l": 0.65834,
    "c": 0.0977,
    "h": 268.9
  },
  "luminance": 0.28166
}

Semantic roles & 50–950 ramp

primary
#798FCE
secondary
#E0D9C3
accent
#952CBA
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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