#797BEE#797BEE

#797BEE is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.6% C 0.169 H 279.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#797BEE
RGBrgb(121, 123, 238)
HSLhsl(239, 77%, 70%)
HSVhsv(239, 49%, 93%)
CMYKcmyk(49.2%, 48.3%, 0%, 6.7%)
CIE-LABlab(56.49, 29.47, -58.44)
CIE-LCHlch(56.49, 65.45, 296.77°)
OKLaboklab(63.65% 0.0285 -0.1663)
OKLCHoklch(63.65% 0.169 279.7)
XYZxyz(30.3960, 24.4022, 83.9808)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797BEE #EEEC79
analogous
#79B6EE #797BEE #B179EE
triadic
#797BEE #EE797B #7BEE79
tetradic
#797BEE #EE79B6 #EEEC79 #79EEB1
square
#797BEE #EE79B6 #EEEC79 #79EEB1
split-complementary
#797BEE #EEB179 #B6EE79
monochromatic
#1B1ED2 #4346E7 #797BEE #AFB0F5 #E4E4FC

Accessibility & contrast

On white

3.57
#797BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#797BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797BEE
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797BEE#FFFFFF#000000##000000
##797BEE1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#478CF2
Deuteranopia (green-blind)
#3C83EB
Tritanopia (blue-blind)
#4C94A9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #797bee;
/* rgb */ color: rgb(121, 123, 238);
/* oklch */ color: oklch(63.6% 0.169 279.7);
Tailwind
colors: {
  custom: {
    50: '#a7a1f4',
    500: '#797bee',
    950: '#000000',
  },
}
SCSS
$custom: #797bee;
$custom-light: #a7a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#797bee",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 238.974,
    "s": 77.483,
    "l": 70.392
  },
  "oklch": {
    "l": 0.63645,
    "c": 0.16874,
    "h": 279.7
  },
  "luminance": 0.24404
}

Semantic roles & 50–950 ramp

primary
#797BEE
secondary
#F1F1D1
accent
#D60CDA
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #797BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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