#798EFC#798EFC

#798EFC is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.1% C 0.163 H 273.2°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#798EFC
RGBrgb(121, 142, 252)
HSLhsl(230, 96%, 73%)
HSVhsv(230, 52%, 99%)
CMYKcmyk(52%, 43.7%, 0%, 1.2%)
CIE-LABlab(62.03, 22.47, -57.31)
CIE-LCHlch(62.03, 61.56, 291.41°)
OKLaboklab(68.1% 0.0091 -0.1629)
OKLCHoklch(68.1% 0.163 273.2)
XYZxyz(35.1232, 30.4369, 96.1007)
Luminance0.3044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EFC #FCE779
analogous
#79CFFC #798EFC #A579FC
triadic
#798EFC #FC798E #8EFC79
tetradic
#798EFC #FC79CF #FCE779 #79FCA5
square
#798EFC #FC79CF #FCE779 #79FCA5
split-complementary
#798EFC #FCA579 #CFFC79
monochromatic
#052CF5 #3D5CFB #798EFC #B5C0FD #E1E6FE

Accessibility & contrast

On white

2.96
#798EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#798EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798EFC
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EFC#FFFFFF#000000##000000
##798EFC1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#5091FA
Tritanopia (blue-blind)
#3CA6B9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #798efc;
/* rgb */ color: rgb(121, 142, 252);
/* oklch */ color: oklch(68.1% 0.163 273.2);
Tailwind
colors: {
  custom: {
    50: '#a7aefe',
    500: '#798efc',
    950: '#000000',
  },
}
SCSS
$custom: #798efc;
$custom-light: #a7aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#798efc",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 252
  },
  "hsl": {
    "h": 230.382,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68103,
    "c": 0.16313,
    "h": 273.2
  },
  "luminance": 0.30439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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