#797FDE#797FDE

#797FDE is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.4% C 0.141 H 278.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#797FDE
RGBrgb(121, 127, 222)
HSLhsl(236, 60%, 67%)
HSVhsv(236, 45%, 87%)
CMYKcmyk(45.5%, 42.8%, 0%, 12.9%)
CIE-LABlab(56.60, 22.33, -49.32)
CIE-LCHlch(56.60, 54.14, 294.36°)
OKLaboklab(63.44% 0.0217 -0.1396)
OKLCHoklch(63.44% 0.141 278.8)
XYZxyz(28.6554, 24.5162, 72.3153)
Luminance0.2452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797FDE #DED879
analogous
#79B1DE #797FDE #A679DE
triadic
#797FDE #DE797F #7FDE79
tetradic
#797FDE #DE79B1 #DED879 #79DEA6
square
#797FDE #DE79B1 #DED879 #79DEA6
split-complementary
#797FDE #DEA679 #B1DE79
monochromatic
#2C34B1 #4850D2 #797FDE #AAAEEA #DBDDF6

Accessibility & contrast

On white

3.56
#797FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#797FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797FDE
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797FDE#FFFFFF#000000##000000
##797FDE1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8CE2
Deuteranopia (green-blind)
#5384DC
Tritanopia (blue-blind)
#5693A4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #797fde;
/* rgb */ color: rgb(121, 127, 222);
/* oklch */ color: oklch(63.4% 0.141 278.8);
Tailwind
colors: {
  custom: {
    50: '#a5a4e9',
    500: '#797fde',
    950: '#000000',
  },
}
SCSS
$custom: #797fde;
$custom-light: #a5a4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#797fde",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 222
  },
  "hsl": {
    "h": 236.436,
    "s": 60.479,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63442,
    "c": 0.14124,
    "h": 278.8
  },
  "luminance": 0.24518
}

Semantic roles & 50–950 ramp

primary
#797FDE
secondary
#E9E7C9
accent
#BE1DC8
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #797FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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