#797AE0#797AE0

#797AE0 is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.6% C 0.151 H 280.7°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#797AE0
RGBrgb(121, 122, 224)
HSLhsl(239, 62%, 68%)
HSVhsv(239, 46%, 88%)
CMYKcmyk(46%, 45.5%, 0%, 12.2%)
CIE-LABlab(55.45, 25.90, -52.28)
CIE-LCHlch(55.45, 58.35, 296.36°)
OKLaboklab(62.6% 0.028 -0.1483)
OKLCHoklch(62.6% 0.151 280.7)
XYZxyz(28.2952, 23.3644, 73.5254)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797AE0 #E0DF79
analogous
#79AEE0 #797AE0 #AB79E0
triadic
#797AE0 #E0797A #7AE079
tetradic
#797AE0 #E079AE #E0DF79 #79E0AB
square
#797AE0 #E079AE #E0DF79 #79E0AB
split-complementary
#797AE0 #E0AB79 #AEE079
monochromatic
#2A2BB5 #4749D5 #797AE0 #ABABEB #DCDDF7

Accessibility & contrast

On white

3.70
#797AE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#797AE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797AE0
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797AE0#FFFFFF#000000##000000
##797AE01.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5189E4
Deuteranopia (green-blind)
#4A81DE
Tritanopia (blue-blind)
#558FA2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #797ae0;
/* rgb */ color: rgb(121, 122, 224);
/* oklch */ color: oklch(62.6% 0.151 280.7);
Tailwind
colors: {
  custom: {
    50: '#a5a0ea',
    500: '#797ae0',
    950: '#000000',
  },
}
SCSS
$custom: #797ae0;
$custom-light: #a5a0ea;
$custom-dark: #000000;
JSON
{
  "hex": "#797ae0",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 224
  },
  "hsl": {
    "h": 239.417,
    "s": 62.424,
    "l": 67.647
  },
  "oklch": {
    "l": 0.626,
    "c": 0.15089,
    "h": 280.7
  },
  "luminance": 0.23366
}

Semantic roles & 50–950 ramp

primary
#797AE0
secondary
#EAEACA
accent
#C81BCA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #797AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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