#798EC8#798EC8

#798EC8 is a light, moderate blue. Relative luminance 0.276; OKLCH L 65.3% C 0.090 H 268.6°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#798EC8
RGBrgb(121, 142, 200)
HSLhsl(224, 42%, 63%)
HSVhsv(224, 40%, 78%)
CMYKcmyk(39.5%, 29%, 0%, 21.6%)
CIE-LABlab(59.51, 7.15, -32.39)
CIE-LCHlch(59.51, 33.17, 282.45°)
OKLaboklab(65.34% -0.0022 -0.0903)
OKLCHoklch(65.34% 0.09 268.6)
XYZxyz(27.9803, 27.5797, 58.4815)
Luminance0.2758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EC8 #C8B379
analogous
#79B5C8 #798EC8 #8B79C8
triadic
#798EC8 #C8798E #8EC879
tetradic
#798EC8 #C879B5 #C8B379 #79C88B
square
#798EC8 #C879B5 #C8B379 #79C88B
split-complementary
#798EC8 #C88B79 #B5C879
monochromatic
#3A508D #4E69B6 #798EC8 #A4B3DA #D0D7EC

Accessibility & contrast

On white

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

On black

6.52
#798EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EC8
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EC8#FFFFFF#000000##000000
##798EC81.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A93CA
Deuteranopia (green-blind)
#738CC7
Tritanopia (blue-blind)
#609AA2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798ec8;
/* rgb */ color: rgb(121, 142, 200);
/* oklch */ color: oklch(65.3% 0.090 268.6);
Tailwind
colors: {
  custom: {
    50: '#a2aed9',
    500: '#798ec8',
    950: '#000000',
  },
}
SCSS
$custom: #798ec8;
$custom-light: #a2aed9;
$custom-dark: #000000;
JSON
{
  "hex": "#798ec8",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 200
  },
  "hsl": {
    "h": 224.051,
    "s": 41.799,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65336,
    "c": 0.09037,
    "h": 268.6
  },
  "luminance": 0.27581
}

Semantic roles & 50–950 ramp

primary
#798EC8
secondary
#DDD5C0
accent
#9231B5
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #798EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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