#797ADE#797ADE

#797ADE is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.5% C 0.148 H 280.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#797ADE
RGBrgb(121, 122, 222)
HSLhsl(239, 60%, 67%)
HSVhsv(239, 45%, 87%)
CMYKcmyk(45.5%, 45%, 0%, 12.9%)
CIE-LABlab(55.34, 25.31, -51.33)
CIE-LCHlch(55.34, 57.24, 296.25°)
OKLaboklab(62.48% 0.0277 -0.1455)
OKLCHoklch(62.48% 0.148 280.8)
XYZxyz(28.0256, 23.2566, 72.1053)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797ADE #DEDD79
analogous
#79ADDE #797ADE #AB79DE
triadic
#797ADE #DE797A #7ADE79
tetradic
#797ADE #DE79AD #DEDD79 #79DEAB
square
#797ADE #DE79AD #DEDD79 #79DEAB
split-complementary
#797ADE #DEAB79 #ADDE79
monochromatic
#2C2DB1 #4849D2 #797ADE #AAABEA #DBDBF6

Accessibility & contrast

On white

3.72
#797ADE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#797ADE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797ADE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797ADE#FFFFFF#000000##000000
##797ADE1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5288E2
Deuteranopia (green-blind)
#4B81DC
Tritanopia (blue-blind)
#578FA1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #797ade;
/* rgb */ color: rgb(121, 122, 222);
/* oklch */ color: oklch(62.5% 0.148 280.8);
Tailwind
colors: {
  custom: {
    50: '#a5a0e9',
    500: '#797ade',
    950: '#000000',
  },
}
SCSS
$custom: #797ade;
$custom-light: #a5a0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#797ade",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 222
  },
  "hsl": {
    "h": 239.406,
    "s": 60.479,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6248,
    "c": 0.14811,
    "h": 280.8
  },
  "luminance": 0.23258
}

Semantic roles & 50–950 ramp

primary
#797ADE
secondary
#E9E9C9
accent
#C61DC8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #797ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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