#798BF4#798BF4

#798BF4 is a light, vivid blue. Relative luminance 0.291; OKLCH L 67.1% C 0.156 H 274.1°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#798BF4
RGBrgb(121, 139, 244)
HSLhsl(231, 85%, 72%)
HSVhsv(231, 50%, 96%)
CMYKcmyk(50.4%, 43%, 0%, 4.3%)
CIE-LABlab(60.83, 21.80, -54.82)
CIE-LCHlch(60.83, 58.99, 291.69°)
OKLaboklab(67.05% 0.0112 -0.1556)
OKLCHoklch(67.05% 0.156 274.1)
XYZxyz(33.4417, 29.0597, 89.4173)
Luminance0.2906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BF4 #F4E279
analogous
#79C8F4 #798BF4 #A579F4
triadic
#798BF4 #F4798B #8BF479
tetradic
#798BF4 #F479C8 #F4E279 #79F4A5
square
#798BF4 #F479C8 #F4E279 #79F4A5
split-complementary
#798BF4 #F4A579 #C8F479
monochromatic
#1231E0 #405AEF #798BF4 #B2BCF9 #E3E7FD

Accessibility & contrast

On white

3.08
#798BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#798BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BF4
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BF4#FFFFFF#000000##000000
##798BF41.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F98F8
Deuteranopia (green-blind)
#538EF2
Tritanopia (blue-blind)
#44A2B4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798bf4;
/* rgb */ color: rgb(121, 139, 244);
/* oklch */ color: oklch(67.1% 0.156 274.1);
Tailwind
colors: {
  custom: {
    50: '#a7acf8',
    500: '#798bf4',
    950: '#000000',
  },
}
SCSS
$custom: #798bf4;
$custom-light: #a7acf8;
$custom-dark: #000000;
JSON
{
  "hex": "#798bf4",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 244
  },
  "hsl": {
    "h": 231.22,
    "s": 84.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67051,
    "c": 0.15599,
    "h": 274.1
  },
  "luminance": 0.29062
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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