#798BC8#798BC8

#798BC8 is a light, moderate blue. Relative luminance 0.267; OKLCH L 64.7% C 0.094 H 271.0°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#798BC8
RGBrgb(121, 139, 200)
HSLhsl(226, 42%, 63%)
HSVhsv(226, 40%, 78%)
CMYKcmyk(39.5%, 30.5%, 0%, 21.6%)
CIE-LABlab(58.69, 8.90, -33.65)
CIE-LCHlch(58.69, 34.81, 284.81°)
OKLaboklab(64.71% 0.0017 -0.094)
OKLCHoklch(64.71% 0.094 271)
XYZxyz(27.5400, 26.6990, 58.3347)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BC8 #C8B679
analogous
#79B2C8 #798BC8 #8E79C8
triadic
#798BC8 #C8798B #8BC879
tetradic
#798BC8 #C879B2 #C8B679 #79C88E
square
#798BC8 #C879B2 #C8B679 #79C88E
split-complementary
#798BC8 #C88E79 #B2C879
monochromatic
#3A4D8D #4E65B6 #798BC8 #A4B1DA #D0D6EC

Accessibility & contrast

On white

3.31
#798BC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#798BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BC8
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BC8#FFFFFF#000000##000000
##798BC81.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7691CB
Deuteranopia (green-blind)
#708AC7
Tritanopia (blue-blind)
#6097A1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #798bc8;
/* rgb */ color: rgb(121, 139, 200);
/* oklch */ color: oklch(64.7% 0.094 271.0);
Tailwind
colors: {
  custom: {
    50: '#a2acd9',
    500: '#798bc8',
    950: '#000000',
  },
}
SCSS
$custom: #798bc8;
$custom-light: #a2acd9;
$custom-dark: #000000;
JSON
{
  "hex": "#798bc8",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 200
  },
  "hsl": {
    "h": 226.329,
    "s": 41.799,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64705,
    "c": 0.09399,
    "h": 271
  },
  "luminance": 0.267
}

Semantic roles & 50–950 ramp

primary
#798BC8
secondary
#DDD6C0
accent
#9731B5
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #798BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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