#798FF8#798FF8

#798FF8 is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.1% C 0.156 H 272.7°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#798FF8
RGBrgb(121, 143, 248)
HSLhsl(230, 90%, 72%)
HSVhsv(230, 51%, 97%)
CMYKcmyk(51.2%, 42.3%, 0%, 2.7%)
CIE-LABlab(62.07, 20.66, -55.05)
CIE-LCHlch(62.07, 58.80, 290.57°)
OKLaboklab(68.07% 0.0073 -0.1562)
OKLCHoklch(68.07% 0.156 272.7)
XYZxyz(34.6455, 30.4849, 92.8473)
Luminance0.3049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FF8 #F8E279
analogous
#79CFF8 #798FF8 #A279F8
triadic
#798FF8 #F8798F #8FF879
tetradic
#798FF8 #F879CF #F8E279 #79F8A2
square
#798FF8 #F879CF #F8E279 #79F8A2
split-complementary
#798FF8 #F8A279 #CFF879
monochromatic
#0C33EA #3F5EF5 #798FF8 #B3C0FB #E2E7FD

Accessibility & contrast

On white

2.96
#798FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#798FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798FF8
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FF8#FFFFFF#000000##000000
##798FF81.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFC
Deuteranopia (green-blind)
#5691F6
Tritanopia (blue-blind)
#40A6B7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #798ff8;
/* rgb */ color: rgb(121, 143, 248);
/* oklch */ color: oklch(68.1% 0.156 272.7);
Tailwind
colors: {
  custom: {
    50: '#a7affb',
    500: '#798ff8',
    950: '#000000',
  },
}
SCSS
$custom: #798ff8;
$custom-light: #a7affb;
$custom-dark: #000000;
JSON
{
  "hex": "#798ff8",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 229.606,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68065,
    "c": 0.15641,
    "h": 272.7
  },
  "luminance": 0.30487
}

Semantic roles & 50–950 ramp

primary
#798FF8
secondary
#F6F0D5
accent
#BE00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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