#797BDF#797BDF

#797BDF is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.7% C 0.148 H 280.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#797BDF
RGBrgb(121, 123, 223)
HSLhsl(239, 61%, 67%)
HSVhsv(239, 46%, 87%)
CMYKcmyk(45.7%, 44.8%, 0%, 12.5%)
CIE-LABlab(55.64, 25.01, -51.41)
CIE-LCHlch(55.64, 57.17, 295.94°)
OKLaboklab(62.73% 0.0267 -0.1457)
OKLCHoklch(62.73% 0.148 280.4)
XYZxyz(28.2834, 23.5572, 72.8544)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797BDF #DFDD79
analogous
#79AEDF #797BDF #AA79DF
triadic
#797BDF #DF797B #7BDF79
tetradic
#797BDF #DF79AE #DFDD79 #79DFAA
square
#797BDF #DF79AE #DFDD79 #79DFAA
split-complementary
#797BDF #DFAA79 #AEDF79
monochromatic
#2B2DB3 #484AD3 #797BDF #AAACEB #DCDCF7

Accessibility & contrast

On white

3.68
#797BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#797BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797BDF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797BDF#FFFFFF#000000##000000
##797BDF1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5389E3
Deuteranopia (green-blind)
#4C82DD
Tritanopia (blue-blind)
#5690A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #797bdf;
/* rgb */ color: rgb(121, 123, 223);
/* oklch */ color: oklch(62.7% 0.148 280.4);
Tailwind
colors: {
  custom: {
    50: '#a5a1e9',
    500: '#797bdf',
    950: '#000000',
  },
}
SCSS
$custom: #797bdf;
$custom-light: #a5a1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#797bdf",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 223
  },
  "hsl": {
    "h": 238.824,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6273,
    "c": 0.14812,
    "h": 280.4
  },
  "luminance": 0.23559
}

Semantic roles & 50–950 ramp

primary
#797BDF
secondary
#EAE9CA
accent
#C61CC9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #797BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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