#798FC3#798FC3

#798FC3 is a light, moderate blue. Relative luminance 0.277; OKLCH L 65.3% C 0.082 H 266.5°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#798FC3
RGBrgb(121, 143, 195)
HSLhsl(222, 38%, 62%)
HSVhsv(222, 38%, 76%)
CMYKcmyk(37.9%, 26.7%, 0%, 23.5%)
CIE-LABlab(59.57, 5.19, -29.47)
CIE-LCHlch(59.57, 29.93, 279.98°)
OKLaboklab(65.32% -0.005 -0.082)
OKLCHoklch(65.32% 0.082 266.5)
XYZxyz(27.5550, 27.6487, 55.5040)
Luminance0.2765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FC3 #C3AD79
analogous
#79B4C3 #798FC3 #8879C3
triadic
#798FC3 #C3798F #8FC379
tetradic
#798FC3 #C379B4 #C3AD79 #79C388
square
#798FC3 #C379B4 #C3AD79 #79C388
split-complementary
#798FC3 #C38879 #B4C379
monochromatic
#3C5286 #4F6CB0 #798FC3 #A3B2D6 #CED6E9

Accessibility & contrast

On white

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

On black

6.53
#798FC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FC3
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FC3#FFFFFF#000000##000000
##798FC31.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D93C5
Deuteranopia (green-blind)
#768CC2
Tritanopia (blue-blind)
#629AA1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798fc3;
/* rgb */ color: rgb(121, 143, 195);
/* oklch */ color: oklch(65.3% 0.082 266.5);
Tailwind
colors: {
  custom: {
    50: '#a2afd5',
    500: '#798fc3',
    950: '#000000',
  },
}
SCSS
$custom: #798fc3;
$custom-light: #a2afd5;
$custom-dark: #000000;
JSON
{
  "hex": "#798fc3",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 195
  },
  "hsl": {
    "h": 222.162,
    "s": 38.144,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65316,
    "c": 0.08212,
    "h": 266.5
  },
  "luminance": 0.2765
}

Semantic roles & 50–950 ramp

primary
#798FC3
secondary
#DAD1BE
accent
#8C34B1
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #798FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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