#798BF1#798BF1

#798BF1 is a light, vivid blue. Relative luminance 0.289; OKLCH L 66.9% C 0.152 H 274.0°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#798BF1
RGBrgb(121, 139, 241)
HSLhsl(231, 81%, 71%)
HSVhsv(231, 50%, 95%)
CMYKcmyk(49.8%, 42.3%, 0%, 5.5%)
CIE-LABlab(60.67, 20.89, -53.42)
CIE-LCHlch(60.67, 57.36, 291.36°)
OKLaboklab(66.88% 0.0107 -0.1515)
OKLCHoklch(66.88% 0.152 274)
XYZxyz(32.9899, 28.8790, 87.0379)
Luminance0.2888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BF1 #F1DF79
analogous
#79C7F1 #798BF1 #A379F1
triadic
#798BF1 #F1798B #8BF179
tetradic
#798BF1 #F179C7 #F1DF79 #79F1A3
square
#798BF1 #F179C7 #F1DF79 #79F1A3
split-complementary
#798BF1 #F1A379 #C7F179
monochromatic
#1734D9 #425BEB #798BF1 #B0BBF7 #E3E7FC

Accessibility & contrast

On white

3.10
#798BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#798BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BF1
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BF1#FFFFFF#000000##000000
##798BF11.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F5
Deuteranopia (green-blind)
#558EEF
Tritanopia (blue-blind)
#47A1B2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798bf1;
/* rgb */ color: rgb(121, 139, 241);
/* oklch */ color: oklch(66.9% 0.152 274.0);
Tailwind
colors: {
  custom: {
    50: '#a6acf6',
    500: '#798bf1',
    950: '#000000',
  },
}
SCSS
$custom: #798bf1;
$custom-light: #a6acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#798bf1",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 241
  },
  "hsl": {
    "h": 231,
    "s": 81.081,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66878,
    "c": 0.15186,
    "h": 274
  },
  "luminance": 0.28881
}

Semantic roles & 50–950 ramp

primary
#798BF1
secondary
#F3EED3
accent
#BD08DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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