#797CEE#797CEE

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

Color values

HEX#797CEE
RGBrgb(121, 124, 238)
HSLhsl(238, 77%, 70%)
HSVhsv(238, 49%, 93%)
CMYKcmyk(49.2%, 47.9%, 0%, 6.7%)
CIE-LABlab(56.73, 28.88, -58.04)
CIE-LCHlch(56.73, 64.83, 296.45°)
OKLaboklab(63.83% 0.0273 -0.1652)
OKLCHoklch(63.83% 0.167 279.4)
XYZxyz(30.5207, 24.6516, 84.0224)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797CEE #EEEB79
analogous
#79B6EE #797CEE #B179EE
triadic
#797CEE #EE797C #7CEE79
tetradic
#797CEE #EE79B6 #EEEB79 #79EEB1
square
#797CEE #EE79B6 #EEEB79 #79EEB1
split-complementary
#797CEE #EEB179 #B6EE79
monochromatic
#1B1FD2 #4347E7 #797CEE #AFB1F5 #E4E4FC

Accessibility & contrast

On white

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

On black

5.93
#797CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797CEE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797CEE#FFFFFF#000000##000000
##797CEE1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#498DF2
Deuteranopia (green-blind)
#3E84EC
Tritanopia (blue-blind)
#4C95AA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #797cee;
/* rgb */ color: rgb(121, 124, 238);
/* oklch */ color: oklch(63.8% 0.167 279.4);
Tailwind
colors: {
  custom: {
    50: '#a7a1f4',
    500: '#797cee',
    950: '#000000',
  },
}
SCSS
$custom: #797cee;
$custom-light: #a7a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#797cee",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 238
  },
  "hsl": {
    "h": 238.462,
    "s": 77.483,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6383,
    "c": 0.16741,
    "h": 279.4
  },
  "luminance": 0.24653
}

Semantic roles & 50–950 ramp

primary
#797CEE
secondary
#F1F1D1
accent
#D40CDA
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #797CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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