#798DCA#798DCA

#798DCA is a light, moderate blue. Relative luminance 0.274; OKLCH L 65.2% C 0.094 H 269.8°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#798DCA
RGBrgb(121, 141, 202)
HSLhsl(225, 43%, 63%)
HSVhsv(225, 40%, 79%)
CMYKcmyk(40.1%, 30.2%, 0%, 20.8%)
CIE-LABlab(59.32, 8.29, -33.80)
CIE-LCHlch(59.32, 34.81, 283.79°)
OKLaboklab(65.22% -0.0004 -0.0944)
OKLCHoklch(65.22% 0.094 269.8)
XYZxyz(28.0675, 27.3776, 59.6712)
Luminance0.2738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DCA #CAB679
analogous
#79B5CA #798DCA #8D79CA
triadic
#798DCA #CA798D #8DCA79
tetradic
#798DCA #CA79B5 #CAB679 #79CA8D
square
#798DCA #CA79B5 #CAB679 #79CA8D
split-complementary
#798DCA #CA8D79 #B5CA79
monochromatic
#394E90 #4D68B9 #798DCA #A5B2DB #D1D8ED

Accessibility & contrast

On white

3.24
#798DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#798DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DCA
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DCA#FFFFFF#000000##000000
##798DCA1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CD
Deuteranopia (green-blind)
#718CC9
Tritanopia (blue-blind)
#5F99A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798dca;
/* rgb */ color: rgb(121, 141, 202);
/* oklch */ color: oklch(65.2% 0.094 269.8);
Tailwind
colors: {
  custom: {
    50: '#a3aeda',
    500: '#798dca',
    950: '#000000',
  },
}
SCSS
$custom: #798dca;
$custom-light: #a3aeda;
$custom-dark: #000000;
JSON
{
  "hex": "#798dca",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 202
  },
  "hsl": {
    "h": 225.185,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65221,
    "c": 0.09441,
    "h": 269.8
  },
  "luminance": 0.27379
}

Semantic roles & 50–950 ramp

primary
#798DCA
secondary
#DED7C1
accent
#952FB6
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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