#797DF0#797DF0

#797DF0 is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.1% C 0.169 H 279.0°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#797DF0
RGBrgb(121, 125, 240)
HSLhsl(238, 80%, 71%)
HSVhsv(238, 50%, 94%)
CMYKcmyk(49.6%, 47.9%, 0%, 5.9%)
CIE-LABlab(57.10, 28.89, -58.57)
CIE-LCHlch(57.10, 65.31, 296.25°)
OKLaboklab(64.14% 0.0264 -0.1667)
OKLCHoklch(64.14% 0.169 279)
XYZxyz(30.9421, 25.0217, 85.6204)
Luminance0.2502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797DF0 #F0EC79
analogous
#79B8F0 #797DF0 #B079F0
triadic
#797DF0 #F0797D #7DF079
tetradic
#797DF0 #F079B8 #F0EC79 #79F0B0
square
#797DF0 #F079B8 #F0EC79 #79F0B0
split-complementary
#797DF0 #F0B079 #B8F079
monochromatic
#181ED7 #4248EA #797DF0 #B0B2F6 #E3E4FC

Accessibility & contrast

On white

3.50
#797DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#797DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797DF0
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797DF0#FFFFFF#000000##000000
##797DF01.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#498EF4
Deuteranopia (green-blind)
#3E85ED
Tritanopia (blue-blind)
#4A96AB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #797df0;
/* rgb */ color: rgb(121, 125, 240);
/* oklch */ color: oklch(64.1% 0.169 279.0);
Tailwind
colors: {
  custom: {
    50: '#a7a2f5',
    500: '#797df0',
    950: '#000000',
  },
}
SCSS
$custom: #797df0;
$custom-light: #a7a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#797df0",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 240
  },
  "hsl": {
    "h": 237.983,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64141,
    "c": 0.16879,
    "h": 279
  },
  "luminance": 0.25023
}

Semantic roles & 50–950 ramp

primary
#797DF0
secondary
#F2F1D2
accent
#D509DC
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #797DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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