#797BFA#797BFA

#797BFA is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.4% C 0.185 H 279.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#797BFA
RGBrgb(121, 123, 250)
HSLhsl(239, 93%, 73%)
HSVhsv(239, 52%, 98%)
CMYKcmyk(51.6%, 50.8%, 0%, 2%)
CIE-LABlab(57.20, 33.09, -63.94)
CIE-LCHlch(57.20, 72.00, 297.37°)
OKLaboklab(64.41% 0.0295 -0.1825)
OKLCHoklch(64.41% 0.185 279.2)
XYZxyz(32.2181, 25.1311, 93.5770)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797BFA #FAF879
analogous
#79BBFA #797BFA #B879FA
triadic
#797BFA #FA797B #7BFA79
tetradic
#797BFA #FA79BB #FAF879 #79FAB8
square
#797BFA #FA79BB #FAF879 #79FAB8
split-complementary
#797BFA #FAB879 #BBFA79
monochromatic
#090DF0 #3E41F8 #797BFA #B4B5FC #E2E2FE

Accessibility & contrast

On white

3.48
#797BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#797BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797BFA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797BFA#FFFFFF#000000##000000
##797BFA1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8EFE
Deuteranopia (green-blind)
#2A84F7
Tritanopia (blue-blind)
#4297AF
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #797bfa;
/* rgb */ color: rgb(121, 123, 250);
/* oklch */ color: oklch(64.4% 0.185 279.2);
Tailwind
colors: {
  custom: {
    50: '#a8a1fd',
    500: '#797bfa',
    950: '#000000',
  },
}
SCSS
$custom: #797bfa;
$custom-light: #a8a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#797bfa",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 239.07,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.64412,
    "c": 0.18487,
    "h": 279.2
  },
  "luminance": 0.25133
}

Semantic roles & 50–950 ramp

primary
#797BFA
secondary
#F6F6D5
accent
#E200E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100F18
muted
#7F7E86

Preview Lab

Preview with #797BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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