#798ECE#798ECE

#798ECE is a light, moderate blue. Relative luminance 0.279; OKLCH L 65.6% C 0.099 H 269.7°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#798ECE
RGBrgb(121, 142, 206)
HSLhsl(225, 46%, 64%)
HSVhsv(225, 41%, 81%)
CMYKcmyk(41.3%, 31.1%, 0%, 19.2%)
CIE-LABlab(59.77, 8.84, -35.36)
CIE-LCHlch(59.77, 36.45, 284.04°)
OKLaboklab(65.62% -0.0006 -0.0989)
OKLCHoklch(65.62% 0.099 269.7)
XYZxyz(28.6953, 27.8657, 62.2472)
Luminance0.2787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798ECE #CEB979
analogous
#79B9CE #798ECE #8F79CE
triadic
#798ECE #CE798E #8ECE79
tetradic
#798ECE #CE79B9 #CEB979 #79CE8F
square
#798ECE #CE79B9 #CEB979 #79CE8F
split-complementary
#798ECE #CE8F79 #B9CE79
monochromatic
#374E96 #4C68BE #798ECE #A6B4DE #D3DAEF

Accessibility & contrast

On white

3.19
#798ECE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#798ECE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798ECE
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798ECE#FFFFFF#000000##000000
##798ECE1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7894D1
Deuteranopia (green-blind)
#708DCD
Tritanopia (blue-blind)
#5D9BA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798ece;
/* rgb */ color: rgb(121, 142, 206);
/* oklch */ color: oklch(65.6% 0.099 269.7);
Tailwind
colors: {
  custom: {
    50: '#a3aedd',
    500: '#798ece',
    950: '#000000',
  },
}
SCSS
$custom: #798ece;
$custom-light: #a3aedd;
$custom-dark: #000000;
JSON
{
  "hex": "#798ece",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 206
  },
  "hsl": {
    "h": 225.176,
    "s": 46.448,
    "l": 64.118
  },
  "oklch": {
    "l": 0.65624,
    "c": 0.09889,
    "h": 269.7
  },
  "luminance": 0.27867
}

Semantic roles & 50–950 ramp

primary
#798ECE
secondary
#E0D9C3
accent
#972CBA
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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