#798FE1#798FE1

#798FE1 is a light, vivid blue. Relative luminance 0.291; OKLCH L 66.8% C 0.125 H 271.3°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#798FE1
RGBrgb(121, 143, 225)
HSLhsl(227, 63%, 68%)
HSVhsv(227, 46%, 88%)
CMYKcmyk(46.2%, 36.4%, 0%, 11.8%)
CIE-LABlab(60.91, 13.75, -44.18)
CIE-LCHlch(60.91, 46.27, 287.29°)
OKLaboklab(66.79% 0.0029 -0.1245)
OKLCHoklch(66.79% 0.125 271.3)
XYZxyz(31.2939, 29.1443, 75.1960)
Luminance0.2915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FE1 #E1CB79
analogous
#79C3E1 #798FE1 #9779E1
triadic
#798FE1 #E1798F #8FE179
tetradic
#798FE1 #E179C3 #E1CB79 #79E197
square
#798FE1 #E179C3 #E1CB79 #79E197
split-complementary
#798FE1 #E19779 #C3E179
monochromatic
#2947B7 #4765D6 #798FE1 #ABB9EC #DDE3F7

Accessibility & contrast

On white

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

On black

6.83
#798FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FE1
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FE1#FFFFFF#000000##000000
##798FE11.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7198E4
Deuteranopia (green-blind)
#678FDF
Tritanopia (blue-blind)
#52A0AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798fe1;
/* rgb */ color: rgb(121, 143, 225);
/* oklch */ color: oklch(66.8% 0.125 271.3);
Tailwind
colors: {
  custom: {
    50: '#a5afeb',
    500: '#798fe1',
    950: '#000000',
  },
}
SCSS
$custom: #798fe1;
$custom-light: #a5afeb;
$custom-dark: #000000;
JSON
{
  "hex": "#798fe1",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 225
  },
  "hsl": {
    "h": 227.308,
    "s": 63.415,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66794,
    "c": 0.12451,
    "h": 271.3
  },
  "luminance": 0.29146
}

Semantic roles & 50–950 ramp

primary
#798FE1
secondary
#EBE4CB
accent
#A61ACB
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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