#798EED#798EED

#798EED is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.2% C 0.143 H 272.6°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#798EED
RGBrgb(121, 142, 237)
HSLhsl(229, 76%, 70%)
HSVhsv(229, 49%, 93%)
CMYKcmyk(48.9%, 40.1%, 0%, 7.1%)
CIE-LABlab(61.24, 17.92, -50.31)
CIE-LCHlch(61.24, 53.40, 289.60°)
OKLaboklab(67.24% 0.0065 -0.1424)
OKLCHoklch(67.24% 0.143 272.6)
XYZxyz(32.8394, 29.5234, 84.0725)
Luminance0.2953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EED #EDD879
analogous
#79C8ED #798EED #9E79ED
triadic
#798EED #ED798E #8EED79
tetradic
#798EED #ED79C8 #EDD879 #79ED9E
square
#798EED #ED79C8 #EDD879 #79ED9E
split-complementary
#798EED #ED9E79 #C8ED79
monochromatic
#1C3CD0 #4361E6 #798EED #AFBBF4 #E4E8FB

Accessibility & contrast

On white

3.04
#798EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#798EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EED
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EED#FFFFFF#000000##000000
##798EED1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F1
Deuteranopia (green-blind)
#5D8FEB
Tritanopia (blue-blind)
#4AA2B2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798eed;
/* rgb */ color: rgb(121, 142, 237);
/* oklch */ color: oklch(67.2% 0.143 272.6);
Tailwind
colors: {
  custom: {
    50: '#a6aef3',
    500: '#798eed',
    950: '#000000',
  },
}
SCSS
$custom: #798eed;
$custom-light: #a6aef3;
$custom-dark: #000000;
JSON
{
  "hex": "#798eed",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 237
  },
  "hsl": {
    "h": 229.138,
    "s": 76.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67244,
    "c": 0.14252,
    "h": 272.6
  },
  "luminance": 0.29525
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798EED

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

Preview Lab → · Contrast checker → · Palette generator →

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