#798DCC#798DCC

#798DCC is a light, moderate blue. Relative luminance 0.275; OKLCH L 65.3% C 0.097 H 270.1°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#798DCC
RGBrgb(121, 141, 204)
HSLhsl(226, 45%, 64%)
HSVhsv(226, 41%, 80%)
CMYKcmyk(40.7%, 30.9%, 0%, 20%)
CIE-LABlab(59.41, 8.86, -34.79)
CIE-LCHlch(59.41, 35.90, 284.28°)
OKLaboklab(65.32% 0.0002 -0.0973)
OKLCHoklch(65.32% 0.097 270.1)
XYZxyz(28.3058, 27.4729, 60.9264)
Luminance0.2747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DCC #CCB879
analogous
#79B6CC #798DCC #8E79CC
triadic
#798DCC #CC798D #8DCC79
tetradic
#798DCC #CC79B6 #CCB879 #79CC8E
square
#798DCC #CC79B6 #CCB879 #79CC8E
split-complementary
#798DCC #CC8E79 #B6CC79
monochromatic
#384E93 #4D67BB #798DCC #A5B3DD #D2D8EE

Accessibility & contrast

On white

3.23
#798DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#798DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DCC
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DCC#FFFFFF#000000##000000
##798DCC1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7793CF
Deuteranopia (green-blind)
#708CCB
Tritanopia (blue-blind)
#5E9AA3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798dcc;
/* rgb */ color: rgb(121, 141, 204);
/* oklch */ color: oklch(65.3% 0.097 270.1);
Tailwind
colors: {
  custom: {
    50: '#a3aedc',
    500: '#798dcc',
    950: '#000000',
  },
}
SCSS
$custom: #798dcc;
$custom-light: #a3aedc;
$custom-dark: #000000;
JSON
{
  "hex": "#798dcc",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 204
  },
  "hsl": {
    "h": 225.542,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65318,
    "c": 0.09726,
    "h": 270.1
  },
  "luminance": 0.27474
}

Semantic roles & 50–950 ramp

primary
#798DCC
secondary
#DFD8C2
accent
#972DB8
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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