#798DED#798DED

#798DED is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.0% C 0.144 H 273.1°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#798DED
RGBrgb(121, 141, 237)
HSLhsl(230, 76%, 70%)
HSVhsv(230, 49%, 93%)
CMYKcmyk(48.9%, 40.5%, 0%, 7.1%)
CIE-LABlab(60.98, 18.51, -50.72)
CIE-LCHlch(60.98, 53.99, 290.04°)
OKLaboklab(67.05% 0.0077 -0.1436)
OKLCHoklch(67.05% 0.144 273.1)
XYZxyz(32.6912, 29.2271, 84.0231)
Luminance0.2923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DED #EDD979
analogous
#79C7ED #798DED #9F79ED
triadic
#798DED #ED798D #8DED79
tetradic
#798DED #ED79C7 #EDD979 #79ED9F
square
#798DED #ED79C7 #EDD979 #79ED9F
split-complementary
#798DED #ED9F79 #C7ED79
monochromatic
#1C3BD0 #435FE6 #798DED #AFBBF4 #E4E8FB

Accessibility & contrast

On white

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

On black

6.85
#798DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DED
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DED#FFFFFF#000000##000000
##798DED1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F1
Deuteranopia (green-blind)
#5C8FEB
Tritanopia (blue-blind)
#4AA1B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798ded;
/* rgb */ color: rgb(121, 141, 237);
/* oklch */ color: oklch(67.0% 0.144 273.1);
Tailwind
colors: {
  custom: {
    50: '#a6aef3',
    500: '#798ded',
    950: '#000000',
  },
}
SCSS
$custom: #798ded;
$custom-light: #a6aef3;
$custom-dark: #000000;
JSON
{
  "hex": "#798ded",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 237
  },
  "hsl": {
    "h": 229.655,
    "s": 76.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67045,
    "c": 0.14379,
    "h": 273.1
  },
  "luminance": 0.29229
}

Semantic roles & 50–950 ramp

primary
#798DED
secondary
#F1EBD1
accent
#B50DD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798DED

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

Preview Lab → · Contrast checker → · Palette generator →

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