#798EFD#798EFD

#798EFD is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.2% C 0.164 H 273.2°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#798EFD
RGBrgb(121, 142, 253)
HSLhsl(230, 97%, 73%)
HSVhsv(230, 52%, 99%)
CMYKcmyk(52.2%, 43.9%, 0%, 0.8%)
CIE-LABlab(62.08, 22.78, -57.77)
CIE-LCHlch(62.08, 62.10, 291.51°)
OKLaboklab(68.16% 0.0092 -0.1642)
OKLCHoklch(68.16% 0.164 273.2)
XYZxyz(35.2821, 30.5004, 96.9375)
Luminance0.3050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EFD #FDE879
analogous
#79D0FD #798EFD #A679FD
triadic
#798EFD #FD798E #8EFD79
tetradic
#798EFD #FD79D0 #FDE879 #79FDA6
square
#798EFD #FD79D0 #FDE879 #79FDA6
split-complementary
#798EFD #FDA679 #D0FD79
monochromatic
#042BF8 #3D5BFC #798EFD #B5C1FE #E1E6FF

Accessibility & contrast

On white

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

On black

7.10
#798EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798EFD
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EFD#FFFFFF#000000##000000
##798EFD1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#4F91FB
Tritanopia (blue-blind)
#3BA6B9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #798efd;
/* rgb */ color: rgb(121, 142, 253);
/* oklch */ color: oklch(68.2% 0.164 273.2);
Tailwind
colors: {
  custom: {
    50: '#a8aefe',
    500: '#798efd',
    950: '#000000',
  },
}
SCSS
$custom: #798efd;
$custom-light: #a8aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#798efd",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 230.455,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68162,
    "c": 0.16449,
    "h": 273.2
  },
  "luminance": 0.30503
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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