#798EDE#798EDE

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

Color values

HEX#798EDE
RGBrgb(121, 142, 222)
HSLhsl(228, 60%, 67%)
HSVhsv(228, 45%, 87%)
CMYKcmyk(45.5%, 36%, 0%, 12.9%)
CIE-LABlab(60.50, 13.46, -43.16)
CIE-LCHlch(60.50, 45.20, 287.32°)
OKLaboklab(66.43% 0.0034 -0.1215)
OKLCHoklch(66.43% 0.122 271.6)
XYZxyz(30.7388, 28.6832, 73.0098)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EDE #DEC979
analogous
#79C0DE #798EDE #9779DE
triadic
#798EDE #DE798E #8EDE79
tetradic
#798EDE #DE79C0 #DEC979 #79DE97
square
#798EDE #DE79C0 #DEC979 #79DE97
split-complementary
#798EDE #DE9779 #C0DE79
monochromatic
#2C47B1 #4865D2 #798EDE #AAB7EA #DBE1F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798EDE#FFFFFF#000000##000000
##798EDE1.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)
#7196E1
Deuteranopia (green-blind)
#678EDC
Tritanopia (blue-blind)
#549FAC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798ede;
/* rgb */ color: rgb(121, 142, 222);
/* oklch */ color: oklch(66.4% 0.122 271.6);
Tailwind
colors: {
  custom: {
    50: '#a4aee8',
    500: '#798ede',
    950: '#000000',
  },
}
SCSS
$custom: #798ede;
$custom-light: #a4aee8;
$custom-dark: #000000;
JSON
{
  "hex": "#798ede",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 222
  },
  "hsl": {
    "h": 227.525,
    "s": 60.479,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66433,
    "c": 0.12155,
    "h": 271.6
  },
  "luminance": 0.28685
}

Semantic roles & 50–950 ramp

primary
#798EDE
secondary
#E9E3C9
accent
#A51DC8
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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