#798ECD#798ECD

#798ECD is a light, moderate blue. Relative luminance 0.278; OKLCH L 65.6% C 0.097 H 269.5°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#798ECD
RGBrgb(121, 142, 205)
HSLhsl(225, 46%, 64%)
HSVhsv(225, 41%, 80%)
CMYKcmyk(41%, 30.7%, 0%, 19.6%)
CIE-LABlab(59.72, 8.56, -34.86)
CIE-LCHlch(59.72, 35.90, 283.79°)
OKLaboklab(65.58% -0.0008 -0.0975)
OKLCHoklch(65.58% 0.097 269.5)
XYZxyz(28.5742, 27.8173, 61.6094)
Luminance0.2782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798ECD #CDB879
analogous
#79B8CD #798ECD #8E79CD
triadic
#798ECD #CD798E #8ECD79
tetradic
#798ECD #CD79B8 #CDB879 #79CD8E
square
#798ECD #CD79B8 #CDB879 #79CD8E
split-complementary
#798ECD #CD8E79 #B8CD79
monochromatic
#374F94 #4C68BC #798ECD #A6B4DE #D2D9EE

Accessibility & contrast

On white

3.20
#798ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#798ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798ECD
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798ECD#FFFFFF#000000##000000
##798ECD1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7894D0
Deuteranopia (green-blind)
#718DCC
Tritanopia (blue-blind)
#5D9BA4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798ecd;
/* rgb */ color: rgb(121, 142, 205);
/* oklch */ color: oklch(65.6% 0.097 269.5);
Tailwind
colors: {
  custom: {
    50: '#a3aedc',
    500: '#798ecd',
    950: '#000000',
  },
}
SCSS
$custom: #798ecd;
$custom-light: #a3aedc;
$custom-dark: #000000;
JSON
{
  "hex": "#798ecd",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 205
  },
  "hsl": {
    "h": 225,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65576,
    "c": 0.09747,
    "h": 269.5
  },
  "luminance": 0.27819
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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