#797CED#797CED

#797CED is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.8% C 0.166 H 279.4°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#797CED
RGBrgb(121, 124, 237)
HSLhsl(238, 76%, 70%)
HSVhsv(238, 49%, 93%)
CMYKcmyk(48.9%, 47.7%, 0%, 7.1%)
CIE-LABlab(56.68, 28.58, -57.58)
CIE-LCHlch(56.68, 64.28, 296.40°)
OKLaboklab(63.77% 0.0272 -0.1638)
OKLCHoklch(63.77% 0.166 279.4)
XYZxyz(30.3742, 24.5930, 83.2508)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797CED #EDEA79
analogous
#79B6ED #797CED #B079ED
triadic
#797CED #ED797C #7CED79
tetradic
#797CED #ED79B6 #EDEA79 #79EDB0
square
#797CED #ED79B6 #EDEA79 #79EDB0
split-complementary
#797CED #EDB079 #B6ED79
monochromatic
#1C21D0 #4347E6 #797CED #AFB1F4 #E4E5FB

Accessibility & contrast

On white

3.55
#797CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#797CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797CED
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797CED#FFFFFF#000000##000000
##797CED1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8DF1
Deuteranopia (green-blind)
#4084EB
Tritanopia (blue-blind)
#4C94A9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #797ced;
/* rgb */ color: rgb(121, 124, 237);
/* oklch */ color: oklch(63.8% 0.166 279.4);
Tailwind
colors: {
  custom: {
    50: '#a6a1f3',
    500: '#797ced',
    950: '#000000',
  },
}
SCSS
$custom: #797ced;
$custom-light: #a6a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#797ced",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 238.448,
    "s": 76.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63768,
    "c": 0.16604,
    "h": 279.4
  },
  "luminance": 0.24595
}

Semantic roles & 50–950 ramp

primary
#797CED
secondary
#F1F0D1
accent
#D30DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #797CED

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

Preview Lab → · Contrast checker → · Palette generator →

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