#798CFD#798CFD

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

Color values

HEX#798CFD
RGBrgb(121, 140, 253)
HSLhsl(231, 97%, 73%)
HSVhsv(231, 52%, 99%)
CMYKcmyk(52.2%, 44.7%, 0%, 0.8%)
CIE-LABlab(61.58, 23.95, -58.58)
CIE-LCHlch(61.58, 63.29, 292.24°)
OKLaboklab(67.78% 0.0114 -0.1666)
OKLCHoklch(67.78% 0.167 273.9)
XYZxyz(34.9872, 29.9106, 96.8392)
Luminance0.2991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CFD #FDEA79
analogous
#79CEFD #798CFD #A879FD
triadic
#798CFD #FD798C #8CFD79
tetradic
#798CFD #FD79CE #FDEA79 #79FDA8
square
#798CFD #FD79CE #FDEA79 #79FDA8
split-complementary
#798CFD #FDA879 #CEFD79
monochromatic
#0427F8 #3D58FC #798CFD #B5C0FE #E1E5FF

Accessibility & contrast

On white

3.01
#798CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#798CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CFD
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CFD#FFFFFF#000000##000000
##798CFD1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#4C8FFB
Tritanopia (blue-blind)
#3BA5B8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #798cfd;
/* rgb */ color: rgb(121, 140, 253);
/* oklch */ color: oklch(67.8% 0.167 273.9);
Tailwind
colors: {
  custom: {
    50: '#a8adff',
    500: '#798cfd',
    950: '#000000',
  },
}
SCSS
$custom: #798cfd;
$custom-light: #a8adff;
$custom-dark: #000000;
JSON
{
  "hex": "#798cfd",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 231.364,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67776,
    "c": 0.16701,
    "h": 273.9
  },
  "luminance": 0.29913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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