#798CE8#798CE8

#798CE8 is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.6% C 0.138 H 273.3°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#798CE8
RGBrgb(121, 140, 232)
HSLhsl(230, 71%, 69%)
HSVhsv(230, 48%, 91%)
CMYKcmyk(47.8%, 39.7%, 0%, 9%)
CIE-LABlab(60.47, 17.60, -48.77)
CIE-LCHlch(60.47, 51.84, 289.84°)
OKLaboklab(66.57% 0.0079 -0.1379)
OKLCHoklch(66.57% 0.138 273.3)
XYZxyz(31.8241, 28.6454, 80.1805)
Luminance0.2865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CE8 #E8D579
analogous
#79C4E8 #798CE8 #9E79E8
triadic
#798CE8 #E8798C #8CE879
tetradic
#798CE8 #E879C4 #E8D579 #79E89E
square
#798CE8 #E879C4 #E8D579 #79E89E
split-complementary
#798CE8 #E89E79 #C4E879
monochromatic
#223EC5 #455FDF #798CE8 #ADB9F1 #E1E6FA

Accessibility & contrast

On white

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

On black

6.73
#798CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CE8
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CE8#FFFFFF#000000##000000
##798CE81.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6897EC
Deuteranopia (green-blind)
#5E8DE6
Tritanopia (blue-blind)
#4E9FAF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798ce8;
/* rgb */ color: rgb(121, 140, 232);
/* oklch */ color: oklch(66.6% 0.138 273.3);
Tailwind
colors: {
  custom: {
    50: '#a5adf0',
    500: '#798ce8',
    950: '#000000',
  },
}
SCSS
$custom: #798ce8;
$custom-light: #a5adf0;
$custom-dark: #000000;
JSON
{
  "hex": "#798ce8",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 232
  },
  "hsl": {
    "h": 229.73,
    "s": 70.701,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66567,
    "c": 0.1381,
    "h": 273.3
  },
  "luminance": 0.28647
}

Semantic roles & 50–950 ramp

primary
#798CE8
secondary
#EFE9CE
accent
#B213D3
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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