#798DC0#798DC0

#798DC0 is a light, moderate blue. Relative luminance 0.269; OKLCH L 64.8% C 0.080 H 267.6°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#798DC0
RGBrgb(121, 141, 192)
HSLhsl(223, 36%, 61%)
HSVhsv(223, 37%, 75%)
CMYKcmyk(37%, 26.6%, 0%, 24.7%)
CIE-LABlab(58.90, 5.52, -28.82)
CIE-LCHlch(58.90, 29.34, 280.85°)
OKLaboklab(64.75% -0.0033 -0.0801)
OKLCHoklch(64.75% 0.08 267.6)
XYZxyz(26.9216, 26.9193, 53.6364)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DC0 #C0AC79
analogous
#79B1C0 #798DC0 #8979C0
triadic
#798DC0 #C0798D #8DC079
tetradic
#798DC0 #C079B1 #C0AC79 #79C089
square
#798DC0 #C079B1 #C0AC79 #79C089
split-complementary
#798DC0 #C08979 #B1C079
monochromatic
#3D5082 #516AAB #798DC0 #A3B0D4 #CCD4E7

Accessibility & contrast

On white

3.29
#798DC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#798DC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DC0
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DC0#FFFFFF#000000##000000
##798DC01.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C91C2
Deuteranopia (green-blind)
#758BBF
Tritanopia (blue-blind)
#63979F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #798dc0;
/* rgb */ color: rgb(121, 141, 192);
/* oklch */ color: oklch(64.8% 0.080 267.6);
Tailwind
colors: {
  custom: {
    50: '#a2aed3',
    500: '#798dc0',
    950: '#000000',
  },
}
SCSS
$custom: #798dc0;
$custom-light: #a2aed3;
$custom-dark: #000000;
JSON
{
  "hex": "#798dc0",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 192
  },
  "hsl": {
    "h": 223.099,
    "s": 36.041,
    "l": 61.373
  },
  "oklch": {
    "l": 0.64753,
    "c": 0.08015,
    "h": 267.6
  },
  "luminance": 0.2692
}

Semantic roles & 50–950 ramp

primary
#798DC0
secondary
#D8D0BD
accent
#8D37AF
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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