#798ECA#798ECA

#798ECA is a light, moderate blue. Relative luminance 0.277; OKLCH L 65.4% C 0.093 H 269.0°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#798ECA
RGBrgb(121, 142, 202)
HSLhsl(224, 43%, 63%)
HSVhsv(224, 40%, 79%)
CMYKcmyk(40.1%, 29.7%, 0%, 20.8%)
CIE-LABlab(59.59, 7.71, -33.38)
CIE-LCHlch(59.59, 34.26, 283.01°)
OKLaboklab(65.43% -0.0017 -0.0932)
OKLCHoklch(65.43% 0.093 269)
XYZxyz(28.2156, 27.6738, 59.7205)
Luminance0.2767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798ECA #CAB579
analogous
#79B7CA #798ECA #8C79CA
triadic
#798ECA #CA798E #8ECA79
tetradic
#798ECA #CA79B7 #CAB579 #79CA8C
square
#798ECA #CA79B7 #CAB579 #79CA8C
split-complementary
#798ECA #CA8C79 #B7CA79
monochromatic
#394F90 #4D69B9 #798ECA #A5B3DB #D1D8ED

Accessibility & contrast

On white

3.21
#798ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#798ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798ECA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798ECA#FFFFFF#000000##000000
##798ECA1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CD
Deuteranopia (green-blind)
#728CC9
Tritanopia (blue-blind)
#5F9AA3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798eca;
/* rgb */ color: rgb(121, 142, 202);
/* oklch */ color: oklch(65.4% 0.093 269.0);
Tailwind
colors: {
  custom: {
    50: '#a2aeda',
    500: '#798eca',
    950: '#000000',
  },
}
SCSS
$custom: #798eca;
$custom-light: #a2aeda;
$custom-dark: #000000;
JSON
{
  "hex": "#798eca",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 202
  },
  "hsl": {
    "h": 224.444,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65431,
    "c": 0.09321,
    "h": 269
  },
  "luminance": 0.27675
}

Semantic roles & 50–950 ramp

primary
#798ECA
secondary
#DED6C1
accent
#932FB6
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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