#798EE7#798EE7

#798EE7 is a light, vivid blue. Relative luminance 0.292; OKLCH L 66.9% C 0.134 H 272.3°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#798EE7
RGBrgb(121, 142, 231)
HSLhsl(229, 70%, 69%)
HSVhsv(229, 48%, 91%)
CMYKcmyk(47.6%, 38.5%, 0%, 9.4%)
CIE-LABlab(60.94, 16.12, -47.47)
CIE-LCHlch(60.94, 50.13, 288.76°)
OKLaboklab(66.91% 0.0054 -0.1341)
OKLCHoklch(66.91% 0.134 272.3)
XYZxyz(31.9774, 29.1786, 79.5328)
Luminance0.2918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EE7 #E7D279
analogous
#79C5E7 #798EE7 #9B79E7
triadic
#798EE7 #E7798E #8EE779
tetradic
#798EE7 #E779C5 #E7D279 #79E79B
square
#798EE7 #E779C5 #E7D279 #79E79B
split-complementary
#798EE7 #E79B79 #C5E779
monochromatic
#2341C3 #4562DE #798EE7 #ADBAF0 #E1E6FA

Accessibility & contrast

On white

3.07
#798EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#798EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EE7
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EE7#FFFFFF#000000##000000
##798EE71.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C98EB
Deuteranopia (green-blind)
#628FE5
Tritanopia (blue-blind)
#4EA1AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798ee7;
/* rgb */ color: rgb(121, 142, 231);
/* oklch */ color: oklch(66.9% 0.134 272.3);
Tailwind
colors: {
  custom: {
    50: '#a5aeef',
    500: '#798ee7',
    950: '#000000',
  },
}
SCSS
$custom: #798ee7;
$custom-light: #a5aeef;
$custom-dark: #000000;
JSON
{
  "hex": "#798ee7",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 231
  },
  "hsl": {
    "h": 228.545,
    "s": 69.62,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66913,
    "c": 0.13417,
    "h": 272.3
  },
  "luminance": 0.2918
}

Semantic roles & 50–950 ramp

primary
#798EE7
secondary
#EEE8CE
accent
#AD14D2
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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