#797EED#797EED

#797EED is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.1% C 0.163 H 278.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#797EED
RGBrgb(121, 126, 237)
HSLhsl(237, 76%, 70%)
HSVhsv(237, 49%, 93%)
CMYKcmyk(48.9%, 46.8%, 0%, 7.1%)
CIE-LABlab(57.17, 27.39, -56.79)
CIE-LCHlch(57.17, 63.05, 295.75°)
OKLaboklab(64.14% 0.025 -0.1614)
OKLCHoklch(64.14% 0.163 278.8)
XYZxyz(30.6274, 25.0994, 83.3352)
Luminance0.2510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797EED #EDE879
analogous
#79B8ED #797EED #AE79ED
triadic
#797EED #ED797E #7EED79
tetradic
#797EED #ED79B8 #EDE879 #79EDAE
square
#797EED #ED79B8 #EDE879 #79EDAE
split-complementary
#797EED #EDAE79 #B8ED79
monochromatic
#1C24D0 #434AE6 #797EED #AFB2F4 #E4E5FB

Accessibility & contrast

On white

3.49
#797EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#797EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797EED
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797EED#FFFFFF#000000##000000
##797EED1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8EF1
Deuteranopia (green-blind)
#4385EB
Tritanopia (blue-blind)
#4C96AA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #797eed;
/* rgb */ color: rgb(121, 126, 237);
/* oklch */ color: oklch(64.1% 0.163 278.8);
Tailwind
colors: {
  custom: {
    50: '#a6a3f3',
    500: '#797eed',
    950: '#000000',
  },
}
SCSS
$custom: #797eed;
$custom-light: #a6a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#797eed",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 237
  },
  "hsl": {
    "h": 237.414,
    "s": 76.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64143,
    "c": 0.16337,
    "h": 278.8
  },
  "luminance": 0.25101
}

Semantic roles & 50–950 ramp

primary
#797EED
secondary
#F1F0D1
accent
#D00DD9
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #797EED

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

Preview Lab → · Contrast checker → · Palette generator →

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