#798DF9#798DF9

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

Color values

HEX#798DF9
RGBrgb(121, 141, 249)
HSLhsl(231, 91%, 73%)
HSVhsv(231, 51%, 98%)
CMYKcmyk(51.4%, 43.4%, 0%, 2.4%)
CIE-LABlab(61.61, 22.14, -56.33)
CIE-LCHlch(61.61, 60.52, 291.46°)
OKLaboklab(67.73% 0.0097 -0.16)
OKLCHoklch(67.73% 0.16 273.5)
XYZxyz(34.5034, 29.9520, 93.5673)
Luminance0.2995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DF9 #F9E579
analogous
#79CDF9 #798DF9 #A579F9
triadic
#798DF9 #F9798D #8DF979
tetradic
#798DF9 #F979CD #F9E579 #79F9A5
square
#798DF9 #F979CD #F9E579 #79F9A5
split-complementary
#798DF9 #F9A579 #CDF979
monochromatic
#0B2EED #3E5BF6 #798DF9 #B4BFFC #E2E6FE

Accessibility & contrast

On white

3.00
#798DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#798DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DF9
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DF9#FFFFFF#000000##000000
##798DF91.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFD
Deuteranopia (green-blind)
#5290F7
Tritanopia (blue-blind)
#3FA4B7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #798df9;
/* rgb */ color: rgb(121, 141, 249);
/* oklch */ color: oklch(67.7% 0.160 273.5);
Tailwind
colors: {
  custom: {
    50: '#a7aefc',
    500: '#798df9',
    950: '#000000',
  },
}
SCSS
$custom: #798df9;
$custom-light: #a7aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#798df9",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 249
  },
  "hsl": {
    "h": 230.625,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67733,
    "c": 0.1603,
    "h": 273.5
  },
  "luminance": 0.29954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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