#797EDD#797EDD

#797EDD is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.2% C 0.141 H 279.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#797EDD
RGBrgb(121, 126, 221)
HSLhsl(237, 60%, 67%)
HSVhsv(237, 45%, 87%)
CMYKcmyk(45.2%, 43%, 0%, 13.3%)
CIE-LABlab(56.29, 22.63, -49.25)
CIE-LCHlch(56.29, 54.20, 294.68°)
OKLaboklab(63.19% 0.0227 -0.1394)
OKLCHoklch(63.19% 0.141 279.3)
XYZxyz(28.3932, 24.2057, 71.5687)
Luminance0.2421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797EDD #DDD879
analogous
#79B0DD #797EDD #A679DD
triadic
#797EDD #DD797E #7EDD79
tetradic
#797EDD #DD79B0 #DDD879 #79DDA6
square
#797EDD #DD79B0 #DDD879 #79DDA6
split-complementary
#797EDD #DDA679 #B0DD79
monochromatic
#2C33AF #484FD1 #797EDD #AAADE9 #DBDCF6

Accessibility & contrast

On white

3.60
#797EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#797EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797EDD
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797EDD#FFFFFF#000000##000000
##797EDD1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#598BE1
Deuteranopia (green-blind)
#5283DB
Tritanopia (blue-blind)
#5792A3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #797edd;
/* rgb */ color: rgb(121, 126, 221);
/* oklch */ color: oklch(63.2% 0.141 279.3);
Tailwind
colors: {
  custom: {
    50: '#a5a3e8',
    500: '#797edd',
    950: '#000000',
  },
}
SCSS
$custom: #797edd;
$custom-light: #a5a3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#797edd",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 221
  },
  "hsl": {
    "h": 237,
    "s": 59.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6319,
    "c": 0.14121,
    "h": 279.3
  },
  "luminance": 0.24207
}

Semantic roles & 50–950 ramp

primary
#797EDD
secondary
#E9E7C9
accent
#BF1EC7
background
#FAFAFE
surface
#F4F3FC
border
#CECDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #797EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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