#798ED2#798ED2

#798ED2 is a light, moderate blue. Relative luminance 0.281; OKLCH L 65.8% C 0.105 H 270.3°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#798ED2
RGBrgb(121, 142, 210)
HSLhsl(226, 50%, 65%)
HSVhsv(226, 42%, 82%)
CMYKcmyk(42.4%, 32.4%, 0%, 17.6%)
CIE-LABlab(59.95, 9.98, -37.32)
CIE-LCHlch(59.95, 38.63, 284.97°)
OKLaboklab(65.82% 0.0005 -0.1046)
OKLCHoklch(65.82% 0.105 270.3)
XYZxyz(29.1874, 28.0626, 64.8390)
Luminance0.2806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798ED2 #D2BD79
analogous
#79BAD2 #798ED2 #9179D2
triadic
#798ED2 #D2798E #8ED279
tetradic
#798ED2 #D279BA #D2BD79 #79D291
square
#798ED2 #D279BA #D2BD79 #79D291
split-complementary
#798ED2 #D29179 #BAD279
monochromatic
#344D9C #4B67C3 #798ED2 #A7B5E1 #D5DBF1

Accessibility & contrast

On white

3.18
#798ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#798ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798ED2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798ED2#FFFFFF#000000##000000
##798ED21.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7695D5
Deuteranopia (green-blind)
#6E8DD0
Tritanopia (blue-blind)
#5B9CA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798ed2;
/* rgb */ color: rgb(121, 142, 210);
/* oklch */ color: oklch(65.8% 0.105 270.3);
Tailwind
colors: {
  custom: {
    50: '#a3aee0',
    500: '#798ed2',
    950: '#000000',
  },
}
SCSS
$custom: #798ed2;
$custom-light: #a3aee0;
$custom-dark: #000000;
JSON
{
  "hex": "#798ed2",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 210
  },
  "hsl": {
    "h": 225.843,
    "s": 49.721,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65821,
    "c": 0.10458,
    "h": 270.3
  },
  "luminance": 0.28064
}

Semantic roles & 50–950 ramp

primary
#798ED2
secondary
#E3DBC4
accent
#9A28BD
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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