#798CE9#798CE9

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

Color values

HEX#798CE9
RGBrgb(121, 140, 233)
HSLhsl(230, 72%, 69%)
HSVhsv(230, 48%, 91%)
CMYKcmyk(48.1%, 39.9%, 0%, 8.6%)
CIE-LABlab(60.52, 17.90, -49.24)
CIE-LCHlch(60.52, 52.39, 289.97°)
OKLaboklab(66.62% 0.0081 -0.1393)
OKLCHoklch(66.62% 0.14 273.3)
XYZxyz(31.9666, 28.7024, 80.9307)
Luminance0.2870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CE9 #E9D679
analogous
#79C4E9 #798CE9 #9E79E9
triadic
#798CE9 #E9798C #8CE979
tetradic
#798CE9 #E979C4 #E9D679 #79E99E
square
#798CE9 #E979C4 #E9D679 #79E99E
split-complementary
#798CE9 #E99E79 #C4E979
monochromatic
#213DC7 #445FE0 #798CE9 #AEB9F2 #E2E6FA

Accessibility & contrast

On white

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

On black

6.74
#798CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CE9
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CE9#FFFFFF#000000##000000
##798CE91.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6897ED
Deuteranopia (green-blind)
#5D8EE7
Tritanopia (blue-blind)
#4DA0AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798ce9;
/* rgb */ color: rgb(121, 140, 233);
/* oklch */ color: oklch(66.6% 0.140 273.3);
Tailwind
colors: {
  custom: {
    50: '#a5adf0',
    500: '#798ce9',
    950: '#000000',
  },
}
SCSS
$custom: #798ce9;
$custom-light: #a5adf0;
$custom-dark: #000000;
JSON
{
  "hex": "#798ce9",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 233
  },
  "hsl": {
    "h": 229.821,
    "s": 71.795,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66623,
    "c": 0.1395,
    "h": 273.3
  },
  "luminance": 0.28704
}

Semantic roles & 50–950 ramp

primary
#798CE9
secondary
#EFEACF
accent
#B312D4
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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