#798CED#798CED

#798CED is a light, vivid blue. Relative luminance 0.289; OKLCH L 66.8% C 0.145 H 273.5°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#798CED
RGBrgb(121, 140, 237)
HSLhsl(230, 76%, 70%)
HSVhsv(230, 49%, 93%)
CMYKcmyk(48.9%, 40.9%, 0%, 7.1%)
CIE-LABlab(60.72, 19.09, -51.13)
CIE-LCHlch(60.72, 54.58, 290.48°)
OKLaboklab(66.85% 0.0089 -0.1448)
OKLCHoklch(66.85% 0.145 273.5)
XYZxyz(32.5445, 28.9336, 83.9742)
Luminance0.2894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CED #EDDA79
analogous
#79C6ED #798CED #A079ED
triadic
#798CED #ED798C #8CED79
tetradic
#798CED #ED79C6 #EDDA79 #79EDA0
square
#798CED #ED79C6 #EDDA79 #79EDA0
split-complementary
#798CED #EDA079 #C6ED79
monochromatic
#1C39D0 #435EE6 #798CED #AFBAF4 #E4E8FB

Accessibility & contrast

On white

3.09
#798CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#798CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CED
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CED#FFFFFF#000000##000000
##798CED1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F1
Deuteranopia (green-blind)
#5A8EEB
Tritanopia (blue-blind)
#4AA1B1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798ced;
/* rgb */ color: rgb(121, 140, 237);
/* oklch */ color: oklch(66.8% 0.145 273.5);
Tailwind
colors: {
  custom: {
    50: '#a6adf3',
    500: '#798ced',
    950: '#000000',
  },
}
SCSS
$custom: #798ced;
$custom-light: #a6adf3;
$custom-dark: #000000;
JSON
{
  "hex": "#798ced",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 230.172,
    "s": 76.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66847,
    "c": 0.14505,
    "h": 273.5
  },
  "luminance": 0.28936
}

Semantic roles & 50–950 ramp

primary
#798CED
secondary
#F1ECD1
accent
#B70DD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798CED

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

Preview Lab → · Contrast checker → · Palette generator →

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