#798ECF#798ECF

#798ECF is a light, moderate blue. Relative luminance 0.279; OKLCH L 65.7% C 0.100 H 269.8°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#798ECF
RGBrgb(121, 142, 207)
HSLhsl(225, 47%, 64%)
HSVhsv(225, 42%, 81%)
CMYKcmyk(41.5%, 31.4%, 0%, 18.8%)
CIE-LABlab(59.81, 9.12, -35.85)
CIE-LCHlch(59.81, 36.99, 284.28°)
OKLaboklab(65.67% -0.0003 -0.1003)
OKLCHoklch(65.67% 0.1 269.8)
XYZxyz(28.8172, 27.9145, 62.8890)
Luminance0.2792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798ECF #CFBA79
analogous
#79B9CF #798ECF #8F79CF
triadic
#798ECF #CF798E #8ECF79
tetradic
#798ECF #CF79B9 #CFBA79 #79CF8F
square
#798ECF #CF79B9 #CFBA79 #79CF8F
split-complementary
#798ECF #CF8F79 #B9CF79
monochromatic
#364E97 #4C68BF #798ECF #A6B4DF #D3DAEF

Accessibility & contrast

On white

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

On black

6.58
#798ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798ECF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798ECF#FFFFFF#000000##000000
##798ECF1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7794D2
Deuteranopia (green-blind)
#708DCE
Tritanopia (blue-blind)
#5C9BA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798ecf;
/* rgb */ color: rgb(121, 142, 207);
/* oklch */ color: oklch(65.7% 0.100 269.8);
Tailwind
colors: {
  custom: {
    50: '#a3aede',
    500: '#798ecf',
    950: '#000000',
  },
}
SCSS
$custom: #798ecf;
$custom-light: #a3aede;
$custom-dark: #000000;
JSON
{
  "hex": "#798ecf",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 207
  },
  "hsl": {
    "h": 225.349,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65673,
    "c": 0.10032,
    "h": 269.8
  },
  "luminance": 0.27916
}

Semantic roles & 50–950 ramp

primary
#798ECF
secondary
#E1DAC3
accent
#972BBB
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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