#798DEA#798DEA

#798DEA is a light, vivid blue. Relative luminance 0.291; OKLCH L 66.9% C 0.140 H 272.9°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#798DEA
RGBrgb(121, 141, 234)
HSLhsl(229, 73%, 70%)
HSVhsv(229, 48%, 92%)
CMYKcmyk(48.3%, 39.7%, 0%, 8.2%)
CIE-LABlab(60.83, 17.60, -49.30)
CIE-LCHlch(60.83, 52.35, 289.65°)
OKLaboklab(66.88% 0.0071 -0.1394)
OKLCHoklch(66.88% 0.14 272.9)
XYZxyz(32.2566, 29.0533, 81.7341)
Luminance0.2905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DEA #EAD679
analogous
#79C5EA #798DEA #9E79EA
triadic
#798DEA #EA798D #8DEA79
tetradic
#798DEA #EA79C5 #EAD679 #79EA9E
square
#798DEA #EA79C5 #EAD679 #79EA9E
split-complementary
#798DEA #EA9E79 #C5EA79
monochromatic
#203EC9 #4460E2 #798DEA #AEBAF2 #E3E7FB

Accessibility & contrast

On white

3.08
#798DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#798DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DEA
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DEA#FFFFFF#000000##000000
##798DEA1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EE
Deuteranopia (green-blind)
#5E8EE8
Tritanopia (blue-blind)
#4CA1B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798dea;
/* rgb */ color: rgb(121, 141, 234);
/* oklch */ color: oklch(66.9% 0.140 272.9);
Tailwind
colors: {
  custom: {
    50: '#a5aef1',
    500: '#798dea',
    950: '#000000',
  },
}
SCSS
$custom: #798dea;
$custom-light: #a5aef1;
$custom-dark: #000000;
JSON
{
  "hex": "#798dea",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 234
  },
  "hsl": {
    "h": 229.381,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66878,
    "c": 0.13961,
    "h": 272.9
  },
  "luminance": 0.29055
}

Semantic roles & 50–950 ramp

primary
#798DEA
secondary
#F0EACF
accent
#B211D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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