#798DF8#798DF8

#798DF8 is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.7% C 0.159 H 273.5°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#798DF8
RGBrgb(121, 141, 248)
HSLhsl(231, 90%, 72%)
HSVhsv(231, 51%, 97%)
CMYKcmyk(51.2%, 43.1%, 0%, 2.7%)
CIE-LABlab(61.56, 21.84, -55.87)
CIE-LCHlch(61.56, 59.98, 291.35°)
OKLaboklab(67.67% 0.0096 -0.1586)
OKLCHoklch(67.67% 0.159 273.5)
XYZxyz(34.3479, 29.8898, 92.7481)
Luminance0.2989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DF8 #F8E479
analogous
#79CDF8 #798DF8 #A479F8
triadic
#798DF8 #F8798D #8DF879
tetradic
#798DF8 #F879CD #F8E479 #79F8A4
square
#798DF8 #F879CD #F8E479 #79F8A4
split-complementary
#798DF8 #F8A479 #CDF879
monochromatic
#0C2FEA #3F5CF5 #798DF8 #B3BEFB #E2E6FD

Accessibility & contrast

On white

3.01
#798DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#798DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DF8
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DF8#FFFFFF#000000##000000
##798DF81.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFC
Deuteranopia (green-blind)
#5390F6
Tritanopia (blue-blind)
#40A4B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #798df8;
/* rgb */ color: rgb(121, 141, 248);
/* oklch */ color: oklch(67.7% 0.159 273.5);
Tailwind
colors: {
  custom: {
    50: '#a7aefb',
    500: '#798df8',
    950: '#000000',
  },
}
SCSS
$custom: #798df8;
$custom-light: #a7aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#798df8",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 230.551,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67674,
    "c": 0.15893,
    "h": 273.5
  },
  "luminance": 0.29892
}

Semantic roles & 50–950 ramp

primary
#798DF8
secondary
#F6F1D5
accent
#C100E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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