#798FE0#798FE0

#798FE0 is a light, vivid blue. Relative luminance 0.291; OKLCH L 66.7% C 0.123 H 271.2°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#798FE0
RGBrgb(121, 143, 224)
HSLhsl(227, 62%, 68%)
HSVhsv(227, 46%, 88%)
CMYKcmyk(46%, 36.2%, 0%, 12.2%)
CIE-LABlab(60.86, 13.46, -43.70)
CIE-LCHlch(60.86, 45.73, 287.12°)
OKLaboklab(66.74% 0.0026 -0.1231)
OKLCHoklch(66.74% 0.123 271.2)
XYZxyz(31.1579, 29.0899, 74.4797)
Luminance0.2909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FE0 #E0CA79
analogous
#79C3E0 #798FE0 #9679E0
triadic
#798FE0 #E0798F #8FE079
tetradic
#798FE0 #E079C3 #E0CA79 #79E096
square
#798FE0 #E079C3 #E0CA79 #79E096
split-complementary
#798FE0 #E09679 #C3E079
monochromatic
#2A48B5 #4765D5 #798FE0 #ABB9EB #DCE2F7

Accessibility & contrast

On white

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

On black

6.82
#798FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FE0
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FE0#FFFFFF#000000##000000
##798FE01.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7198E3
Deuteranopia (green-blind)
#678FDE
Tritanopia (blue-blind)
#53A0AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798fe0;
/* rgb */ color: rgb(121, 143, 224);
/* oklch */ color: oklch(66.7% 0.123 271.2);
Tailwind
colors: {
  custom: {
    50: '#a4afea',
    500: '#798fe0',
    950: '#000000',
  },
}
SCSS
$custom: #798fe0;
$custom-light: #a4afea;
$custom-dark: #000000;
JSON
{
  "hex": "#798fe0",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 224
  },
  "hsl": {
    "h": 227.184,
    "s": 62.424,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66742,
    "c": 0.12312,
    "h": 271.2
  },
  "luminance": 0.29092
}

Semantic roles & 50–950 ramp

primary
#798FE0
secondary
#EAE4CA
accent
#A51BCA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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