#797DE2#797DE2

#797DE2 is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.3% C 0.150 H 279.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#797DE2
RGBrgb(121, 125, 226)
HSLhsl(238, 64%, 68%)
HSVhsv(238, 46%, 89%)
CMYKcmyk(46.5%, 44.7%, 0%, 11.4%)
CIE-LABlab(56.31, 24.71, -52.03)
CIE-LCHlch(56.31, 57.60, 295.40°)
OKLaboklab(63.29% 0.0247 -0.1475)
OKLCHoklch(63.29% 0.15 279.5)
XYZxyz(28.9421, 24.2217, 75.0870)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797DE2 #E2DE79
analogous
#79B1E2 #797DE2 #A979E2
triadic
#797DE2 #E2797D #7DE279
tetradic
#797DE2 #E279B1 #E2DE79 #79E2A9
square
#797DE2 #E279B1 #E2DE79 #79E2A9
split-complementary
#797DE2 #E2A979 #B1E279
monochromatic
#282DB9 #474CD7 #797DE2 #ABAEED #DEDFF8

Accessibility & contrast

On white

3.59
#797DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#797DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797DE2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797DE2#FFFFFF#000000##000000
##797DE21.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#548BE6
Deuteranopia (green-blind)
#4D83E0
Tritanopia (blue-blind)
#5492A5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #797de2;
/* rgb */ color: rgb(121, 125, 226);
/* oklch */ color: oklch(63.3% 0.150 279.5);
Tailwind
colors: {
  custom: {
    50: '#a5a2eb',
    500: '#797de2',
    950: '#000000',
  },
}
SCSS
$custom: #797de2;
$custom-light: #a5a2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#797de2",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 237.714,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6329,
    "c": 0.14955,
    "h": 279.5
  },
  "luminance": 0.24223
}

Semantic roles & 50–950 ramp

primary
#797DE2
secondary
#EBEACB
accent
#C519CC
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #797DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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