#798CFE#798CFE

#798CFE is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.8% C 0.168 H 273.9°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#798CFE
RGBrgb(121, 140, 254)
HSLhsl(231, 99%, 74%)
HSVhsv(231, 52%, 100%)
CMYKcmyk(52.4%, 44.9%, 0%, 0.4%)
CIE-LABlab(61.63, 24.26, -59.04)
CIE-LCHlch(61.63, 63.83, 292.34°)
OKLaboklab(67.84% 0.0116 -0.168)
OKLCHoklch(67.84% 0.168 273.9)
XYZxyz(35.1469, 29.9745, 97.6803)
Luminance0.2998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CFE #FEEB79
analogous
#79CEFE #798CFE #A879FE
triadic
#798CFE #FE798C #8CFE79
tetradic
#798CFE #FE79CE #FEEB79 #79FEA8
square
#798CFE #FE79CE #FEEB79 #79FEA8
split-complementary
#798CFE #FEA879 #CEFE79
monochromatic
#0225FB #3C58FE #798CFE #B6C0FE #E1E5FF

Accessibility & contrast

On white

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

On black

7.00
#798CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798CFE
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CFE#FFFFFF#000000##000000
##798CFE1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#4B90FC
Tritanopia (blue-blind)
#3AA5B9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #798cfe;
/* rgb */ color: rgb(121, 140, 254);
/* oklch */ color: oklch(67.8% 0.168 273.9);
Tailwind
colors: {
  custom: {
    50: '#a8adff',
    500: '#798cfe',
    950: '#000000',
  },
}
SCSS
$custom: #798cfe;
$custom-light: #a8adff;
$custom-dark: #000000;
JSON
{
  "hex": "#798cfe",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 254
  },
  "hsl": {
    "h": 231.429,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67836,
    "c": 0.16837,
    "h": 273.9
  },
  "luminance": 0.29977
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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