#798DE0#798DE0

#798DE0 is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.3% C 0.126 H 272.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#798DE0
RGBrgb(121, 141, 224)
HSLhsl(228, 62%, 68%)
HSVhsv(228, 46%, 88%)
CMYKcmyk(46%, 37.1%, 0%, 12.2%)
CIE-LABlab(60.33, 14.63, -44.53)
CIE-LCHlch(60.33, 46.88, 288.19°)
OKLaboklab(66.33% 0.0051 -0.1255)
OKLCHoklch(66.33% 0.126 272.3)
XYZxyz(30.8604, 28.4948, 74.3805)
Luminance0.2850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DE0 #E0CC79
analogous
#79C0E0 #798DE0 #9979E0
triadic
#798DE0 #E0798D #8DE079
tetradic
#798DE0 #E079C0 #E0CC79 #79E099
square
#798DE0 #E079C0 #E0CC79 #79E099
split-complementary
#798DE0 #E09979 #C0E079
monochromatic
#2A45B5 #4763D5 #798DE0 #ABB7EB #DCE2F7

Accessibility & contrast

On white

3.13
#798DE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#798DE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DE0
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DE0#FFFFFF#000000##000000
##798DE01.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E96E3
Deuteranopia (green-blind)
#658DDE
Tritanopia (blue-blind)
#539EAC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #798de0;
/* rgb */ color: rgb(121, 141, 224);
/* oklch */ color: oklch(66.3% 0.126 272.3);
Tailwind
colors: {
  custom: {
    50: '#a4aeea',
    500: '#798de0',
    950: '#000000',
  },
}
SCSS
$custom: #798de0;
$custom-light: #a4aeea;
$custom-dark: #000000;
JSON
{
  "hex": "#798de0",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 224
  },
  "hsl": {
    "h": 228.35,
    "s": 62.424,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66335,
    "c": 0.12562,
    "h": 272.3
  },
  "luminance": 0.28497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798DE0

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

Preview Lab → · Contrast checker → · Palette generator →

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