#797FE0#797FE0

#797FE0 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.6% C 0.144 H 278.8°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#797FE0
RGBrgb(121, 127, 224)
HSLhsl(237, 62%, 68%)
HSVhsv(237, 46%, 88%)
CMYKcmyk(46%, 43.3%, 0%, 12.2%)
CIE-LABlab(56.71, 22.92, -50.27)
CIE-LCHlch(56.71, 55.25, 294.51°)
OKLaboklab(63.56% 0.022 -0.1424)
OKLCHoklch(63.56% 0.144 278.8)
XYZxyz(28.9250, 24.6240, 73.7354)
Luminance0.2463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797FE0 #E0DA79
analogous
#79B2E0 #797FE0 #A779E0
triadic
#797FE0 #E0797F #7FE079
tetradic
#797FE0 #E079B2 #E0DA79 #79E0A7
square
#797FE0 #E079B2 #E0DA79 #79E0A7
split-complementary
#797FE0 #E0A779 #B2E079
monochromatic
#2A32B5 #4750D5 #797FE0 #ABAEEB #DCDEF7

Accessibility & contrast

On white

3.54
#797FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#797FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797FE0
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797FE0#FFFFFF#000000##000000
##797FE01.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#598CE4
Deuteranopia (green-blind)
#5184DE
Tritanopia (blue-blind)
#5593A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #797fe0;
/* rgb */ color: rgb(121, 127, 224);
/* oklch */ color: oklch(63.6% 0.144 278.8);
Tailwind
colors: {
  custom: {
    50: '#a5a4ea',
    500: '#797fe0',
    950: '#000000',
  },
}
SCSS
$custom: #797fe0;
$custom-light: #a5a4ea;
$custom-dark: #000000;
JSON
{
  "hex": "#797fe0",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 224
  },
  "hsl": {
    "h": 236.505,
    "s": 62.424,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63558,
    "c": 0.14405,
    "h": 278.8
  },
  "luminance": 0.24626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #797FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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