#798EE8#798EE8

#798EE8 is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.0% C 0.136 H 272.3°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#798EE8
RGBrgb(121, 142, 232)
HSLhsl(229, 71%, 69%)
HSVhsv(229, 48%, 91%)
CMYKcmyk(47.8%, 38.8%, 0%, 9%)
CIE-LABlab(60.99, 16.42, -47.94)
CIE-LCHlch(60.99, 50.67, 288.90°)
OKLaboklab(66.97% 0.0056 -0.1354)
OKLCHoklch(66.97% 0.136 272.3)
XYZxyz(32.1190, 29.2352, 80.2788)
Luminance0.2924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EE8 #E8D379
analogous
#79C6E8 #798EE8 #9C79E8
triadic
#798EE8 #E8798E #8EE879
tetradic
#798EE8 #E879C6 #E8D379 #79E89C
square
#798EE8 #E879C6 #E8D379 #79E89C
split-complementary
#798EE8 #E89C79 #C6E879
monochromatic
#2241C5 #4562DF #798EE8 #ADBAF1 #E1E6FA

Accessibility & contrast

On white

3.07
#798EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#798EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EE8
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EE8#FFFFFF#000000##000000
##798EE81.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C98EC
Deuteranopia (green-blind)
#618FE6
Tritanopia (blue-blind)
#4DA1B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798ee8;
/* rgb */ color: rgb(121, 142, 232);
/* oklch */ color: oklch(67.0% 0.136 272.3);
Tailwind
colors: {
  custom: {
    50: '#a5aef0',
    500: '#798ee8',
    950: '#000000',
  },
}
SCSS
$custom: #798ee8;
$custom-light: #a5aef0;
$custom-dark: #000000;
JSON
{
  "hex": "#798ee8",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 232
  },
  "hsl": {
    "h": 228.649,
    "s": 70.701,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66968,
    "c": 0.13556,
    "h": 272.3
  },
  "luminance": 0.29237
}

Semantic roles & 50–950 ramp

primary
#798EE8
secondary
#EFE8CE
accent
#AE13D3
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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