#798CD6#798CD6

#798CD6 is a light, moderate blue. Relative luminance 0.277; OKLCH L 65.6% C 0.113 H 272.0°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#798CD6
RGBrgb(121, 140, 214)
HSLhsl(228, 53%, 66%)
HSVhsv(228, 43%, 84%)
CMYKcmyk(43.5%, 34.6%, 0%, 16.1%)
CIE-LABlab(59.59, 12.30, -40.11)
CIE-LCHlch(59.59, 41.96, 287.05°)
OKLaboklab(65.61% 0.004 -0.1127)
OKLCHoklch(65.61% 0.113 272)
XYZxyz(29.3971, 27.6746, 67.3980)
Luminance0.2768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CD6 #D6C379
analogous
#79BAD6 #798CD6 #9479D6
triadic
#798CD6 #D6798C #8CD679
tetradic
#798CD6 #D679BA #D6C379 #79D694
square
#798CD6 #D679BA #D6C379 #79D694
split-complementary
#798CD6 #D69479 #BAD679
monochromatic
#3249A3 #4A64C8 #798CD6 #A8B4E4 #D7DCF3

Accessibility & contrast

On white

3.21
#798CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#798CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CD6
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CD6#FFFFFF#000000##000000
##798CD61.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7294D9
Deuteranopia (green-blind)
#698CD4
Tritanopia (blue-blind)
#599BA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798cd6;
/* rgb */ color: rgb(121, 140, 214);
/* oklch */ color: oklch(65.6% 0.113 272.0);
Tailwind
colors: {
  custom: {
    50: '#a4ade3',
    500: '#798cd6',
    950: '#000000',
  },
}
SCSS
$custom: #798cd6;
$custom-light: #a4ade3;
$custom-dark: #000000;
JSON
{
  "hex": "#798cd6",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 214
  },
  "hsl": {
    "h": 227.742,
    "s": 53.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65609,
    "c": 0.11274,
    "h": 272
  },
  "luminance": 0.27676
}

Semantic roles & 50–950 ramp

primary
#798CD6
secondary
#E5DFC6
accent
#A125C1
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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