#798DFF#798DFF

#798DFF is a light, vivid blue. Relative luminance 0.303; OKLCH L 68.1% C 0.168 H 273.6°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#798DFF
RGBrgb(121, 141, 255)
HSLhsl(231, 100%, 74%)
HSVhsv(231, 53%, 100%)
CMYKcmyk(52.5%, 44.7%, 0%, 0%)
CIE-LABlab(61.94, 23.98, -59.10)
CIE-LCHlch(61.94, 63.78, 292.08°)
OKLaboklab(68.09% 0.0106 -0.1681)
OKLCHoklch(68.09% 0.168 273.6)
XYZxyz(35.4542, 30.3323, 98.5748)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DFF #FFEB79
analogous
#79D0FF #798DFF #A879FF
triadic
#798DFF #FF798D #8DFF79
tetradic
#798DFF #FF79D0 #FFEB79 #79FFA8
square
#798DFF #FF79D0 #FFEB79 #79FFA8
split-complementary
#798DFF #FFA879 #D0FF79
monochromatic
#0026FE #3C59FF #798DFF #B6C1FF #E0E5FF

Accessibility & contrast

On white

2.97
#798DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#798DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798DFF
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DFF#FFFFFF#000000##000000
##798DFF1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9CFF
Deuteranopia (green-blind)
#4C90FD
Tritanopia (blue-blind)
#39A6BA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #798dff;
/* rgb */ color: rgb(121, 141, 255);
/* oklch */ color: oklch(68.1% 0.168 273.6);
Tailwind
colors: {
  custom: {
    50: '#a8aeff',
    500: '#798dff',
    950: '#000000',
  },
}
SCSS
$custom: #798dff;
$custom-light: #a8aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#798dff",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 231.045,
    "s": 100,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68088,
    "c": 0.16847,
    "h": 273.6
  },
  "luminance": 0.30335
}

Semantic roles & 50–950 ramp

primary
#798DFF
secondary
#F7F2D4
accent
#C300E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #798DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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