#797EE6#797EE6

#797EE6 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.7% C 0.154 H 279.0°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#797EE6
RGBrgb(121, 126, 230)
HSLhsl(237, 69%, 69%)
HSVhsv(237, 47%, 90%)
CMYKcmyk(47.4%, 45.2%, 0%, 9.8%)
CIE-LABlab(56.78, 25.30, -53.51)
CIE-LCHlch(56.78, 59.19, 295.30°)
OKLaboklab(63.72% 0.0241 -0.1519)
OKLCHoklch(63.72% 0.154 279)
XYZxyz(29.6246, 24.6982, 78.0538)
Luminance0.2470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797EE6 #E6E179
analogous
#79B5E6 #797EE6 #AB79E6
triadic
#797EE6 #E6797E #7EE679
tetradic
#797EE6 #E679B5 #E6E179 #79E6AB
square
#797EE6 #E679B5 #E6E179 #79E6AB
split-complementary
#797EE6 #E6AB79 #B5E679
monochromatic
#242BC1 #454CDC #797EE6 #ADB0F0 #E0E1F9

Accessibility & contrast

On white

3.54
#797EE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#797EE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797EE6
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797EE6#FFFFFF#000000##000000
##797EE61.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#538DEA
Deuteranopia (green-blind)
#4A84E4
Tritanopia (blue-blind)
#5194A7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #797ee6;
/* rgb */ color: rgb(121, 126, 230);
/* oklch */ color: oklch(63.7% 0.154 279.0);
Tailwind
colors: {
  custom: {
    50: '#a6a3ee',
    500: '#797ee6',
    950: '#000000',
  },
}
SCSS
$custom: #797ee6;
$custom-light: #a6a3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#797ee6",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 230
  },
  "hsl": {
    "h": 237.248,
    "s": 68.553,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63719,
    "c": 0.15374,
    "h": 279
  },
  "luminance": 0.247
}

Semantic roles & 50–950 ramp

primary
#797EE6
secondary
#EEECCD
accent
#C815D0
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #797EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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