#797EE0#797EE0

#797EE0 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.4% C 0.145 H 279.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#797EE0
RGBrgb(121, 126, 224)
HSLhsl(237, 62%, 68%)
HSVhsv(237, 46%, 88%)
CMYKcmyk(46%, 43.7%, 0%, 12.2%)
CIE-LABlab(56.45, 23.52, -50.68)
CIE-LCHlch(56.45, 55.87, 294.90°)
OKLaboklab(63.36% 0.0232 -0.1435)
OKLCHoklch(63.36% 0.145 279.2)
XYZxyz(28.7965, 24.3670, 73.6925)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797EE0 #E0DB79
analogous
#79B2E0 #797EE0 #A779E0
triadic
#797EE0 #E0797E #7EE079
tetradic
#797EE0 #E079B2 #E0DB79 #79E0A7
square
#797EE0 #E079B2 #E0DB79 #79E0A7
split-complementary
#797EE0 #E0A779 #B2E079
monochromatic
#2A31B5 #474ED5 #797EE0 #ABAEEB #DCDEF7

Accessibility & contrast

On white

3.58
#797EE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#797EE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797EE0
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797EE0#FFFFFF#000000##000000
##797EE01.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#578BE4
Deuteranopia (green-blind)
#5084DE
Tritanopia (blue-blind)
#5592A4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #797ee0;
/* rgb */ color: rgb(121, 126, 224);
/* oklch */ color: oklch(63.4% 0.145 279.2);
Tailwind
colors: {
  custom: {
    50: '#a5a3ea',
    500: '#797ee0',
    950: '#000000',
  },
}
SCSS
$custom: #797ee0;
$custom-light: #a5a3ea;
$custom-dark: #000000;
JSON
{
  "hex": "#797ee0",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 224
  },
  "hsl": {
    "h": 237.087,
    "s": 62.424,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63364,
    "c": 0.1454,
    "h": 279.2
  },
  "luminance": 0.24368
}

Semantic roles & 50–950 ramp

primary
#797EE0
secondary
#EAE9CA
accent
#C21BCA
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #797EE0

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

Preview Lab → · Contrast checker → · Palette generator →

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