#797FFC#797FFC

#797FFC is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.3% C 0.182 H 278.0°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#797FFC
RGBrgb(121, 127, 252)
HSLhsl(237, 96%, 73%)
HSVhsv(237, 52%, 99%)
CMYKcmyk(52%, 49.6%, 0%, 1.2%)
CIE-LABlab(58.29, 31.34, -63.29)
CIE-LCHlch(58.29, 70.63, 296.34°)
OKLaboklab(65.27% 0.0254 -0.1806)
OKLCHoklch(65.27% 0.182 278)
XYZxyz(33.0397, 26.2699, 95.4062)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797FFC #FCF679
analogous
#79C0FC #797FFC #B479FC
triadic
#797FFC #FC797F #7FFC79
tetradic
#797FFC #FC79C0 #FCF679 #79FCB4
square
#797FFC #FC79C0 #FCF679 #79FCB4
split-complementary
#797FFC #FCB479 #C0FC79
monochromatic
#0510F5 #3D46FB #797FFC #B5B8FD #E1E2FE

Accessibility & contrast

On white

3.36
#797FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#797FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797FFC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797FFC#FFFFFF#000000##000000
##797FFC1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4192FF
Deuteranopia (green-blind)
#3187F9
Tritanopia (blue-blind)
#3F9BB2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #797ffc;
/* rgb */ color: rgb(121, 127, 252);
/* oklch */ color: oklch(65.3% 0.182 278.0);
Tailwind
colors: {
  custom: {
    50: '#a8a4fe',
    500: '#797ffc',
    950: '#000000',
  },
}
SCSS
$custom: #797ffc;
$custom-light: #a8a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#797ffc",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 237.252,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.6527,
    "c": 0.18233,
    "h": 278
  },
  "luminance": 0.26272
}

Semantic roles & 50–950 ramp

primary
#797FFC
secondary
#F7F5D4
accent
#DB00E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #797FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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