#797EEE#797EEE

#797EEE is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.2% C 0.165 H 278.8°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#797EEE
RGBrgb(121, 126, 238)
HSLhsl(237, 77%, 70%)
HSVhsv(237, 49%, 93%)
CMYKcmyk(49.2%, 47.1%, 0%, 6.7%)
CIE-LABlab(57.23, 27.69, -57.25)
CIE-LCHlch(57.23, 63.60, 295.81°)
OKLaboklab(64.2% 0.0251 -0.1628)
OKLCHoklch(64.2% 0.165 278.8)
XYZxyz(30.7739, 25.1580, 84.1068)
Luminance0.2516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797EEE #EEE979
analogous
#79B8EE #797EEE #AE79EE
triadic
#797EEE #EE797E #7EEE79
tetradic
#797EEE #EE79B8 #EEE979 #79EEAE
square
#797EEE #EE79B8 #EEE979 #79EEAE
split-complementary
#797EEE #EEAE79 #B8EE79
monochromatic
#1B22D2 #434AE7 #797EEE #AFB2F5 #E4E5FC

Accessibility & contrast

On white

3.48
#797EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#797EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797EEE
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797EEE#FFFFFF#000000##000000
##797EEE1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8EF2
Deuteranopia (green-blind)
#4285EC
Tritanopia (blue-blind)
#4B96AB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #797eee;
/* rgb */ color: rgb(121, 126, 238);
/* oklch */ color: oklch(64.2% 0.165 278.8);
Tailwind
colors: {
  custom: {
    50: '#a6a3f4',
    500: '#797eee',
    950: '#000000',
  },
}
SCSS
$custom: #797eee;
$custom-light: #a6a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#797eee",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 237.436,
    "s": 77.483,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64204,
    "c": 0.16474,
    "h": 278.8
  },
  "luminance": 0.2516
}

Semantic roles & 50–950 ramp

primary
#797EEE
secondary
#F1F0D1
accent
#D10CDA
background
#FAFAFF
surface
#F4F3FE
border
#CECDD6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #797EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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