#798FFE#798FFE

#798FFE is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.4% C 0.165 H 272.9°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#798FFE
RGBrgb(121, 143, 254)
HSLhsl(230, 99%, 74%)
HSVhsv(230, 52%, 100%)
CMYKcmyk(52.4%, 43.7%, 0%, 0.4%)
CIE-LABlab(62.39, 22.49, -57.83)
CIE-LCHlch(62.39, 62.05, 291.25°)
OKLaboklab(68.42% 0.0083 -0.1644)
OKLCHoklch(68.42% 0.165 272.9)
XYZxyz(35.5912, 30.8632, 97.8284)
Luminance0.3087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FFE #FEE879
analogous
#79D1FE #798FFE #A579FE
triadic
#798FFE #FE798F #8FFE79
tetradic
#798FFE #FE79D1 #FEE879 #79FEA5
square
#798FFE #FE79D1 #FEE879 #79FEA5
split-complementary
#798FFE #FEA579 #D1FE79
monochromatic
#022BFB #3C5CFE #798FFE #B6C2FE #E1E6FF

Accessibility & contrast

On white

2.93
#798FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#798FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798FFE
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FFE#FFFFFF#000000##000000
##798FFE1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#5091FC
Tritanopia (blue-blind)
#3AA7BA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #798ffe;
/* rgb */ color: rgb(121, 143, 254);
/* oklch */ color: oklch(68.4% 0.165 272.9);
Tailwind
colors: {
  custom: {
    50: '#a8afff',
    500: '#798ffe',
    950: '#000000',
  },
}
SCSS
$custom: #798ffe;
$custom-light: #a8afff;
$custom-dark: #000000;
JSON
{
  "hex": "#798ffe",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 230.075,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68415,
    "c": 0.1646,
    "h": 272.9
  },
  "luminance": 0.30866
}

Semantic roles & 50–950 ramp

primary
#798FFE
secondary
#F7F1D4
accent
#C000E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #798FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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