#798FE8#798FE8

#798FE8 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.2% C 0.134 H 271.9°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#798FE8
RGBrgb(121, 143, 232)
HSLhsl(228, 71%, 69%)
HSVhsv(228, 48%, 91%)
CMYKcmyk(47.8%, 38.4%, 0%, 9%)
CIE-LABlab(61.25, 15.83, -47.53)
CIE-LCHlch(61.25, 50.09, 288.42°)
OKLaboklab(67.17% 0.0044 -0.1342)
OKLCHoklch(67.17% 0.134 271.9)
XYZxyz(32.2685, 29.5341, 80.3286)
Luminance0.2954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FE8 #E8D279
analogous
#79C7E8 #798FE8 #9B79E8
triadic
#798FE8 #E8798F #8FE879
tetradic
#798FE8 #E879C7 #E8D279 #79E89B
square
#798FE8 #E879C7 #E8D279 #79E89B
split-complementary
#798FE8 #E89B79 #C7E879
monochromatic
#2242C5 #4563DF #798FE8 #ADBBF1 #E1E6FA

Accessibility & contrast

On white

3.04
#798FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#798FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FE8
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FE8#FFFFFF#000000##000000
##798FE81.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D99EC
Deuteranopia (green-blind)
#628FE6
Tritanopia (blue-blind)
#4DA2B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798fe8;
/* rgb */ color: rgb(121, 143, 232);
/* oklch */ color: oklch(67.2% 0.134 271.9);
Tailwind
colors: {
  custom: {
    50: '#a5aff0',
    500: '#798fe8',
    950: '#000000',
  },
}
SCSS
$custom: #798fe8;
$custom-light: #a5aff0;
$custom-dark: #000000;
JSON
{
  "hex": "#798fe8",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 232
  },
  "hsl": {
    "h": 228.108,
    "s": 70.701,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67169,
    "c": 0.13431,
    "h": 271.9
  },
  "luminance": 0.29536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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