#798EE2#798EE2

#798EE2 is a light, vivid blue. Relative luminance 0.289; OKLCH L 66.6% C 0.127 H 271.9°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#798EE2
RGBrgb(121, 142, 226)
HSLhsl(228, 64%, 68%)
HSVhsv(228, 46%, 89%)
CMYKcmyk(46.5%, 37.2%, 0%, 11.4%)
CIE-LABlab(60.69, 14.64, -45.08)
CIE-LCHlch(60.69, 47.39, 287.99°)
OKLaboklab(66.64% 0.0043 -0.1271)
OKLCHoklch(66.64% 0.127 271.9)
XYZxyz(31.2813, 28.9001, 75.8667)
Luminance0.2890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EE2 #E2CD79
analogous
#79C2E2 #798EE2 #9879E2
triadic
#798EE2 #E2798E #8EE279
tetradic
#798EE2 #E279C2 #E2CD79 #79E298
square
#798EE2 #E279C2 #E2CD79 #79E298
split-complementary
#798EE2 #E29879 #C2E279
monochromatic
#2845B9 #4764D7 #798EE2 #ABB8ED #DEE3F8

Accessibility & contrast

On white

3.10
#798EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#798EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EE2
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EE2#FFFFFF#000000##000000
##798EE21.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F97E5
Deuteranopia (green-blind)
#658EE0
Tritanopia (blue-blind)
#529FAD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798ee2;
/* rgb */ color: rgb(121, 142, 226);
/* oklch */ color: oklch(66.6% 0.127 271.9);
Tailwind
colors: {
  custom: {
    50: '#a5aeeb',
    500: '#798ee2',
    950: '#000000',
  },
}
SCSS
$custom: #798ee2;
$custom-light: #a5aeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#798ee2",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 228,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66644,
    "c": 0.12717,
    "h": 271.9
  },
  "luminance": 0.28902
}

Semantic roles & 50–950 ramp

primary
#798EE2
secondary
#EBE5CB
accent
#A819CC
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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