#798FEE#798FEE

#798FEE is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.5% C 0.143 H 272.2°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#798FEE
RGBrgb(121, 143, 238)
HSLhsl(229, 77%, 70%)
HSVhsv(229, 49%, 93%)
CMYKcmyk(49.2%, 39.9%, 0%, 6.7%)
CIE-LABlab(61.55, 17.63, -50.37)
CIE-LCHlch(61.55, 53.36, 289.29°)
OKLaboklab(67.5% 0.0056 -0.1425)
OKLCHoklch(67.5% 0.143 272.2)
XYZxyz(33.1353, 29.8809, 84.8939)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FEE #EED879
analogous
#79C9EE #798FEE #9D79EE
triadic
#798FEE #EE798F #8FEE79
tetradic
#798FEE #EE79C9 #EED879 #79EE9D
square
#798FEE #EE79C9 #EED879 #79EE9D
split-complementary
#798FEE #EE9D79 #C9EE79
monochromatic
#1B3DD2 #4362E7 #798FEE #AFBCF5 #E4E8FC

Accessibility & contrast

On white

3.01
#798FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#798FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FEE
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FEE#FFFFFF#000000##000000
##798FEE1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF2
Deuteranopia (green-blind)
#5E90EC
Tritanopia (blue-blind)
#49A3B3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #798fee;
/* rgb */ color: rgb(121, 143, 238);
/* oklch */ color: oklch(67.5% 0.143 272.2);
Tailwind
colors: {
  custom: {
    50: '#a6aff4',
    500: '#798fee',
    950: '#000000',
  },
}
SCSS
$custom: #798fee;
$custom-light: #a6aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#798fee",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 228.718,
    "s": 77.483,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67499,
    "c": 0.14265,
    "h": 272.2
  },
  "luminance": 0.29883
}

Semantic roles & 50–950 ramp

primary
#798FEE
secondary
#F1EBD1
accent
#B30CDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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