#798FE2#798FE2

#798FE2 is a light, vivid blue. Relative luminance 0.292; OKLCH L 66.8% C 0.126 H 271.4°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#798FE2
RGBrgb(121, 143, 226)
HSLhsl(227, 64%, 68%)
HSVhsv(227, 46%, 89%)
CMYKcmyk(46.5%, 36.7%, 0%, 11.4%)
CIE-LABlab(60.96, 14.05, -44.66)
CIE-LCHlch(60.96, 46.82, 287.46°)
OKLaboklab(66.85% 0.0031 -0.1259)
OKLCHoklch(66.85% 0.126 271.4)
XYZxyz(31.4308, 29.1990, 75.9166)
Luminance0.2920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FE2 #E2CC79
analogous
#79C3E2 #798FE2 #9879E2
triadic
#798FE2 #E2798F #8FE279
tetradic
#798FE2 #E279C3 #E2CC79 #79E298
square
#798FE2 #E279C3 #E2CC79 #79E298
split-complementary
#798FE2 #E29879 #C3E279
monochromatic
#2846B9 #4765D7 #798FE2 #ABB9ED #DEE3F8

Accessibility & contrast

On white

3.07
#798FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#798FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FE2
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FE2#FFFFFF#000000##000000
##798FE21.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7098E5
Deuteranopia (green-blind)
#668FE0
Tritanopia (blue-blind)
#51A0AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798fe2;
/* rgb */ color: rgb(121, 143, 226);
/* oklch */ color: oklch(66.8% 0.126 271.4);
Tailwind
colors: {
  custom: {
    50: '#a5afeb',
    500: '#798fe2',
    950: '#000000',
  },
}
SCSS
$custom: #798fe2;
$custom-light: #a5afeb;
$custom-dark: #000000;
JSON
{
  "hex": "#798fe2",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 226
  },
  "hsl": {
    "h": 227.429,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66847,
    "c": 0.12592,
    "h": 271.4
  },
  "luminance": 0.29201
}

Semantic roles & 50–950 ramp

primary
#798FE2
secondary
#EBE5CB
accent
#A719CC
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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