#798FD6#798FD6

#798FD6 is a light, moderate blue. Relative luminance 0.286; OKLCH L 66.2% C 0.109 H 270.1°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#798FD6
RGBrgb(121, 143, 214)
HSLhsl(226, 53%, 66%)
HSVhsv(226, 43%, 84%)
CMYKcmyk(43.5%, 33.2%, 0%, 16.1%)
CIE-LABlab(60.39, 10.55, -38.86)
CIE-LCHlch(60.39, 40.26, 285.18°)
OKLaboklab(66.23% 0.0002 -0.109)
OKLCHoklch(66.23% 0.109 270.1)
XYZxyz(29.8414, 28.5633, 67.5462)
Luminance0.2857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FD6 #D6C079
analogous
#79BED6 #798FD6 #9179D6
triadic
#798FD6 #D6798F #8FD679
tetradic
#798FD6 #D679BE #D6C079 #79D691
square
#798FD6 #D679BE #D6C079 #79D691
split-complementary
#798FD6 #D69179 #BED679
monochromatic
#324DA3 #4A68C8 #798FD6 #A8B6E4 #D7DDF3

Accessibility & contrast

On white

3.13
#798FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#798FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FD6
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FD6#FFFFFF#000000##000000
##798FD61.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7696D9
Deuteranopia (green-blind)
#6D8ED4
Tritanopia (blue-blind)
#599EA9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798fd6;
/* rgb */ color: rgb(121, 143, 214);
/* oklch */ color: oklch(66.2% 0.109 270.1);
Tailwind
colors: {
  custom: {
    50: '#a3afe3',
    500: '#798fd6',
    950: '#000000',
  },
}
SCSS
$custom: #798fd6;
$custom-light: #a3afe3;
$custom-dark: #000000;
JSON
{
  "hex": "#798fd6",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 214
  },
  "hsl": {
    "h": 225.806,
    "s": 53.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66228,
    "c": 0.10902,
    "h": 270.1
  },
  "luminance": 0.28565
}

Semantic roles & 50–950 ramp

primary
#798FD6
secondary
#E5DEC6
accent
#9C25C1
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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