#798AED#798AED

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

Color values

HEX#798AED
RGBrgb(121, 138, 237)
HSLhsl(231, 76%, 70%)
HSVhsv(231, 49%, 93%)
CMYKcmyk(48.9%, 41.8%, 0%, 7.1%)
CIE-LABlab(60.21, 20.28, -51.95)
CIE-LCHlch(60.21, 55.77, 291.32°)
OKLaboklab(66.45% 0.0112 -0.1472)
OKLCHoklch(66.45% 0.148 274.3)
XYZxyz(32.2549, 28.3544, 83.8777)
Luminance0.2836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798AED #EDDC79
analogous
#79C4ED #798AED #A279ED
triadic
#798AED #ED798A #8AED79
tetradic
#798AED #ED79C4 #EDDC79 #79EDA2
square
#798AED #ED79C4 #EDDC79 #79EDA2
split-complementary
#798AED #EDA279 #C4ED79
monochromatic
#1C36D0 #435BE6 #798AED #AFB9F4 #E4E7FB

Accessibility & contrast

On white

3.15
#798AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#798AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798AED
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798AED#FFFFFF#000000##000000
##798AED1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F1
Deuteranopia (green-blind)
#578DEB
Tritanopia (blue-blind)
#4A9FB0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #798aed;
/* rgb */ color: rgb(121, 138, 237);
/* oklch */ color: oklch(66.5% 0.148 274.3);
Tailwind
colors: {
  custom: {
    50: '#a6abf3',
    500: '#798aed',
    950: '#000000',
  },
}
SCSS
$custom: #798aed;
$custom-light: #a6abf3;
$custom-dark: #000000;
JSON
{
  "hex": "#798aed",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 231.207,
    "s": 76.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66452,
    "c": 0.14761,
    "h": 274.3
  },
  "luminance": 0.28356
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798AED

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

Preview Lab → · Contrast checker → · Palette generator →

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