#798EE3#798EE3

#798EE3 is a light, vivid blue. Relative luminance 0.290; OKLCH L 66.7% C 0.129 H 272.0°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#798EE3
RGBrgb(121, 142, 227)
HSLhsl(228, 65%, 68%)
HSVhsv(228, 47%, 89%)
CMYKcmyk(46.7%, 37.4%, 0%, 11%)
CIE-LABlab(60.74, 14.93, -45.56)
CIE-LCHlch(60.74, 47.94, 288.15°)
OKLaboklab(66.7% 0.0045 -0.1285)
OKLCHoklch(66.7% 0.129 272)
XYZxyz(31.4189, 28.9552, 76.5915)
Luminance0.2896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EE3 #E3CE79
analogous
#79C3E3 #798EE3 #9979E3
triadic
#798EE3 #E3798E #8EE379
tetradic
#798EE3 #E379C3 #E3CE79 #79E399
square
#798EE3 #E379C3 #E3CE79 #79E399
split-complementary
#798EE3 #E39979 #C3E379
monochromatic
#2744BB #4663D8 #798EE3 #ACB9EE #DEE3F8

Accessibility & contrast

On white

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

On black

6.79
#798EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EE3
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EE3#FFFFFF#000000##000000
##798EE31.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E97E6
Deuteranopia (green-blind)
#648EE1
Tritanopia (blue-blind)
#51A0AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798ee3;
/* rgb */ color: rgb(121, 142, 227);
/* oklch */ color: oklch(66.7% 0.129 272.0);
Tailwind
colors: {
  custom: {
    50: '#a5aeec',
    500: '#798ee3',
    950: '#000000',
  },
}
SCSS
$custom: #798ee3;
$custom-light: #a5aeec;
$custom-dark: #000000;
JSON
{
  "hex": "#798ee3",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 227
  },
  "hsl": {
    "h": 228.113,
    "s": 65.432,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66697,
    "c": 0.12857,
    "h": 272
  },
  "luminance": 0.28957
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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