#797AE5#797AE5

#797AE5 is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.9% C 0.158 H 280.5°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#797AE5
RGBrgb(121, 122, 229)
HSLhsl(239, 68%, 69%)
HSVhsv(239, 47%, 90%)
CMYKcmyk(47.2%, 46.7%, 0%, 10.2%)
CIE-LABlab(55.73, 27.38, -54.64)
CIE-LCHlch(55.73, 61.11, 296.62°)
OKLaboklab(62.9% 0.0286 -0.1552)
OKLCHoklch(62.9% 0.158 280.5)
XYZxyz(28.9833, 23.6397, 77.1493)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797AE5 #E5E479
analogous
#79B0E5 #797AE5 #AE79E5
triadic
#797AE5 #E5797A #7AE579
tetradic
#797AE5 #E579B0 #E5E479 #79E5AE
square
#797AE5 #E579B0 #E5E479 #79E5AE
split-complementary
#797AE5 #E5AE79 #B0E579
monochromatic
#2526BF #4647DB #797AE5 #ACADEF #E0E0F9

Accessibility & contrast

On white

3.67
#797AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#797AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797AE5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797AE5#FFFFFF#000000##000000
##797AE51.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8AE9
Deuteranopia (green-blind)
#4582E3
Tritanopia (blue-blind)
#5291A4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #797ae5;
/* rgb */ color: rgb(121, 122, 229);
/* oklch */ color: oklch(62.9% 0.158 280.5);
Tailwind
colors: {
  custom: {
    50: '#a6a0ee',
    500: '#797ae5',
    950: '#000000',
  },
}
SCSS
$custom: #797ae5;
$custom-light: #a6a0ee;
$custom-dark: #000000;
JSON
{
  "hex": "#797ae5",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 229
  },
  "hsl": {
    "h": 239.444,
    "s": 67.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62902,
    "c": 0.15779,
    "h": 280.5
  },
  "luminance": 0.23641
}

Semantic roles & 50–950 ramp

primary
#797AE5
secondary
#EDEDCD
accent
#CE16CF
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #797AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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