#797EDE#797EDE

#797EDE is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.2% C 0.143 H 279.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#797EDE
RGBrgb(121, 126, 222)
HSLhsl(237, 60%, 67%)
HSVhsv(237, 45%, 87%)
CMYKcmyk(45.5%, 43.2%, 0%, 12.9%)
CIE-LABlab(56.35, 22.93, -49.73)
CIE-LCHlch(56.35, 54.76, 294.75°)
OKLaboklab(63.25% 0.0229 -0.1408)
OKLCHoklch(63.25% 0.143 279.2)
XYZxyz(28.5268, 24.2592, 72.2724)
Luminance0.2426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797EDE #DED979
analogous
#79B0DE #797EDE #A779DE
triadic
#797EDE #DE797E #7EDE79
tetradic
#797EDE #DE79B0 #DED979 #79DEA7
square
#797EDE #DE79B0 #DED979 #79DEA7
split-complementary
#797EDE #DEA779 #B0DE79
monochromatic
#2C32B1 #484FD2 #797EDE #AAADEA #DBDDF6

Accessibility & contrast

On white

3.59
#797EDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#797EDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797EDE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797EDE#FFFFFF#000000##000000
##797EDE1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#598BE2
Deuteranopia (green-blind)
#5183DC
Tritanopia (blue-blind)
#5692A3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #797ede;
/* rgb */ color: rgb(121, 126, 222);
/* oklch */ color: oklch(63.2% 0.143 279.2);
Tailwind
colors: {
  custom: {
    50: '#a5a3e9',
    500: '#797ede',
    950: '#000000',
  },
}
SCSS
$custom: #797ede;
$custom-light: #a5a3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#797ede",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 222
  },
  "hsl": {
    "h": 237.03,
    "s": 60.479,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63248,
    "c": 0.14261,
    "h": 279.2
  },
  "luminance": 0.24261
}

Semantic roles & 50–950 ramp

primary
#797EDE
secondary
#E9E8C9
accent
#C01DC8
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #797EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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