#798AE2#798AE2

#798AE2 is a light, vivid blue. Relative luminance 0.277; OKLCH L 65.8% C 0.132 H 273.9°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#798AE2
RGBrgb(121, 138, 226)
HSLhsl(230, 64%, 68%)
HSVhsv(230, 46%, 89%)
CMYKcmyk(46.5%, 38.9%, 0%, 11.4%)
CIE-LABlab(59.65, 16.99, -46.73)
CIE-LCHlch(59.65, 49.73, 289.98°)
OKLaboklab(65.84% 0.0091 -0.132)
OKLCHoklch(65.84% 0.132 273.9)
XYZxyz(30.6968, 27.7312, 75.6719)
Luminance0.2773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798AE2 #E2D179
analogous
#79BEE2 #798AE2 #9C79E2
triadic
#798AE2 #E2798A #8AE279
tetradic
#798AE2 #E279BE #E2D179 #79E29C
square
#798AE2 #E279BE #E2D179 #79E29C
split-complementary
#798AE2 #E29C79 #BEE279
monochromatic
#283FB9 #475ED7 #798AE2 #ABB6ED #DEE2F8

Accessibility & contrast

On white

3.21
#798AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#798AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798AE2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798AE2#FFFFFF#000000##000000
##798AE21.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6994E5
Deuteranopia (green-blind)
#5F8CE0
Tritanopia (blue-blind)
#529CAB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798ae2;
/* rgb */ color: rgb(121, 138, 226);
/* oklch */ color: oklch(65.8% 0.132 273.9);
Tailwind
colors: {
  custom: {
    50: '#a5abeb',
    500: '#798ae2',
    950: '#000000',
  },
}
SCSS
$custom: #798ae2;
$custom-light: #a5abeb;
$custom-dark: #000000;
JSON
{
  "hex": "#798ae2",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 226
  },
  "hsl": {
    "h": 230.286,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65838,
    "c": 0.13226,
    "h": 273.9
  },
  "luminance": 0.27733
}

Semantic roles & 50–950 ramp

primary
#798AE2
secondary
#EBE6CB
accent
#AF19CC
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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