#798AEE#798AEE

#798AEE is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.5% C 0.149 H 274.4°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#798AEE
RGBrgb(121, 138, 238)
HSLhsl(231, 77%, 70%)
HSVhsv(231, 49%, 93%)
CMYKcmyk(49.2%, 42%, 0%, 6.7%)
CIE-LABlab(60.26, 20.58, -52.42)
CIE-LCHlch(60.26, 56.31, 291.43°)
OKLaboklab(66.51% 0.0113 -0.1486)
OKLCHoklch(66.51% 0.149 274.4)
XYZxyz(32.4014, 28.4130, 84.6493)
Luminance0.2842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798AEE #EEDD79
analogous
#79C4EE #798AEE #A279EE
triadic
#798AEE #EE798A #8AEE79
tetradic
#798AEE #EE79C4 #EEDD79 #79EEA2
square
#798AEE #EE79C4 #EEDD79 #79EEA2
split-complementary
#798AEE #EEA279 #C4EE79
monochromatic
#1B35D2 #435BE7 #798AEE #AFB9F5 #E4E7FC

Accessibility & contrast

On white

3.14
#798AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#798AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798AEE
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798AEE#FFFFFF#000000##000000
##798AEE1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F2
Deuteranopia (green-blind)
#568DEC
Tritanopia (blue-blind)
#4A9FB0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #798aee;
/* rgb */ color: rgb(121, 138, 238);
/* oklch */ color: oklch(66.5% 0.149 274.4);
Tailwind
colors: {
  custom: {
    50: '#a6abf4',
    500: '#798aee',
    950: '#000000',
  },
}
SCSS
$custom: #798aee;
$custom-light: #a6abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#798aee",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 231.282,
    "s": 77.483,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66509,
    "c": 0.149,
    "h": 274.4
  },
  "luminance": 0.28415
}

Semantic roles & 50–950 ramp

primary
#798AEE
secondary
#F1EDD1
accent
#BC0CDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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