#798DCE#798DCE

#798DCE is a light, moderate blue. Relative luminance 0.276; OKLCH L 65.4% C 0.100 H 270.4°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#798DCE
RGBrgb(121, 141, 206)
HSLhsl(226, 46%, 64%)
HSVhsv(226, 41%, 81%)
CMYKcmyk(41.3%, 31.6%, 0%, 19.2%)
CIE-LABlab(59.50, 9.42, -35.78)
CIE-LCHlch(59.50, 37.00, 284.76°)
OKLaboklab(65.42% 0.0007 -0.1001)
OKLCHoklch(65.42% 0.1 270.4)
XYZxyz(28.5472, 27.5695, 62.1978)
Luminance0.2757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DCE #CEBA79
analogous
#79B8CE #798DCE #9079CE
triadic
#798DCE #CE798D #8DCE79
tetradic
#798DCE #CE79B8 #CEBA79 #79CE90
square
#798DCE #CE79B8 #CEBA79 #79CE90
split-complementary
#798DCE #CE9079 #B8CE79
monochromatic
#374D96 #4C67BE #798DCE #A6B3DE #D3D9EF

Accessibility & contrast

On white

3.22
#798DCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#798DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DCE
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DCE#FFFFFF#000000##000000
##798DCE1.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7793D1
Deuteranopia (green-blind)
#6F8CCD
Tritanopia (blue-blind)
#5D9AA4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798dce;
/* rgb */ color: rgb(121, 141, 206);
/* oklch */ color: oklch(65.4% 0.100 270.4);
Tailwind
colors: {
  custom: {
    50: '#a3aedd',
    500: '#798dce',
    950: '#000000',
  },
}
SCSS
$custom: #798dce;
$custom-light: #a3aedd;
$custom-dark: #000000;
JSON
{
  "hex": "#798dce",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 206
  },
  "hsl": {
    "h": 225.882,
    "s": 46.448,
    "l": 64.118
  },
  "oklch": {
    "l": 0.65415,
    "c": 0.10011,
    "h": 270.4
  },
  "luminance": 0.27571
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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