#798BF3#798BF3

#798BF3 is a light, vivid blue. Relative luminance 0.290; OKLCH L 67.0% C 0.155 H 274.1°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#798BF3
RGBrgb(121, 139, 243)
HSLhsl(231, 84%, 71%)
HSVhsv(231, 50%, 95%)
CMYKcmyk(50.2%, 42.8%, 0%, 4.7%)
CIE-LABlab(60.78, 21.50, -54.35)
CIE-LCHlch(60.78, 58.45, 291.58°)
OKLaboklab(66.99% 0.011 -0.1542)
OKLCHoklch(66.99% 0.155 274.1)
XYZxyz(33.2903, 28.9992, 88.6198)
Luminance0.2900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BF3 #F3E179
analogous
#79C8F3 #798BF3 #A479F3
triadic
#798BF3 #F3798B #8BF379
tetradic
#798BF3 #F379C8 #F3E179 #79F3A4
square
#798BF3 #F379C8 #F3E179 #79F3A4
split-complementary
#798BF3 #F3A479 #C8F379
monochromatic
#1432DE #415AEE #798BF3 #B1BCF8 #E3E7FC

Accessibility & contrast

On white

3.09
#798BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#798BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BF3
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BF3#FFFFFF#000000##000000
##798BF31.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6098F7
Deuteranopia (green-blind)
#548EF1
Tritanopia (blue-blind)
#45A1B3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798bf3;
/* rgb */ color: rgb(121, 139, 243);
/* oklch */ color: oklch(67.0% 0.155 274.1);
Tailwind
colors: {
  custom: {
    50: '#a7acf7',
    500: '#798bf3',
    950: '#000000',
  },
}
SCSS
$custom: #798bf3;
$custom-light: #a7acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#798bf3",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 243
  },
  "hsl": {
    "h": 231.148,
    "s": 83.562,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66993,
    "c": 0.15461,
    "h": 274.1
  },
  "luminance": 0.29001
}

Semantic roles & 50–950 ramp

primary
#798BF3
secondary
#F4EFD4
accent
#C006E0
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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