#798FF5#798FF5

#798FF5 is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.9% C 0.152 H 272.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#798FF5
RGBrgb(121, 143, 245)
HSLhsl(229, 86%, 72%)
HSVhsv(229, 51%, 96%)
CMYKcmyk(50.6%, 41.6%, 0%, 3.9%)
CIE-LABlab(61.91, 19.75, -53.65)
CIE-LCHlch(61.91, 57.17, 290.20°)
OKLaboklab(67.89% 0.0068 -0.1521)
OKLCHoklch(67.89% 0.152 272.6)
XYZxyz(34.1838, 30.3002, 90.4157)
Luminance0.3030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FF5 #F5DF79
analogous
#79CDF5 #798FF5 #A179F5
triadic
#798FF5 #F5798F #8FF579
tetradic
#798FF5 #F579CD #F5DF79 #79F5A1
square
#798FF5 #F579CD #F5DF79 #79F5A1
split-complementary
#798FF5 #F5A179 #CDF579
monochromatic
#1136E3 #405FF1 #798FF5 #B2BFF9 #E3E7FD

Accessibility & contrast

On white

2.97
#798FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#798FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798FF5
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FF5#FFFFFF#000000##000000
##798FF51.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BF9
Deuteranopia (green-blind)
#5891F3
Tritanopia (blue-blind)
#43A5B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #798ff5;
/* rgb */ color: rgb(121, 143, 245);
/* oklch */ color: oklch(67.9% 0.152 272.6);
Tailwind
colors: {
  custom: {
    50: '#a7aff9',
    500: '#798ff5',
    950: '#000000',
  },
}
SCSS
$custom: #798ff5;
$custom-light: #a7aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#798ff5",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 229.355,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67893,
    "c": 0.1523,
    "h": 272.6
  },
  "luminance": 0.30302
}

Semantic roles & 50–950 ramp

primary
#798FF5
secondary
#F5EFD5
accent
#BB03E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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