#798FCD#798FCD

#798FCD is a light, moderate blue. Relative luminance 0.281; OKLCH L 65.8% C 0.096 H 268.7°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#798FCD
RGBrgb(121, 143, 205)
HSLhsl(224, 46%, 64%)
HSVhsv(224, 41%, 80%)
CMYKcmyk(41%, 30.2%, 0%, 19.6%)
CIE-LABlab(59.99, 7.98, -34.44)
CIE-LCHlch(59.99, 35.35, 283.04°)
OKLaboklab(65.79% -0.0021 -0.0962)
OKLCHoklch(65.79% 0.096 268.7)
XYZxyz(28.7237, 28.1162, 61.6592)
Luminance0.2812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FCD #CDB779
analogous
#79B9CD #798FCD #8D79CD
triadic
#798FCD #CD798F #8FCD79
tetradic
#798FCD #CD79B9 #CDB779 #79CD8D
square
#798FCD #CD79B9 #CDB779 #79CD8D
split-complementary
#798FCD #CD8D79 #B9CD79
monochromatic
#375094 #4C6ABC #798FCD #A6B4DE #D2DAEE

Accessibility & contrast

On white

3.17
#798FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#798FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FCD
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FCD#FFFFFF#000000##000000
##798FCD1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A95D0
Deuteranopia (green-blind)
#728DCC
Tritanopia (blue-blind)
#5D9CA5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #798fcd;
/* rgb */ color: rgb(121, 143, 205);
/* oklch */ color: oklch(65.8% 0.096 268.7);
Tailwind
colors: {
  custom: {
    50: '#a3afdc',
    500: '#798fcd',
    950: '#000000',
  },
}
SCSS
$custom: #798fcd;
$custom-light: #a3afdc;
$custom-dark: #000000;
JSON
{
  "hex": "#798fcd",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 205
  },
  "hsl": {
    "h": 224.286,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65785,
    "c": 0.09627,
    "h": 268.7
  },
  "luminance": 0.28118
}

Semantic roles & 50–950 ramp

primary
#798FCD
secondary
#E0D8C2
accent
#942DB9
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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