#798DEE#798DEE

#798DEE is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.1% C 0.145 H 273.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#798DEE
RGBrgb(121, 141, 238)
HSLhsl(230, 77%, 70%)
HSVhsv(230, 49%, 93%)
CMYKcmyk(49.2%, 40.8%, 0%, 6.7%)
CIE-LABlab(61.03, 18.81, -51.19)
CIE-LCHlch(61.03, 54.54, 290.17°)
OKLaboklab(67.1% 0.0079 -0.1449)
OKLCHoklch(67.1% 0.145 273.1)
XYZxyz(32.8377, 29.2857, 84.7947)
Luminance0.2929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DEE #EEDA79
analogous
#79C7EE #798DEE #A079EE
triadic
#798DEE #EE798D #8DEE79
tetradic
#798DEE #EE79C7 #EEDA79 #79EEA0
square
#798DEE #EE79C7 #EEDA79 #79EEA0
split-complementary
#798DEE #EEA079 #C7EE79
monochromatic
#1B3AD2 #435FE7 #798DEE #AFBBF5 #E4E8FC

Accessibility & contrast

On white

3.06
#798DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#798DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DEE
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DEE#FFFFFF#000000##000000
##798DEE1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F2
Deuteranopia (green-blind)
#5B8FEC
Tritanopia (blue-blind)
#49A2B2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798dee;
/* rgb */ color: rgb(121, 141, 238);
/* oklch */ color: oklch(67.1% 0.145 273.1);
Tailwind
colors: {
  custom: {
    50: '#a6aef4',
    500: '#798dee',
    950: '#000000',
  },
}
SCSS
$custom: #798dee;
$custom-light: #a6aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#798dee",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 238
  },
  "hsl": {
    "h": 229.744,
    "s": 77.483,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67101,
    "c": 0.14516,
    "h": 273.1
  },
  "luminance": 0.29288
}

Semantic roles & 50–950 ramp

primary
#798DEE
secondary
#F1ECD1
accent
#B70CDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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