#798EE0#798EE0

#798EE0 is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.5% C 0.124 H 271.8°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#798EE0
RGBrgb(121, 142, 224)
HSLhsl(228, 62%, 68%)
HSVhsv(228, 46%, 88%)
CMYKcmyk(46%, 36.6%, 0%, 12.2%)
CIE-LABlab(60.60, 14.05, -44.12)
CIE-LCHlch(60.60, 46.30, 287.66°)
OKLaboklab(66.54% 0.0039 -0.1243)
OKLCHoklch(66.54% 0.124 271.8)
XYZxyz(31.0085, 28.7910, 74.4299)
Luminance0.2879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EE0 #E0CB79
analogous
#79C1E0 #798EE0 #9779E0
triadic
#798EE0 #E0798E #8EE079
tetradic
#798EE0 #E079C1 #E0CB79 #79E097
square
#798EE0 #E079C1 #E0CB79 #79E097
split-complementary
#798EE0 #E09779 #C1E079
monochromatic
#2A46B5 #4764D5 #798EE0 #ABB8EB #DCE2F7

Accessibility & contrast

On white

3.11
#798EE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#798EE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EE0
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EE0#FFFFFF#000000##000000
##798EE01.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7097E3
Deuteranopia (green-blind)
#668EDE
Tritanopia (blue-blind)
#539FAC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798ee0;
/* rgb */ color: rgb(121, 142, 224);
/* oklch */ color: oklch(66.5% 0.124 271.8);
Tailwind
colors: {
  custom: {
    50: '#a4aeea',
    500: '#798ee0',
    950: '#000000',
  },
}
SCSS
$custom: #798ee0;
$custom-light: #a4aeea;
$custom-dark: #000000;
JSON
{
  "hex": "#798ee0",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 224
  },
  "hsl": {
    "h": 227.767,
    "s": 62.424,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66538,
    "c": 0.12436,
    "h": 271.8
  },
  "luminance": 0.28793
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798EE0

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

Preview Lab → · Contrast checker → · Palette generator →

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