#798ECC#798ECC

#798ECC is a light, moderate blue. Relative luminance 0.278; OKLCH L 65.5% C 0.096 H 269.3°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#798ECC
RGBrgb(121, 142, 204)
HSLhsl(225, 45%, 64%)
HSVhsv(225, 41%, 80%)
CMYKcmyk(40.7%, 30.4%, 0%, 20%)
CIE-LABlab(59.68, 8.28, -34.37)
CIE-LCHlch(59.68, 35.35, 283.54°)
OKLaboklab(65.53% -0.0011 -0.096)
OKLCHoklch(65.53% 0.096 269.3)
XYZxyz(28.4539, 27.7692, 60.9757)
Luminance0.2777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798ECC #CCB779
analogous
#79B7CC #798ECC #8D79CC
triadic
#798ECC #CC798E #8ECC79
tetradic
#798ECC #CC79B7 #CCB779 #79CC8D
square
#798ECC #CC79B7 #CCB779 #79CC8D
split-complementary
#798ECC #CC8D79 #B7CC79
monochromatic
#384F93 #4D69BB #798ECC #A5B3DD #D2D9EE

Accessibility & contrast

On white

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

On black

6.55
#798ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798ECC
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798ECC#FFFFFF#000000##000000
##798ECC1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994CF
Deuteranopia (green-blind)
#718CCB
Tritanopia (blue-blind)
#5E9BA4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798ecc;
/* rgb */ color: rgb(121, 142, 204);
/* oklch */ color: oklch(65.5% 0.096 269.3);
Tailwind
colors: {
  custom: {
    50: '#a3aedb',
    500: '#798ecc',
    950: '#000000',
  },
}
SCSS
$custom: #798ecc;
$custom-light: #a3aedb;
$custom-dark: #000000;
JSON
{
  "hex": "#798ecc",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 204
  },
  "hsl": {
    "h": 224.819,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65527,
    "c": 0.09606,
    "h": 269.3
  },
  "luminance": 0.27771
}

Semantic roles & 50–950 ramp

primary
#798ECC
secondary
#DFD8C2
accent
#952DB8
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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