#798AF4#798AF4

#798AF4 is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.9% C 0.157 H 274.5°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#798AF4
RGBrgb(121, 138, 244)
HSLhsl(232, 85%, 72%)
HSVhsv(232, 50%, 96%)
CMYKcmyk(50.4%, 43.4%, 0%, 4.3%)
CIE-LABlab(60.58, 22.39, -55.22)
CIE-LCHlch(60.58, 59.59, 292.07°)
OKLaboklab(66.86% 0.0123 -0.1568)
OKLCHoklch(66.86% 0.157 274.5)
XYZxyz(33.2976, 28.7715, 89.3693)
Luminance0.2877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798AF4 #F4E379
analogous
#79C8F4 #798AF4 #A679F4
triadic
#798AF4 #F4798A #8AF479
tetradic
#798AF4 #F479C8 #F4E379 #79F4A6
square
#798AF4 #F479C8 #F4E379 #79F4A6
split-complementary
#798AF4 #F4A679 #C8F479
monochromatic
#122FE0 #4059EF #798AF4 #B2BBF9 #E3E6FD

Accessibility & contrast

On white

3.11
#798AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#798AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798AF4
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798AF4#FFFFFF#000000##000000
##798AF41.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F8
Deuteranopia (green-blind)
#518DF2
Tritanopia (blue-blind)
#45A1B3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798af4;
/* rgb */ color: rgb(121, 138, 244);
/* oklch */ color: oklch(66.9% 0.157 274.5);
Tailwind
colors: {
  custom: {
    50: '#a7abf8',
    500: '#798af4',
    950: '#000000',
  },
}
SCSS
$custom: #798af4;
$custom-light: #a7abf8;
$custom-dark: #000000;
JSON
{
  "hex": "#798af4",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 244
  },
  "hsl": {
    "h": 231.707,
    "s": 84.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66857,
    "c": 0.15727,
    "h": 274.5
  },
  "luminance": 0.28774
}

Semantic roles & 50–950 ramp

primary
#798AF4
secondary
#F4F0D5
accent
#C304E1
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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