#798FCF#798FCF

#798FCF is a light, moderate blue. Relative luminance 0.282; OKLCH L 65.9% C 0.099 H 269.1°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#798FCF
RGBrgb(121, 143, 207)
HSLhsl(225, 47%, 64%)
HSVhsv(225, 42%, 81%)
CMYKcmyk(41.5%, 30.9%, 0%, 18.8%)
CIE-LABlab(60.08, 8.54, -35.43)
CIE-LCHlch(60.08, 36.44, 283.56°)
OKLaboklab(65.88% -0.0016 -0.0991)
OKLCHoklch(65.88% 0.099 269.1)
XYZxyz(28.9666, 28.2134, 62.9388)
Luminance0.2822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FCF #CFB979
analogous
#79BACF #798FCF #8E79CF
triadic
#798FCF #CF798F #8FCF79
tetradic
#798FCF #CF79BA #CFB979 #79CF8E
square
#798FCF #CF79BA #CFB979 #79CF8E
split-complementary
#798FCF #CF8E79 #BACF79
monochromatic
#364F97 #4C69BF #798FCF #A6B5DF #D3DAEF

Accessibility & contrast

On white

3.16
#798FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#798FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FCF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FCF#FFFFFF#000000##000000
##798FCF1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7995D2
Deuteranopia (green-blind)
#718DCE
Tritanopia (blue-blind)
#5C9CA6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #798fcf;
/* rgb */ color: rgb(121, 143, 207);
/* oklch */ color: oklch(65.9% 0.099 269.1);
Tailwind
colors: {
  custom: {
    50: '#a3afde',
    500: '#798fcf',
    950: '#000000',
  },
}
SCSS
$custom: #798fcf;
$custom-light: #a3afde;
$custom-dark: #000000;
JSON
{
  "hex": "#798fcf",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 207
  },
  "hsl": {
    "h": 224.651,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65882,
    "c": 0.09911,
    "h": 269.1
  },
  "luminance": 0.28215
}

Semantic roles & 50–950 ramp

primary
#798FCF
secondary
#E1D9C3
accent
#962BBB
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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