#798AE8#798AE8

#798AE8 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.2% C 0.141 H 274.2°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#798AE8
RGBrgb(121, 138, 232)
HSLhsl(231, 71%, 69%)
HSVhsv(231, 48%, 91%)
CMYKcmyk(47.8%, 40.5%, 0%, 9%)
CIE-LABlab(59.95, 18.78, -49.59)
CIE-LCHlch(59.95, 53.02, 290.74°)
OKLaboklab(66.17% 0.0103 -0.1403)
OKLCHoklch(66.17% 0.141 274.2)
XYZxyz(31.5346, 28.0663, 80.0840)
Luminance0.2807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798AE8 #E8D779
analogous
#79C2E8 #798AE8 #A079E8
triadic
#798AE8 #E8798A #8AE879
tetradic
#798AE8 #E879C2 #E8D779 #79E8A0
square
#798AE8 #E879C2 #E8D779 #79E8A0
split-complementary
#798AE8 #E8A079 #C2E879
monochromatic
#223BC5 #455CDF #798AE8 #ADB8F1 #E1E5FA

Accessibility & contrast

On white

3.18
#798AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#798AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798AE8
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798AE8#FFFFFF#000000##000000
##798AE81.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6595EC
Deuteranopia (green-blind)
#5B8CE6
Tritanopia (blue-blind)
#4E9EAE
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798ae8;
/* rgb */ color: rgb(121, 138, 232);
/* oklch */ color: oklch(66.2% 0.141 274.2);
Tailwind
colors: {
  custom: {
    50: '#a5abf0',
    500: '#798ae8',
    950: '#000000',
  },
}
SCSS
$custom: #798ae8;
$custom-light: #a5abf0;
$custom-dark: #000000;
JSON
{
  "hex": "#798ae8",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 232
  },
  "hsl": {
    "h": 230.811,
    "s": 70.701,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66169,
    "c": 0.14067,
    "h": 274.2
  },
  "luminance": 0.28068
}

Semantic roles & 50–950 ramp

primary
#798AE8
secondary
#EFEACE
accent
#B513D3
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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