#798EE4#798EE4

#798EE4 is a light, vivid blue. Relative luminance 0.290; OKLCH L 66.8% C 0.130 H 272.1°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#798EE4
RGBrgb(121, 142, 228)
HSLhsl(228, 66%, 68%)
HSVhsv(228, 47%, 89%)
CMYKcmyk(46.9%, 37.7%, 0%, 10.6%)
CIE-LABlab(60.79, 15.23, -46.03)
CIE-LCHlch(60.79, 48.49, 288.30°)
OKLaboklab(66.75% 0.0047 -0.1299)
OKLCHoklch(66.75% 0.13 272.1)
XYZxyz(31.5573, 29.0105, 77.3205)
Luminance0.2901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EE4 #E4CF79
analogous
#79C3E4 #798EE4 #9979E4
triadic
#798EE4 #E4798E #8EE479
tetradic
#798EE4 #E479C3 #E4CF79 #79E499
square
#798EE4 #E479C3 #E4CF79 #79E499
split-complementary
#798EE4 #E49979 #C3E479
monochromatic
#2644BD #4663DA #798EE4 #ACB9EE #DFE4F9

Accessibility & contrast

On white

3.09
#798EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#798EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EE4
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EE4#FFFFFF#000000##000000
##798EE41.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E97E7
Deuteranopia (green-blind)
#648EE2
Tritanopia (blue-blind)
#50A0AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798ee4;
/* rgb */ color: rgb(121, 142, 228);
/* oklch */ color: oklch(66.8% 0.130 272.1);
Tailwind
colors: {
  custom: {
    50: '#a5aeed',
    500: '#798ee4',
    950: '#000000',
  },
}
SCSS
$custom: #798ee4;
$custom-light: #a5aeed;
$custom-dark: #000000;
JSON
{
  "hex": "#798ee4",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 228
  },
  "hsl": {
    "h": 228.224,
    "s": 66.46,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66751,
    "c": 0.12998,
    "h": 272.1
  },
  "luminance": 0.29012
}

Semantic roles & 50–950 ramp

primary
#798EE4
secondary
#ECE6CC
accent
#AA17CE
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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