#798DFE#798DFE

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

Color values

HEX#798DFE
RGBrgb(121, 141, 254)
HSLhsl(231, 99%, 74%)
HSVhsv(231, 52%, 100%)
CMYKcmyk(52.4%, 44.5%, 0%, 0.4%)
CIE-LABlab(61.88, 23.67, -58.64)
CIE-LCHlch(61.88, 63.24, 291.98°)
OKLaboklab(68.03% 0.0105 -0.1668)
OKLCHoklch(68.03% 0.167 273.6)
XYZxyz(35.2937, 30.2681, 97.7293)
Luminance0.3027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DFE #FEEA79
analogous
#79D0FE #798DFE #A779FE
triadic
#798DFE #FE798D #8DFE79
tetradic
#798DFE #FE79D0 #FEEA79 #79FEA7
square
#798DFE #FE79D0 #FEEA79 #79FEA7
split-complementary
#798DFE #FEA779 #D0FE79
monochromatic
#0227FB #3C59FE #798DFE #B6C1FE #E1E5FF

Accessibility & contrast

On white

2.98
#798DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#798DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798DFE
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DFE#FFFFFF#000000##000000
##798DFE1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9BFF
Deuteranopia (green-blind)
#4D90FC
Tritanopia (blue-blind)
#3AA6B9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #798dfe;
/* rgb */ color: rgb(121, 141, 254);
/* oklch */ color: oklch(68.0% 0.167 273.6);
Tailwind
colors: {
  custom: {
    50: '#a8aeff',
    500: '#798dfe',
    950: '#000000',
  },
}
SCSS
$custom: #798dfe;
$custom-light: #a8aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#798dfe",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 230.977,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68029,
    "c": 0.16711,
    "h": 273.6
  },
  "luminance": 0.3027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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