#798AFF#798AFF

#798AFF is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.5% C 0.172 H 274.6°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#798AFF
RGBrgb(121, 138, 255)
HSLhsl(232, 100%, 74%)
HSVhsv(232, 53%, 100%)
CMYKcmyk(52.5%, 45.9%, 0%, 0%)
CIE-LABlab(61.19, 25.75, -60.31)
CIE-LCHlch(61.19, 65.57, 293.12°)
OKLaboklab(67.51% 0.0139 -0.1717)
OKLCHoklch(67.51% 0.172 274.6)
XYZxyz(35.0179, 29.4596, 98.4294)
Luminance0.2946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798AFF #FFEE79
analogous
#79CDFF #798AFF #AB79FF
triadic
#798AFF #FF798A #8AFF79
tetradic
#798AFF #FF79CD #FFEE79 #79FFAB
square
#798AFF #FF79CD #FFEE79 #79FFAB
split-complementary
#798AFF #FFAB79 #CDFF79
monochromatic
#0020FE #3C55FF #798AFF #B6BFFF #E0E4FF

Accessibility & contrast

On white

3.05
#798AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#798AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798AFF
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798AFF#FFFFFF#000000##000000
##798AFF1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#559AFF
Deuteranopia (green-blind)
#468EFC
Tritanopia (blue-blind)
#3AA4B8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798aff;
/* rgb */ color: rgb(121, 138, 255);
/* oklch */ color: oklch(67.5% 0.172 274.6);
Tailwind
colors: {
  custom: {
    50: '#a8abff',
    500: '#798aff',
    950: '#000000',
  },
}
SCSS
$custom: #798aff;
$custom-light: #a8abff;
$custom-dark: #000000;
JSON
{
  "hex": "#798aff",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 232.388,
    "s": 100,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67514,
    "c": 0.17225,
    "h": 274.6
  },
  "luminance": 0.29462
}

Semantic roles & 50–950 ramp

primary
#798AFF
secondary
#F7F3D4
accent
#C800E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #798AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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