#798DC8#798DC8

#798DC8 is a light, moderate blue. Relative luminance 0.273; OKLCH L 65.1% C 0.092 H 269.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#798DC8
RGBrgb(121, 141, 200)
HSLhsl(225, 42%, 63%)
HSVhsv(225, 40%, 78%)
CMYKcmyk(39.5%, 29.5%, 0%, 21.6%)
CIE-LABlab(59.24, 7.73, -32.81)
CIE-LCHlch(59.24, 33.71, 283.26°)
OKLaboklab(65.13% -0.0009 -0.0916)
OKLCHoklch(65.13% 0.092 269.4)
XYZxyz(27.8322, 27.2835, 58.4321)
Luminance0.2728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DC8 #C8B479
analogous
#79B4C8 #798DC8 #8C79C8
triadic
#798DC8 #C8798D #8DC879
tetradic
#798DC8 #C879B4 #C8B479 #79C88C
square
#798DC8 #C879B4 #C8B479 #79C88C
split-complementary
#798DC8 #C88C79 #B4C879
monochromatic
#3A4F8D #4E68B6 #798DC8 #A4B2DA #D0D7EC

Accessibility & contrast

On white

3.25
#798DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#798DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DC8
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DC8#FFFFFF#000000##000000
##798DC81.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7992CB
Deuteranopia (green-blind)
#728BC7
Tritanopia (blue-blind)
#6099A2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798dc8;
/* rgb */ color: rgb(121, 141, 200);
/* oklch */ color: oklch(65.1% 0.092 269.4);
Tailwind
colors: {
  custom: {
    50: '#a2aed9',
    500: '#798dc8',
    950: '#000000',
  },
}
SCSS
$custom: #798dc8;
$custom-light: #a2aed9;
$custom-dark: #000000;
JSON
{
  "hex": "#798dc8",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 200
  },
  "hsl": {
    "h": 224.81,
    "s": 41.799,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65126,
    "c": 0.09155,
    "h": 269.4
  },
  "luminance": 0.27285
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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