#798DE2#798DE2

#798DE2 is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.4% C 0.128 H 272.5°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#798DE2
RGBrgb(121, 141, 226)
HSLhsl(229, 64%, 68%)
HSVhsv(229, 46%, 89%)
CMYKcmyk(46.5%, 37.6%, 0%, 11.4%)
CIE-LABlab(60.43, 15.22, -45.49)
CIE-LCHlch(60.43, 47.97, 288.50°)
OKLaboklab(66.44% 0.0055 -0.1283)
OKLCHoklch(66.44% 0.128 272.5)
XYZxyz(31.1332, 28.6039, 75.8174)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DE2 #E2CE79
analogous
#79C2E2 #798DE2 #9979E2
triadic
#798DE2 #E2798D #8DE279
tetradic
#798DE2 #E279C2 #E2CE79 #79E299
square
#798DE2 #E279C2 #E2CE79 #79E299
split-complementary
#798DE2 #E29979 #C2E279
monochromatic
#2844B9 #4762D7 #798DE2 #ABB8ED #DEE3F8

Accessibility & contrast

On white

3.12
#798DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#798DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DE2
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DE2#FFFFFF#000000##000000
##798DE21.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D96E5
Deuteranopia (green-blind)
#638EE0
Tritanopia (blue-blind)
#529FAD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798de2;
/* rgb */ color: rgb(121, 141, 226);
/* oklch */ color: oklch(66.4% 0.128 272.5);
Tailwind
colors: {
  custom: {
    50: '#a5aeeb',
    500: '#798de2',
    950: '#000000',
  },
}
SCSS
$custom: #798de2;
$custom-light: #a5aeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#798de2",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 226
  },
  "hsl": {
    "h": 228.571,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66441,
    "c": 0.12843,
    "h": 272.5
  },
  "luminance": 0.28606
}

Semantic roles & 50–950 ramp

primary
#798DE2
secondary
#EBE5CB
accent
#AA19CC
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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