#798EEE#798EEE

#798EEE is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.3% C 0.144 H 272.7°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#798EEE
RGBrgb(121, 142, 238)
HSLhsl(229, 77%, 70%)
HSVhsv(229, 49%, 93%)
CMYKcmyk(49.2%, 40.3%, 0%, 6.7%)
CIE-LABlab(61.29, 18.22, -50.78)
CIE-LCHlch(61.29, 53.95, 289.74°)
OKLaboklab(67.3% 0.0067 -0.1437)
OKLCHoklch(67.3% 0.144 272.7)
XYZxyz(32.9859, 29.5820, 84.8441)
Luminance0.2958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EEE #EED979
analogous
#79C8EE #798EEE #9F79EE
triadic
#798EEE #EE798E #8EEE79
tetradic
#798EEE #EE79C8 #EED979 #79EE9F
square
#798EEE #EE79C8 #EED979 #79EE9F
split-complementary
#798EEE #EE9F79 #C8EE79
monochromatic
#1B3CD2 #4360E7 #798EEE #AFBCF5 #E4E8FC

Accessibility & contrast

On white

3.04
#798EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#798EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EEE
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EEE#FFFFFF#000000##000000
##798EEE1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F2
Deuteranopia (green-blind)
#5C8FEC
Tritanopia (blue-blind)
#49A2B2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798eee;
/* rgb */ color: rgb(121, 142, 238);
/* oklch */ color: oklch(67.3% 0.144 272.7);
Tailwind
colors: {
  custom: {
    50: '#a6aef4',
    500: '#798eee',
    950: '#000000',
  },
}
SCSS
$custom: #798eee;
$custom-light: #a6aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#798eee",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 238
  },
  "hsl": {
    "h": 229.231,
    "s": 77.483,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67299,
    "c": 0.14391,
    "h": 272.7
  },
  "luminance": 0.29584
}

Semantic roles & 50–950 ramp

primary
#798EEE
secondary
#F1ECD1
accent
#B50CDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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