#798DCF#798DCF

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

Color values

HEX#798DCF
RGBrgb(121, 141, 207)
HSLhsl(226, 47%, 64%)
HSVhsv(226, 42%, 81%)
CMYKcmyk(41.5%, 31.9%, 0%, 18.8%)
CIE-LABlab(59.54, 9.71, -36.27)
CIE-LCHlch(59.54, 37.55, 284.99°)
OKLaboklab(65.46% 0.001 -0.1015)
OKLCHoklch(65.46% 0.102 270.5)
XYZxyz(28.6691, 27.6183, 62.8396)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DCF #CFBB79
analogous
#79B8CF #798DCF #9079CF
triadic
#798DCF #CF798D #8DCF79
tetradic
#798DCF #CF79B8 #CFBB79 #79CF90
square
#798DCF #CF79B8 #CFBB79 #79CF90
split-complementary
#798DCF #CF9079 #B8CF79
monochromatic
#364D97 #4C67BF #798DCF #A6B3DF #D3DAEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798DCF#FFFFFF#000000##000000
##798DCF1.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)
#7693D2
Deuteranopia (green-blind)
#6E8CCD
Tritanopia (blue-blind)
#5C9AA5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798dcf;
/* rgb */ color: rgb(121, 141, 207);
/* oklch */ color: oklch(65.5% 0.102 270.5);
Tailwind
colors: {
  custom: {
    50: '#a3aede',
    500: '#798dcf',
    950: '#000000',
  },
}
SCSS
$custom: #798dcf;
$custom-light: #a3aede;
$custom-dark: #000000;
JSON
{
  "hex": "#798dcf",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 207
  },
  "hsl": {
    "h": 226.047,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65464,
    "c": 0.10153,
    "h": 270.5
  },
  "luminance": 0.2762
}

Semantic roles & 50–950 ramp

primary
#798DCF
secondary
#E1DAC3
accent
#992BBB
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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