#798EDD#798EDD

#798EDD is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.4% C 0.120 H 271.5°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#798EDD
RGBrgb(121, 142, 221)
HSLhsl(227, 60%, 67%)
HSVhsv(227, 45%, 87%)
CMYKcmyk(45.2%, 35.7%, 0%, 13.3%)
CIE-LABlab(60.45, 13.17, -42.67)
CIE-LCHlch(60.45, 44.66, 287.15°)
OKLaboklab(66.38% 0.0032 -0.1201)
OKLCHoklch(66.38% 0.12 271.5)
XYZxyz(30.6052, 28.6297, 72.3060)
Luminance0.2863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EDD #DDC879
analogous
#79C0DD #798EDD #9679DD
triadic
#798EDD #DD798E #8EDD79
tetradic
#798EDD #DD79C0 #DDC879 #79DD96
square
#798EDD #DD79C0 #DDC879 #79DD96
split-complementary
#798EDD #DD9679 #C0DD79
monochromatic
#2C48AF #4865D1 #798EDD #AAB7E9 #DBE0F6

Accessibility & contrast

On white

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

On black

6.73
#798EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EDD
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EDD#FFFFFF#000000##000000
##798EDD1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7196E0
Deuteranopia (green-blind)
#688EDB
Tritanopia (blue-blind)
#559EAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798edd;
/* rgb */ color: rgb(121, 142, 221);
/* oklch */ color: oklch(66.4% 0.120 271.5);
Tailwind
colors: {
  custom: {
    50: '#a4aee8',
    500: '#798edd',
    950: '#000000',
  },
}
SCSS
$custom: #798edd;
$custom-light: #a4aee8;
$custom-dark: #000000;
JSON
{
  "hex": "#798edd",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 221
  },
  "hsl": {
    "h": 227.4,
    "s": 59.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6638,
    "c": 0.12014,
    "h": 271.5
  },
  "luminance": 0.28631
}

Semantic roles & 50–950 ramp

primary
#798EDD
secondary
#E9E2C9
accent
#A41EC7
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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