#798FED#798FED

#798FED is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.4% C 0.141 H 272.2°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#798FED
RGBrgb(121, 143, 237)
HSLhsl(229, 76%, 70%)
HSVhsv(229, 49%, 93%)
CMYKcmyk(48.9%, 39.7%, 0%, 7.1%)
CIE-LABlab(61.50, 17.33, -49.90)
CIE-LCHlch(61.50, 52.82, 289.15°)
OKLaboklab(67.44% 0.0054 -0.1412)
OKLCHoklch(67.44% 0.141 272.2)
XYZxyz(32.9888, 29.8223, 84.1223)
Luminance0.2982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FED #EDD779
analogous
#79C9ED #798FED #9D79ED
triadic
#798FED #ED798F #8FED79
tetradic
#798FED #ED79C9 #EDD779 #79ED9D
square
#798FED #ED79C9 #EDD779 #79ED9D
split-complementary
#798FED #ED9D79 #C9ED79
monochromatic
#1C3ED0 #4362E6 #798FED #AFBCF4 #E4E8FB

Accessibility & contrast

On white

3.02
#798FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#798FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FED
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FED#FFFFFF#000000##000000
##798FED1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF1
Deuteranopia (green-blind)
#5F90EB
Tritanopia (blue-blind)
#4AA3B3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798fed;
/* rgb */ color: rgb(121, 143, 237);
/* oklch */ color: oklch(67.4% 0.141 272.2);
Tailwind
colors: {
  custom: {
    50: '#a6aff3',
    500: '#798fed',
    950: '#000000',
  },
}
SCSS
$custom: #798fed;
$custom-light: #a6aff3;
$custom-dark: #000000;
JSON
{
  "hex": "#798fed",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 237
  },
  "hsl": {
    "h": 228.621,
    "s": 76.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67443,
    "c": 0.14126,
    "h": 272.2
  },
  "luminance": 0.29824
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798FED

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

Preview Lab → · Contrast checker → · Palette generator →

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